-1

I am trying to setup a custom email for a company website. The only issue is that when sending an email to a gmail account, I get the following back:

The mail system : host gmail-smtp-in.l.google.com said:
The IP address sending this message does not have a PTR record setup, or the corresponding forward DNS entry does not point to the sending IP. As a policy, Gmail does not accept messages from IPs with missing PTR records. Please visit https://support.google.com/mail/answer/81126#ip-practices for more information.

I have my records on Cloudflare as seen here: Image of DNS records on Cloudflare

On Linode which is hosting my VPS, I have the rDNS as seen here: Image of rDNS on Linode

I used an email checker mail-tester.com to check my email noreply@example.com. It returned the following: Image of mail-tester output I don't quite understand what the issue is as I have never done this before.

Learner
  • 1
  • 1

1 Answers1

1

It appears that your email server is sending example.com in the HELO command rather than mail.example.com. You need to change this in the configuration of your email software.

joeqwerty
  • 109,901
  • 6
  • 81
  • 172
  • I didn't setup the software. I ran this script: https://github.com/LukeSmithxyz/emailwiz So I don't really know how I would go about editing that. – Learner Jan 12 '23 at 18:12
  • The forward and reverse record must match. E.g. `mail.example.com` *must* point to your ip, and the PTR for your IP *must* point to `mail.example.com` – vidarlo Jan 12 '23 at 18:26