LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   question about spamassassin and bayesian filters (https://www.linuxquestions.org/questions/linux-server-73/question-about-spamassassin-and-bayesian-filters-843208/)

skoinga 11-09-2010 07:18 AM

question about spamassassin and bayesian filters
 
Hi,

in the headers of email I receive on my mail server, I notice that the scores refers only to "net" test, without using bayes filters.

I'm using postfix+spamassassin+amavis.
In my v320.pre I've put this:

loadplugin Mail::SpamAssassin::Plugin::Bayes

I need to do something more to active the bayes test?
Or I simply need to wait to have more than 200 email in the db, according to this faq?

http://wiki.apache.org/spamassassin/BayesNotWorking

Thankyou

bathory 11-09-2010 08:09 AM

You should also use in local.cf
Code:

use_bayes              1
bayes_auto_learn      1

Regards

skoinga 11-09-2010 08:36 AM

Quote:

Originally Posted by bathory (Post 4153623)
You should also use in local.cf
Code:

use_bayes              1
bayes_auto_learn      1

Regards

Quote:

# Use Bayesian classifier (default: 1)
#
# use_bayes 1


# Bayesian classifier auto-learning (default: 1)
#
# bayes_auto_learn 1
Are the default values!


All times are GMT -5. The time now is 02:25 PM.