This little python script is pure genius. I've been using it for a while now, I figured it's time to share
When I was still using GMail, spam was not an issue. Whatever else there is to complain about Google, their spam filter works. Then, in my degooglifying process, I had to find an alternative. One thing I did was to start using different e-mail accounts and aliases, and I started to make good use of my catchall mailbox. Still, the occasional spam e-mail makes it through, so I went looking for a remote filtering tool that wouldn't require my e-mail program on my desktop running all the time.
This is what I found. isbg uses a locally installed spamassassin to filter e-mail on your IMAP server. It logs in using your credentials, which are stored in an encrypted file, and runs all new mail through your local spamassassin. You can configure it to just flag or delete outright.
If you're already running a server but (like me) don't want to set up your own e-mail server (or can't because your server is on a home DSL line) it's a great little addition. It could also easily run off a Raspberry Pi.
Along with imapfilter
, this really helps me to keep my inbox in a mostly sane condition. isbg/isbg
IMAP Spam Begone (isbg): a script that makes it easy to scan an IMAP inbox for spam using SpamAssassin and get your spam moved to another folder. - isbg/isbg