[Rspamd] Revert previous commit; Do not punish DMARC alignment when p=none
parent
399951509e
commit
586992618c
|
@ -12,9 +12,8 @@ SOGO_CONTACT_EXCLUDE {
|
|||
expression = "(-WHITELISTED_FWD_HOST | -g+:policies) & ^SOGO_CONTACT & !DMARC_POLICY_ALLOW";
|
||||
}
|
||||
# Spoofed header from and broken policy (excluding sieve host, rspamd host, whitelisted senders, authenticated senders and forward hosts)
|
||||
# DMARC_POLICY_SOFTFAIL indicates a "none" policy, which we don't want to punish
|
||||
SPOOFED_UNAUTH {
|
||||
expression = "!MAILCOW_AUTH & !MAILCOW_WHITE & !RSPAMD_HOST & !SIEVE_HOST & MAILCOW_DOMAIN_HEADER_FROM & !WHITELISTED_FWD_HOST & -g+:policies & !DMARC_POLICY_SOFTFAIL";
|
||||
expression = "!MAILCOW_AUTH & !MAILCOW_WHITE & !RSPAMD_HOST & !SIEVE_HOST & MAILCOW_DOMAIN_HEADER_FROM & !WHITELISTED_FWD_HOST & -g+:policies";
|
||||
score = 50.0;
|
||||
}
|
||||
# Only apply to inbound unauthed and not whitelisted
|
||||
|
|
|
@ -18,6 +18,6 @@ symbols = {
|
|||
weight = 8.0;
|
||||
}
|
||||
"DMARC_POLICY_SOFTFAIL" {
|
||||
weight = 1.0;
|
||||
weight = 0.0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue