[Rspamd] Simplify forward host rule and add policy group to exceptions for fwd host
parent
5cd6bed701
commit
f95bd3e7b6
|
@ -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)"
|
||||
|
|
Loading…
Reference in New Issue