aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorFrederik Bosch <f.bosch@genkgo.nl>2022-10-12 10:44:12 +0200
committerGitHub <noreply@github.com>2022-10-12 10:44:12 +0200
commit92c051189755705cff095e6cce7bc6a6e35a0353 (patch)
treebe6ce6bd995abef2f063c53262a5dd6c0d09815e /conf
parentb6f7ade3b6613750cfbe33bbd22a97dc75601ee8 (diff)
downloadrspamd-92c051189755705cff095e6cce7bc6a6e35a0353.tar.gz
rspamd-92c051189755705cff095e6cce7bc6a6e35a0353.zip
Protect against bounce spam
Diffstat (limited to 'conf')
-rw-r--r--conf/composites.conf12
1 files changed, 11 insertions, 1 deletions
diff --git a/conf/composites.conf b/conf/composites.conf
index cd03d5fdd..543d7c46a 100644
--- a/conf/composites.conf
+++ b/conf/composites.conf
@@ -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 = "!AUTH_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 = "Authenticating message via SPF/DKIM/DMARC/ARC not available or failed";
+ }
+ 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)"