Tools:spamassassin

From Leurent
Revision as of 15:34, 30 August 2014 by Admin (talk | contribs) (Add spamassassin logo)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Spamassassin.png

Documentation

sa-learn

Get stats about spamassassin

(SCREEN):root@cid:[~]# sudo -u debian-spamd sa-learn --dump magic
0.000          0          3          0  non-token data: bayes db version
0.000          0       1653          0  non-token data: nspam
0.000          0       6481          0  non-token data: nham
0.000          0     176440          0  non-token data: ntokens
0.000          0 1406623691          0  non-token data: oldest atime
0.000          0 1409402667          0  non-token data: newest atime
0.000          0          0          0  non-token data: last journal sync atime
0.000          0 1409387989          0  non-token data: last expiry atime
0.000          0    2764800          0  non-token data: last expire atime delta
0.000          0       1431          0  non-token data: last expire reduction count

Backup everything

sudo -u debian-spamd sa-learn --backup > backup_spamd.txt


Learn new spam

(SCREEN):root@cid:[~]# sudo -u debian-spamd sa-learn --progress --spam /var/lib/spamassassin/Learn-Spam
 96% [====================================================================================================================     ]  13.67 msgs/sec 00m01s DONE
Learned tokens from 24 message(s) (24 message(s) examined)