1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-01-12 04:23:24 +02:00

[Rspamd] Add FUZZY_SPAM_MISMATCH (#3958)

Remove score from FUZZY_HAM_MISMATCH
This commit is contained in:
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

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 )"
} }