Meike Reichle wrote: > >we just changed our email domain so I now have to change the email_host >entry in all our mailing lists. I adjusted the DEFAULT_EMAIL_HOST in >mm_cfg.py. But I also have to change that value in all existing lists. I >know this can be done using the web interface but we have quite a lot of >lists, so I would very much prefer to do this on commandline. I checked >and found out that can be done using config_list and a file containing >just this one setting. So I created a file containing the line >DEFAULT_EMAIL_HOST = 'my new domain' however when doing config_list -i >this_file -c I got the error "attribute "DEFAULT_EMAIL_HOST" ignored". > >Does this attribut have a different name within the already created >lists or is this just because I used the -c flag? I also tried >email_host but with the same effect ("attribute "email_host" ignored").
As Jim Tittsler already pointed out, yes - the list attribute is host_name. But what you really want is bin/fix_url.py which is a withlist script designed to fix lists after changes to DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST. Just run bin/fix_url.py stand alone for instructions. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org 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