DSPAM Retrainer
I use DSPAM as my spam filter, and Dovecot as an IMAP server. Messages tagged as spam by DSPAM are filtered out by procmail into a "Spam" IMAP folder. I clean this out periodically.
When I find a message that's improperly classified, I just drop it into my "retrain as spam" or "retrain as good" IMAP folder. This daemon uses Inotify to pick up new messages, retrains DSPAM on them, and redelivers the message to the appropriate folder using Dovecot. Just edit the script with your preferred folder names and users, run, and enjoy easy spam management.
You'll need to build ruby-inotify as well.
I've seen it crash after a few months use but haven't had the time to track down why.
Copyright © 2003—2010
Aphyr