You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

SpamAssassin Integration into your IMAP Folder

If you have Spamassassin working, but your main mailbox is on a remote Imap folder, you can use Roger Binns' Isbg (Imap Spam Be Gone). The software can be found at http://www.rogerbinns.com/isbg/ , and an introduction to its use can be found at http://www.stearns.org/doc/spamassassin-setup.current.html#isbg

SpamAssassin IMAP shared folders for groups of users

http://www.dmzs.com/tools/files/spam.phtml BR

DMZS-sa-learn is a perl script that reads 2 imap folders, spam & not-spam and processes them through SpamAssassin sa-learn to learn bayesian classifications. BR

With many people all utilizing the same mail resources, a method for integrating the learning of all users spam that wasn't flagged properly was needed. Searching google I found several good resources on setting up & using imap and sa-learn, however all (that i have found) have the processing happen assuming Spamassassin & the imap server were located on the same machine. If you have a secured network or a large network, you will most likely have your MTA/Virus/Spam functions on separate servers from the users mail servers. BR

To solve this problem I integrated perl Mail::IMAPClient into a quick script that works with sa-learn. This allows your spamassassin host to be any server and connect to one (or many, easily modified...hmm) central imap server(s) and process spam & ham classifications according to the users of those systems.

  • No labels