I am using cloudflare's name servers for example.com
with a cname
for www
- these are filtered through cloudflare.
In cloudflare, I have an mx record pointing to mail.example.com
and a mail
A record pointing to the mail server's IP - which is not filtered through cloudflare.
Mail is working but going to spam in gmail. So I needed a ptr record which cannot be setup with cloudflare because they do not handle mail traffic.
I setup bind9 on the mail server with a ptr record and dig -x [the mail server ip] @[the mail server ip]
successfully returns the ptr record for the mail server ip for mail.example.com
in the answer section, but the rest of the web does not see this. I tested with the mxtoolbox reverse dns lookup and it still shows the amazon ec2 hostname instead of mail.example.com. Also test emails sent from thunderbird (authenticating to the smtp mail.example.com server) are still going to spam in gmail.
Is it possible to use cloudflare for www.example.com
in combination with dns on the mail server for mail.example.com
so that the ptr record for the mail server ip will work?
No comments:
Post a Comment