[Rspamd] Do not apply SOGO_CONTACT for SPF fails and when sending from whitelisted host

master
andryyy 2018-12-10 13:26:18 +01:00
parent e43c696204
commit 3a39937baf
1 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,5 @@
MX_IMPLICIT {
expression = "MX_GOOD and MX_MISSING";
expression = "MX_GOOD & MX_MISSING";
score = -0.01;
}
VIRUS_FOUND {
@ -10,3 +10,9 @@ SPF_FAIL_NO_DKIM {
expression = "R_SPF_FAIL & R_DKIM_NA & !MAILCOW_WHITE";
score = 10;
}
SOGO_CONTACT_EXCLUDE_FWD_HOST {
expression = "WHITELISTED_FWD_HOST & ~SOGO_CONTACT";
}
SOGO_CONTACT_SPOOFED {
expression = "(R_SPF_PERMFAIL | R_SPF_SOFTFAIL) & ~SOGO_CONTACT";
}