[Mailman-Users] Read-only setup options for administration

Narcis Garcia - GiLUG informatica at actiu.net
Tue Dec 20 10:53:49 CET 2011

Thanks, I'll try with these ways.
(/usr/lib/mailman/Mailman/Defaults.py and to /etc/mailman/mm_cfg.py)
Do ADMIN_CATEGORIES in that file work for already created lists?

I'm using Ubuntu server; where are the Mailman/Gui/modules files that 
define the pages?
A good feature would be to have each field customizable to have readonly 
attribute or min.value and max.value.

Another option could be to interfere the value validation when a list 
administrator submits the form.
Which file validates the submited values?

Al 19/12/11 18:07, En/na Mark Sapiro ha escrit:
> Narcis Garcia - GiLUG wrote:
>> Is there an easy way to make some options not customizable by a list
>> administrator?
>> We want, for example, max_message_size and/or other options cannot be
>> changed with the web interface.
> You can override the definition of ADMIN_CATEGORIES in mm_cfg.py. See
> the definition in Defaults.py for more information.
> This controls what pages/sections are visible in the web admin
> interface. However, even if you omit 'general' from the list, the
> General Options category (which contains max_message_size) will always
> be available.
> The only other way is to edit the actual Mailman/Gui/ modules that
> define the pages.
>> I suppoose that then "config_list" can be useful to export, edit options
>> manually and import any configuration.
> Yes, and to change just one or a few settings. I.e. config_list doesn't
> change anything that isn't in its input.

More information about the Mailman-Users mailing list