Hello,
I have web server with Digital Ocean provider, and the Mailcow server with eth-services.
I have set up the following DNS records:
@ A **1.2.3.4** (links to webdomain.org)
mail A **5.6.7.8** (links to mail.domain.com)
autoconfig CNAME mail.domain.com
autodiscover CNAME mail.domain.com
@ MX 10 mail.domain.com
@ TXT "v=spf1 mx a -all"
_dmarc TXT "v=DMARC1; p=reject;"
dkim._domainkey TXT "v=DKIM1;k=rsa;t=s;s=email;p=keyhere"
1.2.3.4 is the IP of the web server, webdomain.org
5.6.7.8 is the IP of the Mailcow server, mail.domain.com
Receiving and sending email is fine, but I get the following warning from Google for my emails:
host gmail-smtp-in.l.google.com[142.250.147.27]
said: 550-5.7.25 [ 5.6.7.8] The IP address sending this message does
not have a 550-5.7.25 PTR record setup, or the corresponding forward DNS
entry does not 550-5.7.25 point to the sending IP. As a policy, Gmail does
not accept messages 550-5.7.25 from IPs with missing PTR records. For more
information, go to 550 5.7.25
https://support.google.com/mail/answer/81126#ip-practices
e14-20020a170906044e00b00a31235940c3si2773906eja.0 - gsmtp (in reply to end of DATA command)
Checking mail-tester.com, I get the following warning:
Reverse DNS lookup or reverse DNS resolution (rDNS) is the determination of a domain name that is associated with a given IP address.
Some companies such as AOL will reject any message sent from a server without rDNS, so you must ensure that you have one.
You cannot associate more than one domain name with a single IP address.
Your IP address 5.6.7.8 is associated with the domain webdomain.org.
Nevertheless your message appears to be sent from mail.domain.com.
You may want to change your pointer (PTR type) DNS record and the host name of your server to the same value.
Here are the tested values for this check:
IP: **5.6.7.8**
HELO: **mail.domain.com**
rDNS: **webdomain.org**
Does anyone know what I am doing wrong? Is it not possible to link to separate domains for web and email?