[Rspamd] Remove ham symbols if a fuzzy denied hash matched

master
andryyy 2021-01-19 12:59:46 +01:00
parent 5dcbce662b
commit e6898beb59
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 5 additions and 0 deletions

View File

@ -54,3 +54,8 @@ UPSTREAM_CHECKS_EXCLUDE_FWD_HOST {
BOUNCE_FUZZY { BOUNCE_FUZZY {
expression = "-BOUNCE & ^g+:fuzzy"; expression = "-BOUNCE & ^g+:fuzzy";
} }
# Remove bayes ham if fuzzy denied
FUZZY_HAM_MISMATCH {
expression = "(-FUZZY_DENIED | -MAILCOW_FUZZY_DENIED | -LOCAL_FUZZY_DENIED) & (^BAYES_HAM | ^NEURAL_HAM_LONG | ^NEURAL_HAM_SHORT)";
score = 1.0;
}