Is there any easy way to get Mailman to reject oversize messages, rather than holding them for moderation, or does anyone have a patch? I'm really getting sick of dealing with those.
I spent a few minutes looking at whether I could hack it in myself. I quickly found the code that makes the "hold" decision for oversized messages, in Mailman/Handlers/Hold.py, but it wasn't obvious how to change it to do a rejection rather than a hold. The structure of Mailman seems confusing to me. It appears that it is organized in terms of making all of the "hold" decisions in one place, and the "reject" decisions in another. I'd have expected it to identify the possible problems with a message, and allow list-admin-configurable policy decisions to be made for each of those problems. But perhaps the current structure makes sense to those who have better knowledge of Mailman internals. Eric ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp