« Return to Thread: help with training bayesian filter

Re: help with training bayesian filter

by Matt Kettler-3 :: Rate this Message:

Reply to Author | View in Thread

sinnerman wrote:
> I think I've solved the issues:
>
> * I've stoped using spamc/spamd, and now just use spamassassin (running as
> my logged in user, just like sa-learn). I think that has solved the issue of
> which bayesian database is being used.
>  
Well, your spamd startup was forcing everything to '-u nobody'. Unless
you're using SQL, that's going to break bayes.

The "nobody" user does not, and SHOULD NOT, have a writable home
directory, so any ordinary db_file-based database stored in the home
directory (which is SA's default) is going to fail to be written.

> * I had to explicitly load the plugin in my config file (I though it was a
> standard plugin):
>
> loadplugin     Mail::SpamAssassin::Plugin::AutoLearnThreshold
>  
Define "config file". That should be loaded in yourv310.pre file by
default. If your *.pre files are missing from /etc/mail/spamassassin,
you've got larger problems to look into.

> Also, I've found some other help topics on this, and now understand that
> autolearn doesn't rely just on the computed score.
>  

 « Return to Thread: help with training bayesian filter