You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Kevin Old <ke...@gmail.com> on 2005/11/14 00:15:32 UTC

sa-learn magic numbers don't change

Hello everyone,

When I run sa-learn --dump magic and then run hams or spams into it
and dump the magic again, the numbers *never* change.  The spam
blocking is still great, but I'm not sure why the numbers wouldn't
change.  I have tried doing a sa-learn --sync and the numbers still
stay the same.  I've also verified that I'm learning against and
dumping the same bayes database (using the -C path/to/config/file). 
I'm running it in conjunction with MailScanner if that makes a
difference.

Any ideas what would cause this?
--
Kevin Old
kevinold@gmail.com

Re: sa-learn magic numbers don't change

Posted by Kai Schaetzl <ma...@conactive.com>.
Kevin Old wrote on Sun, 13 Nov 2005 18:15:32 -0500:

> When I run sa-learn --dump magic and then run hams or spams into it 
> and dump the magic again, the numbers *never* change.

Most likely because you learn under a different account or with a 
different config file. And since you use MailScanner the latter is most 
probable. MailScanner comes with its own "local.cf" to get people going. 
However, it introduces this split config problem :-( You have to either 
set MailScanner to use the /etc/mail/spamassassin/local.cf (with updated 
values) or tell sa-learn to use a different config file. I prefer the 
first alternative.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
IE-Center: http://ie5.de & http://msie.winware.org