On Friday, November 08 2013, John Hardin wrote:

> On Fri, 8 Nov 2013, Sergio Durigan Junior wrote:
>
>>  #> spamc -c < spam.file
>>  0.0/5.0
>>  #> spamc -L spam < spam.file
>>  (successful message saying that the spam was learned)
>>  #> spamc -c < spam.file
>>  0.0/5.0
>>
>> I have already updated my Bayesian database, restarted the spamd
>> service, etc.  I was expecting that I'd get a high rate after feeding
>> the spam to SpamAssassin, but that's not happening.  Any suggestions?
>
> Try using sa-learn to train Bayes.

I don't think sa-learn can help with spamd.  Its own manpage mention
that, for spamd users, "spamc -L" is the way to go.

> The big thing to keep in mind is that the user running the training
> needs to be the same user that spamd is running as; if not, depending
> on your bayes database config, you may be training a different Bayes
> database than the one spamd is reading.

Hm, really?  I thought spamd kept a global Bayes database, and that
everyone calling "spamc -L" would end up feeding this database, and not
some local one.

-- 
Sergio

Reply via email to