Re: [exim] exiscan, spamassassin, and per-domain bayes datab…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: John Horne
Datum:  
To: Exim users
Betreff: Re: [exim] exiscan, spamassassin, and per-domain bayes database
On Fri, 2005-06-10 at 16:32 +0200, Marc Haber wrote:
>
> Do I need to configure spamassassin in a special way to have bayes
> being used, and where does spamd write the bayes db by default?
>

Hello,

Yes, you need to configure SA to use bayes. In our case SA is installed
into /etc/mail/spamassassin. In there I have a 'local.cf' which
contains:

use_bayes 1
bayes_auto_learn 1
bayes_auto_learn_threshold_spam 7.0
bayes_auto_learn_threshold_nonspam 0.5
bayes_path /etc/mail/spamassassin/bayes
bayes_file_mode 0777
bayes_use_hapaxes 1
bayes_use_chi2_combining 1
bayes_auto_expire 1

The bayes_path states where to write the files. However, I'm not sure
that you can get it to do a per-domain bayes db - an interesting idea
mind you! You may well want to modify the 'auto_learn_threshold' options
accordingly. Bayes only starts to be used once a number of messages have
been scanned as spam/ham - 200 by default I think.


John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: John.Horne@???       Fax: +44 (0)1752 233839