From: Vsevolod Stakhov Date: Mon, 29 Apr 2019 15:37:45 +0000 (+0100) Subject: [Conf] Add IP_SCORE_FREEMAIL composite rule X-Git-Tag: 1.9.3~52 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6c2080f59b8adba6709edf6268ebfde568e31010;p=rspamd.git [Conf] Add IP_SCORE_FREEMAIL composite rule --- 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" }