[Mailman-Users] Attachment size limit (or max_message_size)

Scott Race scott at 916networks.com
Thu Jan 20 01:06:59 CET 2011

Ah, I see what's going on. So for the particular lists were working on, all messages to the list are held for moderation.  So, it seems clicking "Accept" will accept the message, even if the message size is too big.

We recently (4 months ago) upgraded from Debian 4 to RHEL5. On the previous box, I believe we were running Mailman 2.1.12 (not sure), messages over the max_message_size limit would not hit the list and bounce back to the user with that message.

The company I'm working with is hoping the system can kick back messages over the max_message_size before it hits moderation.  Is that possible?

Would adding GLOBAL_PIPELINE directives to mm_cfg.py get that done?


-----Original Message-----
From: Mark Sapiro [mailto:mark at msapiro.net] 
Sent: Wednesday, January 19, 2011 1:22 PM
To: Scott Race; mailman-users at python.org
Subject: Re: [Mailman-Users] Attachment size limit (or max_message_size)

Scott Race wrote:
>Running mailman 2.1.13 on RHEL5.  From what I've read, the max_message_size setting in a list will be the max size for the message text (body) plus attachment.  Therefore, max_message_size setting of 1000 would be approximately a megabyte for the message and any attachments.


>I've set that for all my list, but can still get a 5MB attachment to go through no problem.  Is there something I'm missing?

The setting of 1000 should cause any message whose raw size is over 1
MB to be held for moderator approval with reason "Message body is too
big: nnnn bytes with a limit of 1000 KB".

This will not occur if the message is pre-approved with an Approved:
<password> header or first body line, but should occur in other cases.
Of course, if a moderator approves it, it will go to the list.

If you are sure it isn't working in your case, we'd need to see an
actual example message to figure out why. You could send me one off
list if you wish.

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