[Mailman-Users] filtering excess quotes
Mark Sapiro
mark at msapiro.net
Tue Apr 15 03:14:08 CEST 2008
chris burgess wrote:
>There are a few posts querying this capability, and one in particular which
>suggests that a similar facility would exist in 2.1
>
>http://www.mail-archive.com/mailman-users@python.org/msg05666.html
>
That's not how I read it. It seems to me that Chuq was only saying that
he would support the idea of adding the "hold posts containing key
footer strings" feature to 2.1.
>I've looked in the various content-filtering, privacy and spam filter
>sections but can't see where/how I could hold messages which match the text
>"Please trim quotes", if that text was inserted into the footer of each
>outgoing message. We're using MM2.1.9
>
>Does anyone know how this can now be achieved?
See below.
>Also - a few other similar requests from years gone by:
>http://www.mail-archive.com/mailman-users@python.org/msg48840.html
The above is your own post from an hour before.
>http://www.mail-archive.com/mailman-users@python.org/msg29350.html
>
>And for digests:
>http://www.mail-archive.com/mailman-users@python.org/msg23287.html
>
>There are lots more requests like this in the list archives, but no clear
>answer that I can see.
>
>On Tue, Apr 15, 2008 at 11:19 AM, chris burgess <xurizaemon at gmail.com>
>wrote:
>
>> Does Mailman have a facility to prevent or hold messages which have excess
>> quoted contents, eg where the message content is severely outweighed by a
>> length bottom-quote?
Standard Mailman does not have a directly configurable way to examine
message content as opposed to headers. This is an easy thing to
implement using a custom handler. See
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.067.htp>.
That is, it is easy to implement a handler to look at the message body
and modify the body or hold the message based on what it finds.
Actually coding the part that recognizes those things you're trying to
deal with, and deals with them appropriately may not be so easy.
--
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