| Linode Forum https://forum.linode.com/ |
|
| rDNS or PTR settings for mail hostname? https://forum.linode.com/viewtopic.php?f=11&t=11390 |
Page 1 of 1 |
| Author: | underwd [ Wed Oct 29, 2014 3:09 pm ] |
| Post subject: | rDNS or PTR settings for mail hostname? |
I have a working postfix/dovecot/mysql mail server per Linode's most recent guide on Deb. 7, in that at least I can send/receive mails for multiple users on multiple domains. I've found errors in the mail logs stating, for example "Comcast requires that all mail servers must have a PTR record with a valid Reverse DNS entry." Consider that the domain is domain.com, the mailserver used for email clients is mail.domain.com, and the FQDN is frank.domain.com There is a valid rDNS entry for domain.com, but apparently there is no way to enter another rDNS entry for mail.domain.com or frank.domain.com (I'm not sure which would be better, anyway). Does anyone have a solution for this? If I change myhostname in /etc/postfix/main.cf from frank.domain.com (as currently set) to just domain.com, will that break everything? Or should I set rDNS for the main IP address to the FQDN? Thank you for any assistance. |
|
| Author: | vonskippy [ Wed Oct 29, 2014 4:31 pm ] |
| Post subject: | Re: rDNS or PTR settings for mail hostname? |
PTR's should point to the HOSTNAME (so in your case frank.domain.com) |
|
| Author: | sweh [ Thu Oct 30, 2014 10:11 am ] |
| Post subject: | Re: rDNS or PTR settings for mail hostname? |
Basically forward and reverse lookups should match. So if I lookup 1.2.3.4 and get example.com then I should be able to lookup the A record for example.com and get 1.2.3.4. If the two values don't match then you don't have valid rDNS. (Same is also true for IPv6 and AAAA records). The name you set inside your MTA _need not_ be the same as the hostname or the rDNS lookup name, but it _should_ also be resolvable. Normally it's recommended to be the same as the rDNS value if you only have 1 IP address, but it doesn't have to be. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|