summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-29 16:37:45 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-29 16:37:45 +0100
commit6c2080f59b8adba6709edf6268ebfde568e31010 (patch)
treec1a234a828b50b02eb8e500ef5c82a0f3d3afe81 /conf
parent506e7cd0ab1a351e499920109f82f2510782ad6e (diff)
downloadrspamd-6c2080f59b8adba6709edf6268ebfde568e31010.tar.gz
rspamd-6c2080f59b8adba6709edf6268ebfde568e31010.zip
[Conf] Add IP_SCORE_FREEMAIL composite rule
Diffstat (limited to 'conf')
-rw-r--r--conf/composites.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/conf/composites.conf b/conf/composites.conf
index 948ed9642..b0c8d68f6 100644
--- a/conf/composites.conf
+++ b/conf/composites.conf
@@ -143,6 +143,13 @@ composites {
score = 0.0; # To negate LEAKED_PASSWORD_SCAM
}
+ IP_SCORE_FREEMAIL {
+ description = "Negate IP_SCORE when message comes from FreeMail";
+ expression = "FREEMAIL_FROM & IP_SCORE";
+ score = 0.0;
+ policy = "remove_weight";
+ }
+
.include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/composites.conf"
.include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/composites.conf"
}