asked on
ASKER
ASKER
ASKER
Within Internet message handling services (MHS), a message transfer agent or mail transfer agent (MTA) or mail relay is software that transfers electronic mail messages from one computer to another using a client–server application architecture. A MTA implements both the client (sending) and server (receiving) portions of the Simple Mail Transfer Protocol (SMTP). The terms mail server, mail exchanger, and MX host may also refer to a computer performing the MTA function. The Domain Name System (DNS) associates a mail server to a domain with mail exchanger (MX) resource records containing the domain name of a host providing MTA services.
TRUSTED BY
I think you can fix this a couple ways. The first to try is setting the hostname variable on the server. If you login as root and type: "/bin/hostname" it should spit out your server's name (the unqualified one). You should set that to the full dns name of the server:
# /bin/hostname mailserver.yourdomain.com
Then restart sendmail. It should start announcing itself
The other setting (if I remember correctly) is in the /etc/mail/sendmail.mc file:
MASQUERADE_AS(`mailserver.
Tweak that line, backup your /etc/mail/sendmail.cf file, recreate the sendmail.cf file:
# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
and restart sendmail.