]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] In *_FORWARDING composites remove only weights 2249/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Sun, 20 May 2018 15:53:49 +0000 (18:53 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Sun, 20 May 2018 15:53:49 +0000 (18:53 +0300)
conf/composites.conf

index 26496e3ff871d1294f1cad256b5450b365606d35..fb91d8dfdfeb7616dc72c141963aafd63f3ad01f 100644 (file)
@@ -24,6 +24,7 @@ composites {
     }
     FORGED_SENDER_FORWARDING {
         expression = "FORGED_SENDER & g:forwarding";
+        policy = "remove_weight";
     }
     SPF_FAIL_FORWARDING {
         expression = "g:forwarding & (R_SPF_SOFTFAIL | R_SPF_FAIL)";
@@ -35,6 +36,7 @@ composites {
     }
     FORGED_RECIPIENTS_FORWARDING {
         expression = "FORGED_RECIPIENTS & g:forwarding";
+        policy = "remove_weight";
     }
     FORGED_SENDER_VERP_SRS {
         expression = "FORGED_SENDER & (ENVFROM_PRVS | ENVFROM_VERP)";