[Mailman-Users] Automatic Reject Emails Larger than Size

Mark Sapiro mark at msapiro.net
Sat Jan 8 01:21:14 CET 2011

Nainil C. Chheda wrote
>How do I automatically Reject emails larger than the acceptable size 
>specified for the list?

You can set General Options -> max_message_size to establish the
maximum acceptable size.  However, this will result in large messages
being held for moderator action.

If you want to automatically reject or discard such messages without
moderator action, you have to modify the code in
Mailman/Handlers/Hold.py or implement a custom handler to do it. See
the FAQ at <http://wiki.list.org/x/l4A9> for info on custom handlers.
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