commit 6c2080f: [Conf] Add IP_SCORE_FREEMAIL composite rule

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Apr 29 15:42:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-04-29 16:37:45 +0100
URL: https://github.com/rspamd/rspamd/commit/6c2080f59b8adba6709edf6268ebfde568e31010 (HEAD -> master)

[Conf] Add IP_SCORE_FREEMAIL composite rule

---
 conf/composites.conf | 7 +++++++
 1 file changed, 7 insertions(+)

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"
 }


More information about the Commits mailing list