[Mailman-Users] maximum size

Matthew Newton mcn4 at leicester.ac.uk
Fri Jun 23 00:19:34 CEST 2006


On Thu, Jun 22, 2006 at 09:12:56AM -0700, Mark Sapiro wrote:
> Eduardo Núñez wrote:
> >Can I fix messages's size for all lists?
> >
> >I want that administrators can't modify this.

> There are a couple of ways to accomplish this, but they involve
> patching Mailman code. Without modifying code, there is no way to
> prevent list admins from changing the limit.

My patch would allow you to do this. It's this one:

https://sourceforge.net/tracker/index.php?func=detail&aid=1164457&group_id=103&atid=300103

(sf.net patch 1164457)

After applying that you should be able to just add:

SITE_HIDE_LIST_OPTIONS = ['max_message_size']

to mm_cfg.py, and it will remove the option from the admin
interface.

The patch is for 2.1.5; I haven't tested it against a newer
version yet, so hopefully it will apply OK.

Hope that helps,

Matthew


-- 
Matthew Newton <mcn4 at le.ac.uk>

UNIX and e-mail Systems Administrator, Network Support Section,
Computer Centre, University of Leicester,
Leicester LE1 7RH, United Kingdom



More information about the Mailman-Users mailing list