[Mailman-Users] reject on max_message_size exceeded

Mark Sapiro mark at msapiro.net
Fri Dec 7 23:05:34 CET 2012

Carlos R. Pasqualini wrote:
>i cannot find any way to reject emails (coming from valid senders) which
>exceeded the maximum allowed message size.
>mailman currently put them on hold, but i want to instantly reject it
>with an alert to the user.

Then you need to either modify Mailman/Handlers/Hold.py as indicated in
the post you found here

>the only thing i found is:
>but i don't think that shall be good idea

Or you could implement a custom handler <http://wiki.list.org/x/l4A9>
to go in the pipeline prior to Hold which would do this test and

>is there a simple/standard way of configuring this behavior?


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