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?


------------------------------------------------------
Mailman-Users mailing list
[email protected]
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

Reply via email to