commit 92c0511: Protect against bounce spam
GitHub
noreply at github.com
Wed Oct 19 20:28:03 UTC 2022
Author: Frederik Bosch
Date: 2022-10-12 10:44:12 +0200
URL: https://github.com/rspamd/rspamd/commit/92c051189755705cff095e6cce7bc6a6e35a0353
Protect against bounce spam
---
conf/composites.conf | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
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)"
More information about the Commits
mailing list