]> source.dussan.org Git - rspamd.git/commitdiff
[Conf] Add BROKEN_HEADERS_MAILLIST composite
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 17 Jul 2019 15:21:07 +0000 (16:21 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 17 Jul 2019 15:21:07 +0000 (16:21 +0100)
conf/composites.conf

index 0f156101756cf3d422f4fde1a1414a3f926d2507..77332b27fbc2df7ae42ce357f24451ab2db7d97a 100644 (file)
@@ -142,6 +142,13 @@ composites {
     score = 0.0;
     policy = "remove_weight";
   }
+  BROKEN_HEADERS_MAILLIST {
+    description = "Negate BROKEN_HEADERS when message comes via some mailing list";
+    expression = "BROKEN_HEADERS & -MAILLIST";
+    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"