Paul Dulaba wrote:
Hi all,
Running SA 3.1.0. I have been using the Bayes DB for 8-9 months now.
All of
a sudden it seems like a lot of Spam is getting through, and training it
with the new Spam does not seem to have any effect. There is a quirk
in the
following output:
spamassassin -D --lint
[5284] dbg: bayes: not available for scanning, only 0 spam(s) in bayes
DB <
200
<snip>
[5284] dbg: bayes: corpus size: nspam = 124095, nham = 262008
[5284] dbg: bayes: DB expiry: tokens in DB: 119251, Expiry max size:
150000,
Oldest atime: 1144827345, Newest atime: 1146270059, Last expire:
1144870877,
Current time: 1153945397
It doesn't matter how many Spams I have passed through sa-learn, it still
just says 0 spam(s) in bayes DB < 200. Yet you can see there are
124095 spam
tokens.
A common pitfall is to train as root and to run spamassassin as another
user.
If you want a "site-wide bayes", I'd recommend using mysql and setting
bayes_sql_override_username.
Otherwise, use sudo when training (examples have been posted time ago.
google).