From fbc7b7dce5a2bae54fff36316a9eb19bcd9b9207 Mon Sep 17 00:00:00 2001 From: Michael Kuron Date: Mon, 11 Nov 2019 08:20:46 +0100 Subject: [PATCH] rspamd: Don't remove WHITELISTED_FWD_HOST if SOGO_CONTACT present (#3084) --- 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 263493be..a6706f70 100644 --- a/data/conf/rspamd/local.d/composites.conf +++ b/data/conf/rspamd/local.d/composites.conf @@ -11,7 +11,7 @@ SPF_FAIL_NO_DKIM { score = 10; } SOGO_CONTACT_EXCLUDE_FWD_HOST { - expression = "WHITELISTED_FWD_HOST & ~SOGO_CONTACT"; + expression = "-WHITELISTED_FWD_HOST & ~SOGO_CONTACT"; } SOGO_CONTACT_SPOOFED { expression = "(R_SPF_PERMFAIL | R_SPF_SOFTFAIL | R_SPF_FAIL) & ~SOGO_CONTACT";