5.3. localhost.localdomain is used inside admin email URLs

When you have created a new list and send the list admin an email, that email has localhost.localdomain for the URL (ie. http://localhost.localdomain/mailman/)

How do I change this to reflect the correct hostname/path?

An obscure solution:

edit the mm_cfg.py that is under <path to mailman>/Mailman

Change the value for DEFAULT_HOST_NAME to your host.

NOTE! The above is applicable to Mailman 2.0.x only. The appropriate settings for Mailman 2.1.x are DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST, DEFAULT_URL_PATTERN and add_virtualhost(). If these are all correct, you may need to run fix_url to update the specific list(s). See FAQ 4.69 4.69 Why aren't my mm_cfg.py settings for DEFAULT_URL_PATTERN, DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST effective?.

Converted from the Mailman FAQ Wizard

This is one of many Frequently Asked Questions.

MailmanWiki: DOC/localhost.localdomain is used inside admin email URLs (last edited 2015-01-31 02:36:58 by msapiro)