[Rspamd] Revert previous commit; Do not punish DMARC alignment when p=none

master
andryyy 2020-11-19 09:44:04 +01:00
parent 399951509e
commit 586992618c
2 changed files with 2 additions and 3 deletions

View File

@ -12,9 +12,8 @@ SOGO_CONTACT_EXCLUDE {
expression = "(-WHITELISTED_FWD_HOST | -g+:policies) & ^SOGO_CONTACT & !DMARC_POLICY_ALLOW"; 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) # 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 { 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; score = 50.0;
} }
# Only apply to inbound unauthed and not whitelisted # Only apply to inbound unauthed and not whitelisted

View File

@ -18,6 +18,6 @@ symbols = {
weight = 8.0; weight = 8.0;
} }
"DMARC_POLICY_SOFTFAIL" { "DMARC_POLICY_SOFTFAIL" {
weight = 1.0; weight = 0.0;
} }
} }