-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Jan 29, 2004 at 11:22:24AM -0500, Andrew J. Hutton wrote:
>Has anyone extended tmda-pending to be able to run messages through
>sa-learn as spam or ham?

In the procmailrc used to deliver mail, I have:

:0wc
| sa-learn --ham --single

That's the procmailrc referenced on my DELIVERY line in TMDA's config.

DELIVERY = "|/usr/bin/procmail /home/kyle/.tmda/procmailrc"

This way, any message that TMDA delivers to my mailbox is learned as ham.
If it makes a mistake, I can correct it.

I don't have anything that automatically learns pending mail as spam.  I
let it auto-learn through its own rules (i.e., anything with a really high
spam score is learned), but otherwise I don't teach it anything I haven't
looked at personally.  I have a script somewhere that looks for low scoring
mail in pending (things that have a chance of being legit) and puts it in a
mailbox for examination, but I haven't used it much.  SA auto-learns enough
spam to keep up with my ham input easily.

Hope this helps.
- -- 
Kyle Hasselbacher | Build a system that even a fool can use and
[EMAIL PROTECTED]  | only a fool will want to use it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAGUPl10sofiqUxIQRAsczAJ4zDoGkM+6YX9gOut8dCwYCHN4h8QCgpDm2
rS7F7tYwUNxNExQRK2Gn6hw=
=BKdD
-----END PGP SIGNATURE-----
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to