[Mailman-Users] Removing attachment

Mark Sapiro msapiro at value.net
Tue Feb 22 23:05:29 CET 2005

Allen Watson wrote:

>It really would be so much better if there were a simple setting to
>reject ALL messages with attachments, as some other mailing list
>software provides. It can't be so difficult...
>On Wed, 05 Jan 2005 14:29:38 +0100, Guillaume Morin <gmorin at sysif.net> wrote:
>> Hello,
>> I would like to remove all attachments of the mails going to a specific
>> mailing list.

Did you read the follow-ups to that thread at

If you really want to "reject ALL messages with attachments" just put


in pass_mime_types as mentioned in the first message referenced above.
Or you could put just


in pass_mime_types and reject everything except single part plain text

It isn't difficult until you start considering the non-obvious cases of
signed messages, plain text messages forwarded as attachments, plain
text attachments, etc. and what you want to do in those cases.

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