[Mailman-Users] Remove Text

Mark Sapiro msapiro at value.net
Wed Jul 11 01:08:08 CEST 2007


Jason L wrote:

>I need to remove text from emails sent to the lists. Is there a way to do 
>this with Mailman.


Only by creating/modifying code.


>I'm trying to remove text like this.  But I have others I am trying to 
>remove.
>
>THIS IS A WARNING THAT SEVERE THUNDERSTORMS WITH TORNADOES ARE
>IMMINENT OR OCCURRING IN THESE REGIONS. MONITOR WEATHER
>CONDITIONS. TAKE IMMEDIATE SAFETY PRECAUTIONS. 


It is unclear to me whether you want to simply remove that text and
pass the rest of the post to the list or to reject/discard the entire
post based on the presence of that text in the body, but either way,
the preferred way to implement this is with a custom handler. See
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.067.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