John Heidemann / Software / Mailman Hacks

Mailman is a widely used mailing list manager. This page captures some hacks I’ve done for mailman.

unspamify_mailman

Because mailing lists accumulate spam (in this day and age :-), one needs to deal with that. With closed lists, one accumulates a lot of spam. To quickly dispose of it (without multiple clicks), I wrote this script.

WARNING: If run with just a URL, this program blindly discards all messages queued for the mailing list. Instead, it is recommended you run it with the -m option, in which case it will cancel mail for ONLY those senders listed in the mail.

Download the Perl source code (release 040214). To install, save it in a file, chmod +x it, make sure the #! at the top is correctly pointed at Perl, and make sure you have WWW::Mechanize installed (to install that, do “perl -MCPAN -e ‘install WWW::Mechanize’”).

(Old versions: 040130, 040214.)

Copyright © 2004 by John Heidemann