[Rspamd] Block spoofing for free mail domains (#3907)
parent
483ea1a4c8
commit
fec6876490
|
@ -6,6 +6,11 @@ VIRUS_FOUND {
|
||||||
expression = "CLAM_VIRUS & !MAILCOW_WHITE";
|
expression = "CLAM_VIRUS & !MAILCOW_WHITE";
|
||||||
score = 2000.0;
|
score = 2000.0;
|
||||||
}
|
}
|
||||||
|
# Bad policy from free mail providers
|
||||||
|
FREEMAIL_POLICY_FAILURE {
|
||||||
|
expression = " -g+:policies & !DMARC_POLICY_ALLOW & ( FREEMAIL_ENVFROM | FREEMAIL_FROM ) & !WHITELISTED_FWD_HOST";
|
||||||
|
score = 16.0;
|
||||||
|
}
|
||||||
# Bad policy from non-whitelisted senders
|
# Bad policy from non-whitelisted senders
|
||||||
# Remove SOGO_CONTACT symbol for fwd hosts and senders with broken policy
|
# Remove SOGO_CONTACT symbol for fwd hosts and senders with broken policy
|
||||||
SOGO_CONTACT_EXCLUDE {
|
SOGO_CONTACT_EXCLUDE {
|
||||||
|
|
Loading…
Reference in New Issue