[Mailman-Users] "Official" way of altering the available admin options

Matthew Newton mcn4 at leicester.ac.uk
Tue Mar 8 18:55:00 CET 2005


[Mailman 2.1.5, Debian sarge, exim 4, Apache 2]

I'm developing a new Mailman service here, and want to be able to change
the available list of things that a mail owner/admin can change for
their list. Some things I can configure from mm_cfg.py, but not

For instance, I do not want the list owner to be changed: this request
has to come to the Computer Centre in other ways. There does not seem to
be a way of restricting this by default.

The only way I have currently found is to modify Mailman/Gui/General.py
and comment out the admin section of the list that is returned. This
does exactly what I want, but of course involves changing "program"
files rather than "config" files.

If there is no standard way of doing this, I will probably look at
writing a patch where there is a list, say mm_cfg.RESTRICT_CHANGES, that
contains all configuration sections that should not be shown.  Is this
a good idea?

I would also like to hook into the subscription code to, do at least two
things: automatically change all addresses with
s/@le\.ac\.uk$/@leicester.ac.uk/ and to block subscription requests that
match /@lists\.le(icester)?\.ac\.uk/ (I do not want to allow umbrella
lists). Is there a standard way, or hook into the code, for doing this
(on a site-wide basis, not per list)?

Thanks for any help you can give!

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