[Mailman-Users] default settings for newly created lists

Tomas Macek macek at fortech.cz
Thu Apr 5 08:13:26 CEST 2007



On Wed, 4 Apr 2007, Dragon wrote:

> Tomas Macek wrote:
>> Hi, I'm running Mailman 2.1.5.1-34 on RHEL4 machine. I will have to create 
>> some lists and I don't want to go throught the bin/config_list -o list.cfg 
>> list -> edit the cfg file -> bin/config_list -i list.cfg list, but I want 
>> to edit the options, that are the source for the creating new lists when I 
>> type the ./newlist command. Where is the default setting for new lists 
>> stored? I really can't find it.
>> For example I'd like to have 'msg_footer' option set the same for all my 
>> lists, 'generic_nonmember_action' and many others set to my own default, 
>> when I create a new list. Is it possible? Where can I do it?
>> 
>> Many thanks, Tomas
> ---------------- End original message. ---------------------
>
> All of the list and server defaults are in the Defaults.py file but DO NOT 
> change that one. It gets overwritten when Mailman is upgraded.
>
> You can put the settings you want in the mm_cfg.py file, this file is used to 
> override defaults and set other options like msg_footer etc. at list 
> creation. The settings you want have to be in that file when you create the 
> list or they won't be set.
>
> Dragon
>

I knew about the changes in Defaults.py and mm_cfg.py but I didn't try to write lists config variables in it. Now I have this settings in my mm_cfg.py:

...
generic_nonmember_action = 0
GENERIC_NONMEMBER_ACTION = 0
...

I did not know, if the variables in mm_cfg.py are case sensitive, so I wrote both. But still when I try to create a new list ("./newlist x") and then dump the config, I still see generic_nonmember_action = 1. Why? What should I change?




More information about the Mailman-Users mailing list