
This may be an issue I need to post to a sendmail list... but I'll start here.
I have configured mailman and everything is up and working fantastically... with one issue:
Mails sent to the list appear with the wrong hostname in the TO: field of the email.
Let's call the host's primary DNS entry "uglyhostname" and we'll call the desired hostname alias for mailman "lists".
A user can send mail to "lists.internal.domain.com" and it gets to the host and is processed properly by the aliases and mailman and delivered to the list. However, users viewing the message see:
To: listname@uglyhostname.location.domain.com
I have sendmail configured to masquerade as follows: DMlists.internal.domain.com
And I've even changed the hostname on the server using /etc/sysconfig/network HOSTNAME=lists.internal.domain.com
Here's a snip from my mm_cfg: --8<-- DEFAULT_URL_HOST = 'lists.internal.domain.com' DEFAULT_EMAIL_HOST = 'lists.internal.domain.com'
# Because we've overriden the virtual hosts above add_virtualhost # MUST be called after they have been defined. VIRTUAL_HOSTS.clear() -->8--
Any ideas on how I can ensure that uglyhostname is not included in my lists mails?
Thank you in advance.