I'm not sure if there is actually something configured incorrectly, or if the tool I'm using, MXToolbox, is just giving me a false positive result.
I've disabled "Introduce a delay into the SMTP transaction for unknown hosts and messages detected as spam." in my Exim configuration and re-started Exim before testing.
Let's say my host name is host.mydomain.com and the main IP for the server is 11.11.11.11.
If I put a domain on a shared IP called "thedomain.com" in MXToolbox's MX lookup tool, it returns the shared IP address that the domain is set to. Let's call it 22.22.22.22.
If I then do MX Toolbox's SMTP test on 22.22.22.22, all the tests are okay except for "SMTP Reverse DNS Mismatch" which gives the error "Reverse DNS does not contain the hostname."
Next, I logged onto the server and checked the hostname of the server:
Then I checked to see what hostname is returned if I use the shared IP address:
So both of the main IP and shared IP appear to be pointing to the correct hostname.
Next, I checked the A record and PTR record for the domain:
So it looks like the hostname is returned for both the main IP and the shared IP, as I think it should be, and the A record and PTR record for the domain on the shared IP appear to be doing what they should. Does that mean that MXToolbox is giving me a false positive, or is something actually wrong with my setup?
I've disabled "Introduce a delay into the SMTP transaction for unknown hosts and messages detected as spam." in my Exim configuration and re-started Exim before testing.
Let's say my host name is host.mydomain.com and the main IP for the server is 11.11.11.11.
If I put a domain on a shared IP called "thedomain.com" in MXToolbox's MX lookup tool, it returns the shared IP address that the domain is set to. Let's call it 22.22.22.22.
If I then do MX Toolbox's SMTP test on 22.22.22.22, all the tests are okay except for "SMTP Reverse DNS Mismatch" which gives the error "Reverse DNS does not contain the hostname."
Next, I logged onto the server and checked the hostname of the server:
Code:
[[email protected] ~]# host 11.11.11.11
11.11.11.11.in-addr.arpa domain name pointer host.mydomain.com.
Code:
[[email protected] ~]# host 22.22.22.22
22.22.22.22.in-addr.arpa domain name pointer host.mydomain.com.
Next, I checked the A record and PTR record for the domain:
Code:
[[email protected] ~]# dig thedomain.com +short
22.22.22.22
[[email protected] ~]# dig -x 22.22.22.22 +short
host.mydomain.com.