E-mail domain: company.com Web domain: org.othercompany.net
So in mm_cfg.py, I _think_ I should use:
DEFAULT_URL_HOST = 'org.othercompany.net' DEFAULT_EMAIL_HOST = 'company.com'
# Because we've overriden the virtual hosts above add_virtualhost # MUST be called after they have been defined.
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
But when I examine the pages that Mailman creates with these settings, various links appear to be using the DEFAULT_EMAIL_HOST setting to generate the full URL, rather than the DEFAULT_URL_HOST. For example on the main page, where the link appears for "the list admin overview page", the URL is: http://company.com/mailman/admin , not http://org.othercompany.net/mailman/admin as I would have expected. Also, at the bottom of each lists' page, the link entitled "Overview of all <company.com> mailing lists" uses DEFAULT_EMAIL_HOST. Even the title of the main page shows "company.com Mailing Lists".
It seems to boil down to the use of Utils.get_domain(), which appears to use DEFAULT_EMAIL_HOST to extract the name of the domain if the SERVER_NAME environment variable isn't set. I would have assumed they would/shoud have used DEFAULT_URL_HOST instead. At least that's what would work in MY case (I _think_, I haven't tried it yet).
Am I missing something? Is there some other way to obtain the desired effect (ie. ONLY e-mails go to DEFAULT_EMAIL_HOST, ALL URLs are formed using DEFAULT_URL_HOST)?
Thanks,
Alan Hagge Systems Administrator
------------------------------------------------------ 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/
