I had Cloudflare configured just right, but recently migrated to a new VPS service, which messed up all my email routing. I can’t send verification emails as everything is dropped by Cloudflare, who still manages the email routing. Any advice?
What changes did the VPS require?
The issue is that I am using a domain that I have with Cloudflare and simply changed the IP address in the DNS records. Using Leafdns I get the following error:
None of your MX record IP addresses have corresponding reverse DNS entries (PTR records). If these MX records are used to send outgoing mail this will cause them to trip anti spam filters. Many SMTP servers will not accept mail from an IP with no reverse DNS.
I’ve got my new VPS all set up and don’t have any other leafdns errors for my website.
You can rest easy in the knowledge that the hosts in those MX records will never be relaying your domain’s outbound mail. The lack of matching PTR records is inconsequential here.
I can’t verify my email because I can’t even get email to begin with
None of those dropped messages are using your domain in the sender address, which is what the warning from LeafDNS was addressing. I don’t know why your messages are being dropped by Cloudflare email routing, but it definitely isn’t due to PTR records.
I’m not sure where to go from here then. No other errors on leafdns. I had assumed that I had configured something wrong, but was confused since it worked perfectly before moving to the new VPS. Noteworthy that on the previous vps I was using a different domain, so this may have contributed since the VPS hostname runs through a domain I have with Cloudflare, whereas the other did not.
Are you using Cloudflare email routing to forward to a mailbox on your VPS or a mailbox with a third-party email service?
I have the email set up on the VPS and have Cloudflare email routing set to forward the emails to their destinations. I have all the mx records added for Cloudflare, as you can see from the leafdns error above, and it seems ‘some’ emails are able to be sent out from the vps directly (just had one work recently), but I cannot receive the confirmation emails and there seems to be no clear resolution as to how to make it work beyond what I have already done.
In short, I can send emails most of the time, but am unable to receive any, severely hindering my ability to confirm my email address.