My server has 3 IPs: 2 for dns stuff for example 192.0.2.1
and 192.0.2.2
, and one that I use for outgoing email, let's say 192.0.2.3
. My hostname is mail.mydomain1.com
.
The problem began when I created rDNS for the third IP with another domain than the first, mydomain2.com
. When I send an email from the first domain to an email tester, it tells me that the mail server is mail.mydomain1.com
as configured in postfix but the rDNS for the IP 192.0.2.3
is associated with another domain, mydomain2.com
.
Should the rDNS always be the same as the mail server hostname?