Skip to content

Archives

filtering Mailman’s admin queue with SpamAssassin

Several MailMan mailing lists I run have been really painful to admin, due to spam overload combined with Mailman’s pretty crappy ‘pending messages’ admin interface, which goes like this: scroll down to each message, select ‘discard’ radio button, scroll to next, select ‘discard’ radio button, repeat until wrists hurt.

Thankfully, waider has saved my lists from oblivion. this script, given the list URL and the admin password, will log in to the admin interface, get the list of pending messages in the queue, scan each one using Mail::SpamAssassin (of course ;), and ditch the spam.

It just cleaned out 182 spams from one list, leaving all of 7 valid requests in the queue. Beautiful!

Dublin: Stefan Geens posts an IrishBroadband success story. See, it really works!

Comments closed