I started using this scheme about a week ago, and it has been working like a charm! It is useful when there are multiple computers you check your email from and you are sick of re-training the local Bayesian filter, like the one in Thunderbird, on each computer; this is why I developed this scheme in the first place. :)
Comment or catch me on IM if you are interested in trying this out.
- [ procmail ]
A versatile general-purpose mail filter
- [ Apache SpamAssassin ]
An intelligent spam detector
- [ University of Washington IMAP Toolkit ]
An IMAP server, commonly known as UW-IMAP
- [ Mozilla Thunderbird ]
Or any IMAP-enabled email program
How It Works
procmail(1)runs SpamAssassin on all incoming mail to tag it as spam or ham.
procmail(1)then delivers messages tagged as spam into theIMAP folder (the default junk mail folder for Thunderbird); messages marked as ham continues through the filtering chain, and usually end up in the main inbox.
I check my mail in both inbox and the
If I see spams which were mistagged as ham and ended up in the inbox, I move the messages to theIMAP folder.
If I see hams which were mistagged as spam and ended up in the
Junkfolder, I move the messages to theIMAP folder.
The IMAP server polls
X-Hamfolders every five minutes, and teaches the SpamAssassin bayesian filter, using
sa-learn(1), that all messages in
X-Spam(that SpamAssassin mistagged as ham) are really spam, and vice versa.
Once the server has taught SpamAssassin about mistagged spam/ham messages, it moves all messages in
X-Haminto the inbox, and all messages in