How to check the status of the Bayesian DB in Zimbra

Ok, so i was curious to know what information i had in my SpamAssasin bayes DB, the below command will output the goodness:

root@mambo:~# su - zimbra
zimbra@mambo:~$ /opt/zimbra/libexec/sa-learn --dbpath /opt/zimbra/data/amavisd/.spamassassin --dump magic
netset: cannot include 127.0.0.0/8 as it has already been included
0.000          0          3          0  non-token data: bayes db version
0.000          0      74443          0  non-token data: nspam
0.000          0       4428          0  non-token data: nham
0.000          0     115928          0  non-token data: ntokens
0.000          0 1262691358          0  non-token data: oldest atime
0.000          0 1265460421          0  non-token data: newest atime
0.000          0 1265460998          0  non-token data: last journal sync atime
0.000          0 1265461001          0  non-token data: last expiry atime
0.000          0    2764800          0  non-token data: last expire atime delta
0.000          0      58752          0  non-token data: last expire reduction count

If for any reason you want to reset the bayes DB and start afresh, you just need to remove/move the .spamassassin folder, and then restart Zimbra.  Note im using Zimbra Open Source Edition 6.0.5.

  1. No comments yet.

  1. No trackbacks yet.