From a349629a5a9f02b53cbd579886554d5180d93eca Mon Sep 17 00:00:00 2001 From: andryyy Date: Wed, 29 Jul 2020 13:57:33 +0200 Subject: [PATCH] [Rspamd] Remove spoofed unauth symbol from mails from whitelisted fwd hosts --- data/conf/rspamd/local.d/composites.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/conf/rspamd/local.d/composites.conf b/data/conf/rspamd/local.d/composites.conf index 413cdea9..c1ecf8f3 100644 --- a/data/conf/rspamd/local.d/composites.conf +++ b/data/conf/rspamd/local.d/composites.conf @@ -18,7 +18,7 @@ SOGO_CONTACT_SPOOFED { } # SPF checks against envelope, so we do not exclude SPF valid mail SPOOFED_UNAUTH { - expression = "!MAILCOW_AUTH & !MAILCOW_WHITE & !RSPAMD_HOST & !SIEVE_HOST & MAILCOW_DOMAIN_HEADER_FROM"; + expression = "!MAILCOW_AUTH & !MAILCOW_WHITE & !RSPAMD_HOST & !SIEVE_HOST & MAILCOW_DOMAIN_HEADER_FROM & !WHITELISTED_FWD_HOST"; score = 5.0; } # Only apply to inbound unauthed and not whitelisted