[Mailman-Users] Filtering Mail with Regexes: Possible?

Mark Sapiro mark at msapiro.net
Tue Dec 11 21:04:58 CET 2012


Tom Browder wrote:

>I would like to be able to filter message bodies and put a hold for
>approval on those with html links in them to try to catch address book
>hijacked mail (mail sent to a list of addresses stolen from
>subscribers' contact lists).
>
>Is that possible?


Yes, but not via the standard configuration. You need to implement a
custom handler <http://wiki.list.org/x/l4A9>. That FAQ contains a
skeleton example MyHandler.py which does what you ask and more.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list