[Mailman-Users] change email_host in all lists

Mark Sapiro msapiro at value.net
Wed Jun 1 01:53:57 CEST 2005

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

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

Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list