Skip to content

Commit

Permalink
Merge pull request #4308 from frederikbosch/patch-1
Browse files Browse the repository at this point in the history
[Rules] Penalize bounce spam
  • Loading branch information
vstakhov committed Oct 19, 2022
2 parents 80c316e + 04912a0 commit ea719aa
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion conf/composites.conf
Expand Up @@ -53,7 +53,17 @@ composites {
expression = "R_DKIM_NA & R_SPF_NA & DMARC_NA & ARC_NA";
score = 1.0;
policy = "remove_weight";
description = "Authenticating message via SPF/DKIM/DMARC/ARC not possible";
description = "Authenticating message via SPF/DKIM/DMARC/ARC not available";
}
AUTH_NA_OR_FAIL {
expression = "!(R_DKIM_NA & R_SPF_NA & DMARC_NA & ARC_NA) & (R_DKIM_NA | R_DKIM_TEMPFAIL | R_DKIM_PERMFAIL) & (R_SPF_NA | R_SPF_DNSFAIL) & DMARC_NA & (ARC_NA | ARC_DNSFAIL)";
score = 1.0;
policy = "remove_weight";
description = "No authenticating method SPF/DKIM/DMARC/ARC was successful";
}
BOUNCE_NO_AUTH {
expression = "(AUTH_NA | AUTH_NA_OR_FAIL) & (BOUNCE | SUBJ_BOUNCE_WORDS)";
score = 1.0;
}
DKIM_MIXED {
expression = "-R_DKIM_ALLOW & (R_DKIM_TEMPFAIL | R_DKIM_PERMFAIL | R_DKIM_REJECT)"
Expand Down

0 comments on commit ea719aa

Please sign in to comment.