[Mailman-Users] stopping HTML posts

alex wetmore alex at phred.org
Mon Dec 25 17:32:47 CET 2000


On Mon, 25 Dec 2000, Ken Kyler wrote:
> > I would like to bounce anything that is not text only, or that has an
> > attachment.
> 
> On the Privacy page, in the "Hold posts with header value matching a specified
> regexp" option, put something like the following:
> 
> # the following is for attachments
> Content-Type: multipart/*
> Content-type: text/enriched

Or use a filter which strips out HTML and leaves behind the plaintext. 
I've written one called stripmime which is available at
http://www.phred.org/~alex/stripmime.pl

alex





More information about the Mailman-Users mailing list