My email is being rejected by GMail because:
550-5.7.25 The IP address sending this message does not have a PTR record
setup, or the corresponding forward entry does not point to the sending IP.
I have Cyberpanel server suite running on an Ubuntu server. It functions as an email server and a DNS server. It uses Postfix to run the email server. Testing my email with https://www.mail-tester.com/ I get the following message.
Your IP address x.x.x.x is associated with the domain mydomain.net.
Nevertheless your message appears to be sent from mail.mydomain.net.
You may want to change the host name of your server to mydomain.net.
Here are the tested values for this check:
IP: x.x.x.x
HELO: mail.mydomain.net
rDNS: mydomain.net
Should I update my PTR record to be mail.mydomain.net instead of mydomain.net? Or update it to just mydomain.net? If so how to update the PTR record in Cyberpanel?
Edit: Linode provides the server. Apparently you can edit the rDNS value in their admin panel under Networking tab. Still should I change mail server to be the rDNS value or change mail server name to mydomain.net instead of mail.mydomain.net? How is this normally handled?