On 7 Dec 2012, at 15:52, Carlos R. Pasqualini wrote:

Hi

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.

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

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

Not inside Mailman.

A solution that does not require modifying Mailman code is to put the size restrictions in the MTA's configuration instead. Most MTA's support global message size limits so if you can live with one limit for all lists and all other addresses served by your MTA, you can just set that global limit as a fix. If you need more granularity, many mail filtering tools that act as adjuncts to an MTA (e.g. amavisd-new, mimedefang, etc.) can enforce recipient-specific message size limits before messages are accepted by the MTA. If you are already doing strong spam filtering there is a good chance that you have the tools you need in place, although it may take some work to implement a solution.

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to