You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by SpamAssassin User <sp...@ctcministries.org> on 2004/12/23 15:04:17 UTC

Need help with Bayes DB

Hello:

I am running SpamAssassin 3.0.1 and have been having a problem.  When I run "sa-learn -D --dump magic" I get the following output.

0.000          0          3          0  non-token data: bayes db version
0.000          0       1084          0  non-token data: nspam
0.000          0       1361          0  non-token data: nham
0.000          0     109079          0  non-token data: ntokens
0.000          0 1078967175          0  non-token data: oldest atime
0.000          0 1103809663          0  non-token data: newest atime
0.000          0 1103809671          0  non-token data: last journal sync atime
0.000          0 1103808704          0  non-token data: last expiry atime
0.000          0          0          0  non-token data: last expire atime delta
0.000          0          0          0  non-token data: last expire reduction count

Now the problem is that the numbers for nspam, nham, ntokens, and oldest atime NEVER change.  What could be the cause for this?  How could I fix this problem?

Thanks in advance,
Ronald Vazquez

Re: Need help with Bayes DB

Posted by Loren Wilton <lw...@earthlink.net>.
Also make sure that you updated the DB format if you moved from 2.6x to
3.0.1.  Maybe Bayes is turned on, but every time it tastes the DB it doesn't
like the format.

        Loren


Re: Need help with Bayes DB

Posted by Richard Ozer <ro...@ois-online.com>.
Check to make sure that you don't have a phantom local.cf somewhere that's pointing SA 
to the wrong directory for bayes.  For instance, see if you have both a 
/etc/spamassassin and /etc/mail/spamassassin folder.

Make sure it's not putting a new bayes database in your <user>/.spamassassin directory.

Make sure that you have appropriate rights to the bayes folder and files.  I've been 
using chmod 666.

RO

SpamAssassin User wrote:
> Hello:
> 
> I am running SpamAssassin 3.0.1 and have been having a problem.  When I run "sa-learn -D --dump magic" I get the following output.
> 
> 0.000          0          3          0  non-token data: bayes db version
> 0.000          0       1084          0  non-token data: nspam
> 0.000          0       1361          0  non-token data: nham
> 0.000          0     109079          0  non-token data: ntokens
> 0.000          0 1078967175          0  non-token data: oldest atime
> 0.000          0 1103809663          0  non-token data: newest atime
> 0.000          0 1103809671          0  non-token data: last journal sync atime
> 0.000          0 1103808704          0  non-token data: last expiry atime
> 0.000          0          0          0  non-token data: last expire atime delta
> 0.000          0          0          0  non-token data: last expire reduction count
> 
> Now the problem is that the numbers for nspam, nham, ntokens, and oldest atime NEVER change.  What could be the cause for this?  How could I fix this problem?
> 
> Thanks in advance,
> Ronald Vazquez