problem after changing the server name
Hello,
With mailman 2.1.13-5 on Debian/Squeeze, i encountered a problem after changing the name of the server.
The administration web pages of the existing lists, continue to use the old server name.
It seeems the server name is encoded in file /var/lib/mailman/lists/<list-name>/config.pck updated by the command "config_list -i <config-file-name>", but i do not find manner to modify the server name into those pages. host_name specifies only the domain in the e-mail adresses.
Is there solution without recreating the lists?
Thank you for your help.
dom
On 01/05/2014 08:00 AM, Dominique Asselineau wrote:
It seeems the server name is encoded in file /var/lib/mailman/lists/<list-name>/config.pck updated by the command "config_list -i <config-file-name>", but i do not find manner to modify the server name into those pages. host_name specifies only the domain in the e-mail adresses.
See the FAQs at http://wiki.list.org/x/gIA9 and http://wiki.list.org/x/mIA9.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 2014-01-05 12:05 PM, Mark Sapiro mark@msapiro.net wrote:
On 01/05/2014 08:00 AM, Dominique Asselineau wrote:
It seeems the server name is encoded in file /var/lib/mailman/lists/<list-name>/config.pck updated by the command "config_list -i <config-file-name>", but i do not find manner to modify the server name into those pages. host_name specifies only the domain in the e-mail adresses.
See the FAQs at http://wiki.list.org/x/gIA9 and http://wiki.list.org/x/mIA9.
Thanks Dominique and Mark - I had completely forgotten about this after migrating everything to my new server yesterday.
Mark - the only setting that changed on mine is the DEFAULT_URL_PATTERN, but I'm guessing I still need to do the full command.
So, before I do something dumb and blindly run the command and possibly mess up my lists (that seem to be working fine), I simply cd to the /bin directory, and run:
bin/withlist -l -a -r fix_url -- [fix_url options]
?
Or do I need to actually specify something for the word 'options'?
Thanks again!
Charles
On 01/05/2014 09:24 AM, Tanstaafl wrote:
Mark - the only setting that changed on mine is the DEFAULT_URL_PATTERN, but I'm guessing I still need to do the full command.
So, before I do something dumb and blindly run the command and possibly mess up my lists (that seem to be working fine), I simply cd to the /bin directory, and run:
bin/withlist -l -a -r fix_url -- [fix_url options]
?
Or do I need to actually specify something for the word 'options'?
[fix_url options] in the above stands for those options (i.e., -u HOST and/or -v) you might want to specify to fix_url.
Assuming you have only one URL domain and email domain and they are properly set as DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST, what you need to run after changing DEFAULT_URL_PATTERN is just
bin/withlist -l -a -r fix_url
or to see what it's doing
bin/withlist -l -a -r fix_url -- -v
(the -- separates the fix_url options from the withlist options).
If you have multiple virtual hosts, it's more complicated. You need to run
bin/withlist -l -r fix_url LISTNAME -u HOSTNAME
where LISTNAME is a list name and HOSTNAME is the URL host for that list separately for each list.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 2014-01-05 12:53 PM, Mark Sapiro mark@msapiro.net wrote:
Assuming you have only one URL domain and email domain and they are properly set as DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST, what you need to run after changing DEFAULT_URL_PATTERN is just
bin/withlist -l -a -r fix_url
or to see what it's doing
bin/withlist -l -a -r fix_url -- -v
Spot on as always, Mark, thx - and yeah, I just have the one domain, so it was easy peasy... took all of what, .5 seconds? :)
participants (3)
-
Dominique Asselineau
-
Mark Sapiro
-
Tanstaafl