mirror of https://github.com/M66B/FairEmail.git
Skip native DKIM for outgoing messages
This commit is contained in:
parent
23c2f9da53
commit
bfec5e4634
|
@ -3501,7 +3501,9 @@ class Core {
|
|||
if (MessageHelper.equalEmail(message.submitter, message.from))
|
||||
message.submitter = null;
|
||||
|
||||
if (native_dkim && !BuildConfig.PLAY_STORE_RELEASE) {
|
||||
if (native_dkim &&
|
||||
!EntityFolder.isOutgoing(folder.type) &&
|
||||
!BuildConfig.PLAY_STORE_RELEASE) {
|
||||
List<String> signers = helper.verifyDKIM(context);
|
||||
message.signedby = (signers.isEmpty() ? null : TextUtils.join(",", signers));
|
||||
message.dkim = !signers.isEmpty();
|
||||
|
@ -4653,7 +4655,9 @@ class Core {
|
|||
if (MessageHelper.equalEmail(message.submitter, message.from))
|
||||
message.submitter = null;
|
||||
|
||||
if (native_dkim && !BuildConfig.PLAY_STORE_RELEASE) {
|
||||
if (native_dkim &&
|
||||
!EntityFolder.isOutgoing(folder.type) &&
|
||||
!BuildConfig.PLAY_STORE_RELEASE) {
|
||||
List<String> signers = helper.verifyDKIM(context);
|
||||
message.signedby = (signers.isEmpty() ? null : TextUtils.join(",", signers));
|
||||
message.dkim = !signers.isEmpty();
|
||||
|
|
Loading…
Reference in New Issue