Fixed BOGUS_ENCRYPTED_AND_TEXT spam filter rule

This commit is contained in:
mdecimus
2024-04-23 18:44:07 +02:00
parent 5885eaf3f8
commit 5838b61c80
3 changed files with 77 additions and 61 deletions

View File

@@ -1391,7 +1391,7 @@ foreverypart {
}
# Message contains both text and encrypted parts
if eval "has_text_part && (t.ENCRYPTED_SMIME || t.SIGNED_SMIME || t.ENCRYPTED_PGP || t.SIGNED_PGP)" {
if eval "has_text_part && (t.ENCRYPTED_SMIME || t.ENCRYPTED_PGP)" {
let "t.BOGUS_ENCRYPTED_AND_TEXT" "1";
}

View File

@@ -215,7 +215,7 @@ foreverypart {
}
# Message contains both text and encrypted parts
if eval "has_text_part && (t.ENCRYPTED_SMIME || t.SIGNED_SMIME || t.ENCRYPTED_PGP || t.SIGNED_PGP)" {
if eval "has_text_part && (t.ENCRYPTED_SMIME || t.ENCRYPTED_PGP)" {
let "t.BOGUS_ENCRYPTED_AND_TEXT" "1";
}