[Rspamd] Do not apply SOGO_CONTACT for SPF fails and when sending from whitelisted host
This commit is contained in:
parent
e43c696204
commit
3a39937baf
@ -1,5 +1,5 @@
|
|||||||
MX_IMPLICIT {
|
MX_IMPLICIT {
|
||||||
expression = "MX_GOOD and MX_MISSING";
|
expression = "MX_GOOD & MX_MISSING";
|
||||||
score = -0.01;
|
score = -0.01;
|
||||||
}
|
}
|
||||||
VIRUS_FOUND {
|
VIRUS_FOUND {
|
||||||
@ -10,3 +10,9 @@ SPF_FAIL_NO_DKIM {
|
|||||||
expression = "R_SPF_FAIL & R_DKIM_NA & !MAILCOW_WHITE";
|
expression = "R_SPF_FAIL & R_DKIM_NA & !MAILCOW_WHITE";
|
||||||
score = 10;
|
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";
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user