aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-10-19 21:26:27 +0100
committerGitHub <noreply@github.com>2022-10-19 21:26:27 +0100
commitea719aa841a33a7473e50677fca1049ac9c8a055 (patch)
treefc9b205b6ab526e7876aceb7fcb711e31304e3cd /conf
parent80c316e78b7bf186f19753321d6cf70541d413bb (diff)
parent04912a0f5ba3b1f9bd9cae6690401762c23a5745 (diff)
downloadrspamd-ea719aa841a33a7473e50677fca1049ac9c8a055.tar.gz
rspamd-ea719aa841a33a7473e50677fca1049ac9c8a055.zip
Merge pull request #4308 from frederikbosch/patch-1
[Rules] Penalize 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 fc5b7922d..e2096b291 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 = "!(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)"