Reverse dns setup for mail server
Hi, I hope someone can help me out, I'm a little stuck.
I'm trying to get Yosemite's mail server to work correctly. It works fine for the most part but some mails are undeliverable due to not having reverse DNS setup correctly for the mail server.
I have one server which handles DNS, DHCP, and OD, amongst other things and another which is a dedicated mail server, no DNS or anything else setup on that one, just mail.
Email can be sent and received fine apart from for a few addresses which cause errors due to no reverse DNS.
The hostname and domain name are different and i think that's what is throwing me off in the DNS setting pane. The host name is XYZ.private with every client machine in the office bound to this domain. The domain is my company.com with the mail server being mail.mycompany.com.
So, the DNS server is macminiserver1.XYZ.private, the mail server is macminiserver2.XYZ.private and the mail domain is mail.mycompany.com.
I'm stuck setting the reverse DNS as the Server.app defaults to the XYZ.private and I'm not sure how to proceed. Any help would be greatly appreciated.
Thanks!