You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Vincent <te...@brc.ubc.ca> on 2005/02/18 19:57:53 UTC

Is my bayes database healthy?

Hi folks,

I am running clamav/amavisd-new/spamassassin, spamassassin is called from
amavis. my amavis is runned as user clamav. I did not explicitly set
"bayes_auto_learn","bayes_path".. in /etc/mail/spamassassin/local.cf, but
under ~clamav, I can see bayes database file, I run sa-learn --dump magic
as user clamav, the output is like this:

0.000          0          3          0  non-token data: bayes db version
0.000          0      16182          0  non-token data: nspam
0.000          0      29965          0  non-token data: nham
0.000          0     146187          0  non-token data: ntokens
0.000          0 1108027088          0  non-token data: oldest atime
0.000          0 1108751866          0  non-token data: newest atime
0.000          0 1108751464          0  non-token data: last journal sync
atime
0.000          0 1108718410          0  non-token data: last expiry atime
0.000          0     691200          0  non-token data: last expire atime
delta
0.000          0       9616          0  non-token data: last expire
reduction count

my question is:
1, do I have a system wide bayes database for spam auto learning and this
bayes database is the one under home directory of user clamav?

2, if I don't have system wide bayes database for spam learning, can I set
it at /etc/mail/spamasssassin/local.cf to point to the bayes database
under home directory of user clamav?

3, is the output of sa-learn --dump magic healthy? the number of spam
learned is less than the number of ham learned