mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-21 09:09:11 +08:00
Merge pull request #5971 from mailcow/dragoangel-patch-1
Do not add MAILCOW_WHITE on failed DMARC
This commit is contained in:
commit
03fccb28e9
@ -21,6 +21,10 @@ FREEMAIL_TO_UNDISC_RCPT {
|
|||||||
SOGO_CONTACT_EXCLUDE {
|
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";
|
||||||
}
|
}
|
||||||
|
# Remove MAILCOW_WHITE symbol for senders with broken policy recieved not from fwd hosts
|
||||||
|
MAILCOW_WHITE_EXCLUDE {
|
||||||
|
expression = "^MAILCOW_WHITE & (-DMARC_POLICY_REJECT | -DMARC_POLICY_QUARANTINE | -R_SPF_PERMFAIL) & !WHITELISTED_FWD_HOST";
|
||||||
|
}
|
||||||
# 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)
|
||||||
SPOOFED_UNAUTH {
|
SPOOFED_UNAUTH {
|
||||||
expression = "!MAILCOW_AUTH & !MAILCOW_WHITE & !RSPAMD_HOST & !SIEVE_HOST & MAILCOW_DOMAIN_HEADER_FROM & !WHITELISTED_FWD_HOST & -g+:policies";
|
expression = "!MAILCOW_AUTH & !MAILCOW_WHITE & !RSPAMD_HOST & !SIEVE_HOST & MAILCOW_DOMAIN_HEADER_FROM & !WHITELISTED_FWD_HOST & -g+:policies";
|
||||||
|
Loading…
Reference in New Issue
Block a user