Page 1 of 1

How to disable Bayes?

Posted: 19 Jan 2022, 21:39
by techtempus
HI,

I don't want to use the bayesian filter at all, is causing me ton's of problems.

I've read: https://support.configserver.com/en/kno ... hould-i-do but /etc/mail/spamassassin/configserver.cf isn't there.

So I have edited /usr/mailscanner/etc/spamassassin.conf setting "use_bayes 0" is this everithing I need to do?

Thank you.

Re: How to disable Bayes?

Posted: 20 Jan 2022, 03:49
by techtempus
So far I can confirm that this works, so here are the steps:

1.- Edit /usr/mailscanner/etc/spamassassin.conf and uncomment "use_bayes 0".
2.- Mailscanner reload
3.- Mailscanner restart
4.- Front-End settings -> MailControl Settings -> New Bayes

Now, drink a beer in the meantime, depending on your traffic you can check again in a few hours

5.- To check if this is working you can review any High Spam email on MailControl and no Bayesian score is given at all. You can also check by MailControl -> Menu -> SpamAssassin Bayes and no data at all is retrieved.

Now... calm down; the rest of the MailScanner antispam functions works perfectly and (in my case at least) the false positives and Bayes Poisoning went to 0.

Hope it helps someone.

Cheers!