alot of orgs do a forward lookup of the sending FQDN in the banner and see if it has an A record. So you could create an CNAME for remote.ourhostname.com that points to the same IP as you receive mail.
450 4.7.1 <remote.ourhostname.com>: Helo command rejected: Host not found
Hi guys,
I have inherited a mail server from my predecessor. We seem to be getting this error from the mail que when emailing a few of our clients. 99% of the time we have no issue with any other emails. We also seem to have our emails go to spam to gmail inbox's in case this is related. From a little reading it seems that we do not have a reverse DNS record configured for the remote.ourhostname.com which can be causing our emails to be handled as spam or rejecting causing a missmatch.
After doing some nslookups in cmd i got the ip tied to remote.ourhostname.com (it says its a non authoritative answer). I then did an nslookup of the ip it gave and it returned ourhostname.com missing the remote part(no message about being non authoritative). Could this be the issue? What's the solution if so?
Or am i missing the mark here and its a problem with certain clients hostnames?
BTW on our send connectors the FQDN is remote.ourhostname.com.
Appreciate all responses to this as I'm new to it. Thanks
4 additional answers
Sort by: Most helpful
-
Andy David - MVP 142.2K Reputation points MVP
2021-12-09T15:12:39.107+00:00 Correct, you need an A record and PTR record for the IP of the sending mail server. remote.ourhostname.com.
-
Andy David - MVP 142.2K Reputation points MVP
2021-12-13T13:00:24.7+00:00 You should have a PTR record for sure. The PTR record is the reverse IP that points to theFQDN of the sending server.
I assume you already have an A and MX pointing to this server if it receives mail as well.Have you tested again?
You can look it up here:
-
Andy David - MVP 142.2K Reputation points MVP
2021-12-13T13:31:25.657+00:00 In that case, Each of the 4 servers needs its own PTR record that resolves to the FQDN of the sending server, not to remote.ourhostname.com
Make sense?The FQDN that is in the banner is not necessarily the name of the server, but you need the PTR IP to resolve to a FQDN. Each sending server should have a FQDN and IP that resolvable in external DNS.
-
Bradleeeey 46 Reputation points
2021-12-22T11:51:35.967+00:00 Hi everyone,
As an update it seems the PTR record finally took.... when i do an nslookup on remote.ourhostname we get an ip and when that ip has an nslookup performed on it we get back remote.ourhostname.com.
Now the only issue we are having is that ourhostname.com cannot connect when running an SMTP check on mx toolbox and we have had customers unable to email us at all briefly yesterday?! they all seem to be able to email again now which is odd.... guess that was the record updating?
Do i need to be worried about ourhostname.com failing the mxtoolbox smtp check?
Thanks for previous help.... looks like im getting there.