Bayes issue

Miron Jajtić miron at plus.hr
Wed Jul 22 16:08:43 UTC 2020


Hello to everyone!


I'm trying to solve issue with Bayesian filtering.

For some reason one message is constantly marked as spam due to this:

==================================

Spam Report:   
Score    Matching Rule    Description
15.00    BAYES_99    Bayes spam probability is 99 to 100%
15.00    BAYES_999    Bayes spam probability is 99.9 to 100%

==================================


No matter does I disable or enable bayes inside of
/etc/MailScanner/spamassassin.conf or change bump score to negative, etc.


==================================

[root at smtp MailScanner]# grep -i bayes /etc/MailScanner/spamassassin.conf

# =============== Bayesian Filtering ===============
# By default, the Bayesian engine is used. This is a real CPU hog
# use_bayes 0
use_bayes 1
bayes_auto_expire 1
bayes_store_module              Mail::SpamAssassin::BayesStore::Redis
bayes_sql_dsn                   server=xx.xx.xx.xx:6379;database=0
bayes_token_ttl 21d
bayes_seen_ttl   12d
bayes_auto_learn 1
bayes_auto_learn_threshold_nonspam    -2.0
bayes_auto_learn_threshold_spam       5.0
# Bump up SA score if it matches something in Bayes
score BAYES_00 -5.0
score BAYES_05 -1.5
score BAYES_50 1.5
score BAYES_60 2.0
score BAYES_80 6.0
score BAYES_95 9.0
#score BAYES_99 0
#score BAYES_999 0
==================================


What's interesting is when I test the same message directly with
Spamassassin and using above config file, then bayes rules are not
activated.

After two days of debugging, I'm out of idea where to check why is this
message marked with 30 spam points when is processed via MailScanner.

I would be really grateful if someone can point me in the right
direction how to resolve this issue


==============

MailWatch: 1.2.15
OS: CentOS 7
MailScanner: 5.3.3
SpamAssassin: 3.4.4

==============


Best regards,
Miron



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20200722/5628f96b/attachment.sig>


More information about the MailScanner mailing list