Forrest Aldrich wrote: > > From what I gather, my scenario will require > >add_virtualhost('www.ourdomain.com', 'newdomain.com')
Do not do this. As I have tried to point out in two previous posts in this thread including the one you quote below. This will not work. If you add the above in mm_cfg.py, it will REPLACE the add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) entry, which is effectively add_virtualhost('www.ourdomain.com', 'ourdomain.com') with the entry add_virtualhost('www.ourdomain.com', 'newdomain.com') because the keys ('www.ourdomain.com') are the same. What you want to do is just leave add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) as the only entry and create the user-discuss list and after it is created, go to its General options admin page and change "Host name this list prefers for email. (host_name)" from ourdomain.com to newdomain.com. If you do put add_virtualhost('www.ourdomain.com', 'newdomain.com') in mm_cfg.py, all subsequently created lists will be created with a host_name of newdomain.com. >Since our server name will not change... it will be: > >http://www.ourdomain.com/lists/user-discuss > >but the MAIL side of it will need to be [EMAIL PROTECTED], >bidirectionally. > > >>On Thu, August 18, 2005 2:23, Mark Sapiro said: >> >> >> >>>Hans-Juergen Beie wrote: >>> >>> >> >> >> >>>>In the first case use >>>> add_virtualhost('www.ourdomain.com', 'newdomain.com') >>>> >>>> >>>This will not work. add_virtualhost() is defined in Defaults.py and >>>what it does is add a key:value pair to the VIRTUAL_HOSTS dictionary >>>where its first argument is the key and the second is the value. >>> >>> >> >>[...] >> >> >> >>>add_virtualhost('www.ourdomain.com', 'newdomain.com') >>> >>>will simply change the value associated with the 'www.ourdomain.com' >>>key in the VIRTUAL_HOSTS dictionary from 'ourdomain.com' to >>>'newdomain.com'. It will not make a second entry - Python dictionaries >>>do not support multiple entries with the same key. >>> >>>In the first case, what you do is just keep the default >>> >>>add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >>> >>>only and change the host_name attribute of the users-discuss list to >>>newdomain.com as I suggested in my previous post in this thread >>>(http://mail.python.org/pipermail/mailman-users/2005-August/046174.html). >>> -- 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