]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Composite: Remove FORGED_RECIPIENTS if it's forwarding
authorAndrew Lewis <nerf@judo.za.org>
Mon, 22 Aug 2016 09:07:09 +0000 (11:07 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Mon, 22 Aug 2016 09:07:09 +0000 (11:07 +0200)
conf/composites.conf

index 6c18d762202fe7af6038812544a9e2ab76e6837f..5ed69df39b61409f7e18b58c818188d68ddfccd6 100644 (file)
@@ -26,6 +26,9 @@ composite "FORGED_SENDER_FORWARDING" {
 composite "SPF_FAIL_FORWARDING" {
     expression = "g:forwarding & (R_SPF_SOFTFAIL | R_SPF_FAIL)";
 }
+composite "FORGED_RECIPIENTS_FORWARDING" {
+    expression = "FORGED_RECIPIENTS & g:forwarding";
+}
 composite "FORGED_SENDER_VERP_SRS" {
     expression = "FORGED_SENDER & (ENVFROM_PRVS | ENVFROM_VERP)";
 }