[Mailman-Users] filtering body content
Mark Sapiro
msapiro at value.net
Tue Mar 1 01:21:09 CET 2005
List Manager wrote:
>
>I know that it has been asked many many times but I haven't seen any
>solutions posted about how to filter the body content of the messages. Does
>someone have a solution for that? Or even a work-around?
I assume you don't mean filtering based on MIME Content-Type: since
that is completely doable with the existing content filtering options.
Rather, I guess you mean filtering based on the actual contents of the
message.
To do this, you can create a custom handler module to do the filtering
and add it to the pipeline. It could be added either to the
GLOBAL_PIPELINE or to a list specific pipline attribute.
There are existing patches/handlers to interface for example with
SpamAssassin. See for example
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.023.htp
--
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