Thursday, September 18, 2014

IMAP Whitelist Email Filter

The amount of spam email I've been receiving recently has been on the increase. Even with server-side spam assassin and client-side junk filtering enabled I was still receiving hundreds (yes, hundreds) of junk emails each day to my Inbox. I needed a new solution. Enter imapfilter.

To install on Debian try: apt-get install imapfilter

Imapfilter is a neat little tool that can be scripted in LUA to connect to an IMAP mailbox and perform certain operations. It was easy enough to build a simple whitelist email filter to delete all emails except those from good addresses. I set this script to run every 20 minutes or so and now my Inbox is soooo much happier. :)

No comments:

Post a Comment