Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
How does a Reverse DNS lookup work with regards to spam filters?

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.

share|improve this question

marked as duplicate by mailq, Ward, Scott Pack, HopelessN00b, voretaq7 Aug 31 '12 at 18:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

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.

share|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
add comment

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.

share|improve this answer
add comment

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