]> source.dussan.org Git - rspamd.git/commitdiff
[Conf] Add IP_SCORE_FREEMAIL composite rule
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 29 Apr 2019 15:37:45 +0000 (16:37 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 29 Apr 2019 15:37:45 +0000 (16:37 +0100)
conf/composites.conf

index 948ed9642c16f40a138ff57cae75c2034180c0b5..b0c8d68f6202d3dc0fa20984fe3e9e2478271ae2 100644 (file)
@@ -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"
 }