Incorrect Hostname Appearing in mailto address

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.
Regards, Mike
This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing.

Lynn, Michael \(A&E\) wrote:
Mails sent to the list appear with the wrong hostname in the TO: field of the email.
See <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq06.022.htp>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Lynn, Michael (A&E) wrote:
Let's call the host's primary DNS entry "uglyhostname" and we'll call the desired hostname alias for mailman "lists".
And you set up "lists" to be a CNAME alias record pointing to "uglyhostname", right? Well, don't do that.
Make sure that "lists" resolves directly to the correct IP address, and that the reverse DNS for that IP address also points back to "lists" as well as "uglyhostname".
Search the archives for "CNAME" if you need more details as to why this is the case. There might also be a FAQ Wizard entry on this subject.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>

Correct - thanks for the info.
The issue is that my corporate host naming standards dictate that hostnames must never, ever make any sense when you first read them. Logical names for hosts are relegated to CNAME status.
Thanks again.
Regards, Mike
-----Original Message----- From: Brad Knowles [mailto:brad@shub-internet.org] Sent: Monday, April 28, 2008 1:52 PM To: Lynn, Michael (A&E) Cc: Mailman-Users@python.org Subject: Re: [Mailman-Users] Incorrect Hostname Appearing in mailto address
Lynn, Michael (A&E) wrote:
Let's call the host's primary DNS entry "uglyhostname" and we'll call the desired hostname alias for mailman "lists".
And you set up "lists" to be a CNAME alias record pointing to "uglyhostname", right? Well, don't do that.
Make sure that "lists" resolves directly to the correct IP address, and that the reverse DNS for that IP address also points back to "lists" as well as "uglyhostname".
Search the archives for "CNAME" if you need more details as to why this is the case. There might also be a FAQ Wizard entry on this subject.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing.
participants (3)
-
Brad Knowles
-
Lynn, Michael (A&E)
-
Mark Sapiro