[Mailman-Users] Filter based on message text

Mark Sapiro msapiro at value.net
Mon Jan 15 23:53:49 CET 2007


Martin Dennett wrote:
>
>Just wondering if it's possible (via spam filters?) to take action on a 
>mail depending on text found in the body of an email? Had a quick check 
>of the FAQ's and didn't see anything that looked applicable. I don't 
>have command line access....

Mailman doesn't provide the ability to filter based on the actual text
in the message body.

The way to do this is via a custom handler
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.067.htp>.
Doing this directly requires access beyond what you have, but since
installing such a handler for a single list is relatively benign, if
you have the ability to code such a handler in Python, you might be
able to convince your Mailman host to install it for your list(s).

-- 
Mark Sapiro <msapiro at value.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