Our office is hosting its own DNS and mail server. We are running Slackware64 14.1 kernel 3.10.17, sendmail 8.14.9.
In running some tests (e.g. mbxtoolbox.com) I've determined that, "The SMTP banner issued by your email server did not contain the hostname we resolved for your server’s IP address." For example:
$ telnet ohprs.org 25
Connected to ohprs.org.
Escape character is '^]'.
220 mail.hprs.local ESMTP Sendmail 8.14.9/8.14.9; Thu, 19 Feb 2015 22:34:10 -0500
The 220 response has mail.hprs.local, which is the local hostname, but not the public name for sending emai, e.g. firstname.lastname@example.org.
Also I have:
$ host ohprs.org
ohprs.org has address 18.104.22.168
ohprs.org mail is handled by 20 mail.ohprs.org.
ohprs.org mail is handled by 10 webserver.ohprs.org.
The A and MX records are hosted at networksolutions.
How do I fix this? Can I fix this or does network solutions have to do it? If I can do it (please tell me how), which domain name should I have the 220 response answer with: mail.ohprs.org or ohprs.org?