I have a question about setting a reverse DNS record for my mail server.

Which is the best way to configure:

1.) The IP address reverses to the domain that is sending the email (ie. @mydomain.com)

2.) The MX record target for all domains on the mail server (ie mail.mailserver.com)

Any help is appreciated.

link|improve this question

56% accept rate
possible duplicate of How does a Reverse DNS lookup work with regards to spam filters? – mailq Nov 30 '11 at 20:56
feedback

2 Answers

up vote 1 down vote accepted

The PTR record should point to the mailserver hostname(that you should also have a A record for). Due to when email is sent in the headers you will see the server hostname and that is what the spamcheckers see.

A SPF record is used to verify the email for the domain name is coming from the right server.

link|improve this answer
1  
To put a little finer point on it: your A and PTR records should match the FQDN that the server identifies itself with in the SMTP HELO command. – joeqwerty Nov 30 '11 at 22:30
It's worth noting that SPF records are less valuable than DK/DKIM. ISP's give a lot more weight to valid DK/DKIM signatures than SPF - at least in terms of a host's overall reputation. That said, you should employ both. – anastrophe Dec 1 '11 at 7:11
feedback

You have an A record for the MTA, and an MX record to match. Add a PTR as well. Repeat for every MTA you want to use.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.