You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Richard Crane <ri...@haskins.yale.edu> on 2014/02/19 21:04:54 UTC

Bayesian db not updating?

SA is version 3.3.2 

spamd is running with these args: 
SPAMD_ARGS="-d -c -L --min-spare=3 --max-spare=5 --max-children=10"

and procmail runs spamc 

Some messages are classified as spam, but the output of sa-learn --dump magic 
doesn't change.  
The sequence
sa-learn --dump magic
0.000          0          3          0  non-token data: bayes db version
0.000          0       4060          0  non-token data: nspam
0.000          0      13610          0  non-token data: nham
0.000          0     201170          0  non-token data: ntokens
0.000          0 1250256152          0  non-token data: oldest atime
0.000          0 1392835814          0  non-token data: newest atime
0.000          0 1392836188          0  non-token data: last journal sync atime
0.000          0 1255781535          0  non-token data: last expiry atime
0.000          0    5529600          0  non-token data: last expire atime delta
0.000          0      32960          0  non-token data: last expire reduction count

sa-learn --spam --no-sync --mbox spam-mailbox ** where  contents are recently received messages that got a low (.5 - 3) score.
sa-learn --sync
sa-learn --dump magic

results in exactly the same output.  Is this correct? I have repeated this several times with different messages. The sa-learn execution displays a  message like

Learned tokens from 2 message(s) (2 message(s) examined)




Richard Crane 
-------
Haskins Laboratories / (203) 865-6163 X 275 /  FAX (203) 865-8963
300 George Street/New Haven, CT 06511