Hi List,
SpamAssassin version 2.61
About a month ago I went from user bayes db's to a sitewide one.
I have been having suspicions that the sitewide bayes db wasn't either
being used or being updated.
Picking up on this list I ran:
[EMAIL PROTECTED]:~> sa-learn --dump magic
0.000 0 2 0 non-token data: bayes db version
0.000 0 81 0 non-token data: nspam
0.000 0 355 0 non-token data: nham
0.000 0 14249 0 non-token data: ntokens
0.000 0 1079235736 0 non-token data: oldest atime
0.000 0 1079235736 0 non-token data: newest atime
0.000 0 0 0 non-token data: last journal sync
atime
0.000 0 0 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
I was aware of the imbalance from spam/ham, so have not been running
sa-learn over hams for a couple of weeks.
I just ran:
sa-learn --spam --config-file=/etc/mail/spamassassin/local.cf \
--dir /home/roland/Maildir/spam/cur/
And this reported:
Learned from 20 message(s) (30 message(s) examined).
I ran 'sa-learn --dump magic' again, but the stat's did not change. I was
expecting to see the 'nspam' go up by 20, and the newest atime to change.
What could I be doing wrong? Any pointers welcome.
Here is my config information (note SA is run with the spamc/spamd
combination via procmail, and apart from the bayes db, all seems well).
<----config info---->
My local.cf is:
# Add your own customisations to this file. See 'man
# Mail::SpamAssassin::Conf'
# for details of what can be tweaked.
# Enable the Bayes System
use_bayes 1
# Enable Bayes auto-learning
auto_learn 1
# Trusted networks
trusted_networks 192.168/16 127/8
# Set Bayes DB path
bayes_path /etc/mail/spamassassin/bayes
# Set auto-learn path
#auto_whitelist_path /etc/spamassassin/mail/auto-whitelist
# How many hits before a mail is considered spam.
required_hits 4
# Learning Options
bayes_auto_learn_threshold_nonspam 0.10
bayes_auto_learn_threshold_spam 10.0
# Reporting Options
rewrite_subject 0
report_safe 1
use_terse_report 1
Permissions on the sitewide bays:
[EMAIL PROTECTED]:~> ls -al /etc/mail/spamassassin/bayes*
-rw------- 1 root root 325 2004-03-14 14:56
/etc/mail/spamassassin/bayes.lock.rrl03.monaro.local.16339
-rw-r--r-- 1 root root 150 2004-03-14 14:56
/etc/mail/spamassassin/bayes.lock.rrl03.monaro.local.16461
-rw-rw-rw- 1 root root 327680 2004-05-09 08:05
/etc/mail/spamassassin/bayes_seen
-rw-rw-rw- 1 root root 716800 2004-04-14 21:51
/etc/mail/spamassassin/bayes_toks
<----end of info---->
--
Regards,
Roland Hill Registered Linux User #330226
http://pl.net/~rnrhill/rhweb.htm @ http://counter.li.org