[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:
>http://www.mail-archive.com/mailman-users@python.org/msg46813.html
>
>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
rejection.
>is there a simple/standard way of configuring this behavior?
No.
--
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