diff --git a/data/conf/rspamd/local.d/composites.conf b/data/conf/rspamd/local.d/composites.conf index c1ecf8f3..71314b7f 100644 --- a/data/conf/rspamd/local.d/composites.conf +++ b/data/conf/rspamd/local.d/composites.conf @@ -35,17 +35,8 @@ FORGED_W_BAD_POLICY { expression = "( ~g+:policies | ~R_SPF_NA) & ( ~FROM_NEQ_ENVFROM & ~FORGED_SENDER ) & !WHITELISTED_FWD_HOST" score = 3.0; } -RBL_EXCLUDE_FWD_HOST { - expression = "-WHITELISTED_FWD_HOST & ^g:rbl" -} -SPF_EXCLUDE_FWD_HOST { - expression = "-WHITELISTED_FWD_HOST & (^R_SPF_PERMFAIL | ^R_SPF_SOFTFAIL | ^R_SPF_FAIL)" -} -HFILTER_EXCLUDE_FWD_HOST { - expression = "-WHITELISTED_FWD_HOST & ^g:hfilter" -} -NEURAL_EXCLUDE_FWD_HOST { - expression = "-WHITELISTED_FWD_HOST & ^g:neural" +WL_FWD_HOST { + expression = "-WHITELISTED_FWD_HOST & (^g:rbl | ^g+:policies | ^g:hfilter | ^g:neural)" } UPSTREAM_CHECKS_EXCLUDE_FWD_HOST { expression = "(-SIEVE_HOST | -WHITELISTED_FWD_HOST) & (^UNITEDINTERNET_SPAM | ^SPAM_FLAG | ^KLMS_SPAM | ^AOL_SPAM | ^MICROSOFT_SPAM)"