How to disable Bayes?

Discuss the ConfigServer MailScanner Front-End script
Post Reply
techtempus
Junior Member
Posts: 10
Joined: 19 Oct 2017, 17:21

How to disable Bayes?

Post 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.
techtempus
Junior Member
Posts: 10
Joined: 19 Oct 2017, 17:21

Re: How to disable Bayes?

Post 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!
willdashwood
Junior Member
Posts: 9
Joined: 15 May 2012, 12:18

Re: How to disable Bayes?

Post by willdashwood »

Thanks for this. I wonder, is there any way to create the new bayes database over the command line, so this can be automated? Alternatively, what happens if not new database is created? Does it matter if use_bayes is disabled?
Post Reply