A short link to this page is https://wiki.list.org/x/4030626

Clear message

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.