[Rspamd] Add FUZZY_SPAM_MISMATCH (#3958)

Remove score from FUZZY_HAM_MISMATCH
master
Dmitriy Alekseev 2021-01-31 10:56:47 +02:00 committed by GitHub
parent 0a0d9e873e
commit 0a102444fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -56,6 +56,9 @@ BOUNCE_FUZZY {
} }
# Remove bayes ham if fuzzy denied # Remove bayes ham if fuzzy denied
FUZZY_HAM_MISMATCH { FUZZY_HAM_MISMATCH {
expression = "(-FUZZY_DENIED | -MAILCOW_FUZZY_DENIED | -LOCAL_FUZZY_DENIED) & (^BAYES_HAM | ^NEURAL_HAM_LONG | ^NEURAL_HAM_SHORT)"; expression = "( -FUZZY_DENIED | -MAILCOW_FUZZY_DENIED | -LOCAL_FUZZY_DENIED ) & ( ^BAYES_HAM | ^NEURAL_HAM_LONG | ^NEURAL_HAM_SHORT )"
score = 1.0; }
# Remove bayes spam if local fuzzy white
FUZZY_SPAM_MISMATCH {
expression = "( -LOCAL_FUZZY_WHITE ) & ( ^BAYES_SPAM | ^NEURAL_SPAM_LONG | ^NEURAL_SPAM_SHORT )"
} }