Link to home
Start Free TrialLog in
Avatar of Mike Jensen
Mike Jensen

asked on

Email Rejected: Invalid RDNS Entry

I am trying to send an email to someone and I keep getting an error message stating that it was rejected by their mail server with the reason of the RDNS entry being invalid for IP address xxx.xxx.xxx.13.

My MX record indicates xxx.xxx.xxx.10 for mail.mydomain.com.

The PTR record I have is xxx.xxx.xxx.13 for mail.mydomain.com.

I sent an email out to another email address and looked at the header. The header indicates that it was received from IP address xxx.xxx.xxx.13 and domain of mail.mydomain.com.

Why is my email continuing to be rejected when my PTR record matches the information found in the header?
Avatar of Jeremy Weisinger
Jeremy Weisinger

You need an A record that points mail.mydomain.com to x.x.x.13.
Avatar of Mike Jensen

ASKER

You need an A record that points mail.mydomain.com to x.x.x.13.

If I understand correctly, I could change the PTR record to match the A record and get the same result.

Why would the header state that it is coming from x.x.x.13 and not x.x.x.10 if my A record is set to x.x.x.10?

I should've also mentioned that I own both of those IPs.

Could it be that since x.x.x.13 is the last IP in the stack, that it simply defaults to show that when it is really coming from x.x.x.10?
The IP is completely dependent on what your firewall is NATing it to. So your A record and PTR records need to match that.
The IP is completely dependent on what your firewall is NATing it to. So your A record and PTR records need to match that.

Just last night, I matched my PTR record with my MX A record and I am still unable to send out an email to the recipient. I am getting the same error message as before.
So you now have:
- an A record for mail.mydomain.com that points to x.x.x.13
- A PTR for x.x.x.13 that points to mail.mydomain.com
Correct?
And the SMTP header shows that it is sending from x.x.x.13?

How long did you wait for DNS propagation before testing?
I have an IP block from .9 to .13 plus the static for my modem .14. The MX A record for mail.mydomain.com is pointing to .10. My PTR record is pointing to mail.mydomain.com and .10. My SPF record is set to "v=spf1 mx a ?all". Though the email header I saw states mail.mydomain.com with IP .13.
ASKER CERTIFIED SOLUTION
Avatar of Jeremy Weisinger
Jeremy Weisinger

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I ended up changing the firewall NAT policy for .10. This fixed my issue. I was finally able to send that email. Thanks for your help!