[Mailman-Users] Blocking multi-part messages with HTML

Brian J. Watson Brian.J.Watson at compaq.com
Fri Feb 8 00:18:23 CET 2002

For the lists that I manage on SourceForge, I would like to block all
emails with 'content-type: text/html'. This would significantly reduce
the amount of spam that appear on my lists. I've added that expression
to the bounce_matching_header (privacy) option, and it seems to block
message that contain just HTML. For multi-part messages, however, it
doesn't seem to recognize that a message contains a text/html part, and
merrily lets it through.

Is there a way to block multi-part messages that have a text/html part?
The version of Mailman used by SourceForge is 2.0.5.


Brian Watson                | "Now I don't know, but I been told it's
Linux Kernel Developer      |  hard to run with the weight of gold,
Open SSI Clustering Project |  Other hand I heard it said, it's
Compaq Computer Corp        |  just as hard with the weight of lead."
Los Angeles, CA             |     -Robert Hunter, 1970

mailto:Brian.J.Watson at compaq.com

More information about the Mailman-Users mailing list