Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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

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.

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
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

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

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