I have a working mail server and have been for several years, but I recently changed the server location some place else and as such, it has a different IP for the A record.
I have setup the DNS SPF record to have dual IP's to see if that fixes it, but it still doesn't work with Googles Mail server.
v=spf1 ip4:12.34.56.78 ip4:78.56.34.12 -all
Notes:
- My primary A record points to the first IP
12.34.56.78
.
- My other A records
mail.
, smtp.
and pop.mydomain.com
point to the second IP 78.56.34.12
.
- My PTR record points to the second IP
78.56.34.12
.
- My MX record is
mydomain.com
pointing to the CNAME mail.mydomain.com
.
- My TXT record is
v=DMARC1; p=none; adkim=r; aspf=r;
I have a feeling the A name lookup or reverse lookup is failing since the IP that the email is sent from (in this case, the first 12.34.56.78
) ends up being different from the mail server (the second IP 78.56.34.12
). I may be incorrect though about that theory so I need the advice of ServerFault members.
I should note that I do not use DKIM (yet). Only SPF is present in my DNS.
Any help would be thankful as I've been trying to fix this for about 2 days with no success. I have tried opening a topic on Googles public support system as well, but no one has been able to help me.