Scanning your Gmail with SpamAssassin

I’ve noticed more spam emails get into my Gmail INBOX lately, so decided to scan it with SpamAssassin.

The Perl commandline script (gmail-spamassassin) I wrote to do this can be downloaded from GitHub. I also subclassed Net::IMAP::Simple to support Gmail’s IMAP extensions, so you’ll need Gmail.pm from the repository too.

I intend to release Net::IMAP::Simple::Gmail to CPAN at some point, when it has a bit more functionality.

Update: released onto CPAN now.

Leave a Reply

Your email address will not be published. Required fields are marked *