-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2009-09-09 at 22:55 +0200, Roger Oberholtzer wrote:
sa-learn --spam --showdots --dir /pathto/spam
To follow up:
I made an IMAP folder called SPAM/falseNegative, where I put missed SPAM. The command to learn that these were really SPAM was then:
sa-learn --spam --showdots --dir $MYHOME/Maildir/.SPAM.falseNegative/cur
The program ran and said it had learned from the messages there.
I thought that "$MYHOME/Maildir/.SPAM.falseNegative/cur" would be enough. Perhaps not :-?
I will see about a CRON job after I see how to empty the folder when I am finished.
No hurry. The process knows which emails were processed and doesn't reread them - and a bunch of stored spam is needed if you want to retrain.
Is there any sort of learning status summary that one can look at?
Not that I know, but it could be; the manual should say. Or you can pipe the output of sa-learn to somewhere (just don't use "showdots" in that case. Try things like "--dump": cer@nimrodel:~> sa-learn --dump magic 0.000 0 3 0 non-token data: bayes db version 0.000 0 26824 0 non-token data: nspam 0.000 0 12774 0 non-token data: nham 0.000 0 211497 0 non-token data: ntokens 0.000 0 1202213771 0 non-token data: oldest atime 0.000 0 1252528851 0 non-token data: newest atime 0.000 0 1252528858 0 non-token data: last journal sync atime 0.000 0 1252521698 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 but don't ask me what it means :-)
I am curious how the learning proceeds. Of course, if it goes well, I will see less SPAM. But I am curious if SA can tell the rules it has. Then I could see what changes as I feed it learning material. Just a curious guy here.
Me too :-) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkqoJr4ACgkQtTMYHG2NR9XIpgCgkY7xUSUbrkuOZ0Htogqukge9 EbIAnA8I9O6AZdXdh3YnENkYoNjNklAl =crGq -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org