rspamd: Don't remove WHITELISTED_FWD_HOST if SOGO_CONTACT present (#3084)

This commit is contained in:
Michael Kuron 2019-11-11 08:20:46 +01:00 committed by André Peters
parent 852392fd15
commit fbc7b7dce5

View File

@ -11,7 +11,7 @@ SPF_FAIL_NO_DKIM {
score = 10; score = 10;
} }
SOGO_CONTACT_EXCLUDE_FWD_HOST { SOGO_CONTACT_EXCLUDE_FWD_HOST {
expression = "WHITELISTED_FWD_HOST & ~SOGO_CONTACT"; expression = "-WHITELISTED_FWD_HOST & ~SOGO_CONTACT";
} }
SOGO_CONTACT_SPOOFED { SOGO_CONTACT_SPOOFED {
expression = "(R_SPF_PERMFAIL | R_SPF_SOFTFAIL | R_SPF_FAIL) & ~SOGO_CONTACT"; expression = "(R_SPF_PERMFAIL | R_SPF_SOFTFAIL | R_SPF_FAIL) & ~SOGO_CONTACT";