May
04
2010

IMAP Spam Begone – remote email spam filtering using spamassassin

Do you need to filter spam email on your IMAP account, but can’t do it on the email server and your client software (mutt? ;)) won’t provide that capability?

meet IMAP Spam Begone

a nifty python script that uses spamassassin to remotely mark (and optionally move/delete) spam mail over IMAP.
it can also use spam/ham folders to teach your spamassassin ;)

Available in gentoo:
[*] mail-filter/isbg
Available versions: (~)0.99-r1
Homepage: http://redmine.ookook.fr/projects/isbg
Description: IMAP Spam Begone: a script that makes it easy to scan an IMAP inbox for spam using SpamAssassin

usage instructions here: http://redmine.ookook.fr/projects/isbg/wiki#SpamAssassin

some example commands I’m using:

# to check for spam:
isbg.py --imaphost [HOST] --imapuser [EMAIL] --delete --noreport --spamc
# to teach spamassassin:
isbg.py --imaphost [HOST] --imapuser [EMAIL] --noreport --teachonly --learnspambox INBOX.spam --learnhambox INBOX.read-mail --spamc

tags: , , ,
posted in general, gentoo by Alex “wired” Alexander

Follow comments via the RSS Feed | Leave a comment | Trackback URL

One Response to “IMAP Spam Begone – remote email spam filtering using spamassassin”

Leave a Reply

 
Powered by Wordpress and MySQL. Original theme by openark.org - customization by me :)