aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-22 11:22:01 +0100
committerGitHub <noreply@github.com>2018-05-22 11:22:01 +0100
commitb3eb98a984ec99e124510594f3366f4cfb2b3b68 (patch)
tree0ff4ccbb88ea1a7da8b84acf88bf81a538f25942
parent4653f1e9031133bcc9734a68b9e1c6a9a7cddd43 (diff)
parentd39673f6b203116ee5cbe8bfded7d79e1412100f (diff)
downloadrspamd-b3eb98a984ec99e124510594f3366f4cfb2b3b68.tar.gz
rspamd-b3eb98a984ec99e124510594f3366f4cfb2b3b68.zip
Merge pull request #2253 from heraklit256/rule-unauth-pbl
add rule for mails from dial-up ranges without SMTP authentication
-rw-r--r--conf/composites.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/composites.conf b/conf/composites.conf
index fb91d8dfd..a07b7020f 100644
--- a/conf/composites.conf
+++ b/conf/composites.conf
@@ -81,6 +81,12 @@ composites {
score = 3.0;
policy = "leave";
}
+ RCVD_UNAUTH_PBL {
+ expression = "RECEIVED_PBL & -RCVD_VIA_SMTP_AUTH";
+ description = "Relayed through ZEN PBL IP without sufficient authentication";
+ score = 2.0;
+ policy = "leave";
+ }
.include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/composites.conf"
.include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/composites.conf"