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

In a few tutorials ive read on how to make a mail server say i need a FQDN for postfix and an exact external address to my mail server for DNS records. I am hosting 4 domain names and have one server behind a router with a static external ip. I usually just forwarded ports to my server but how can i get the to match my setup or should i just use my external IP for the server?

share|improve this question

Correct reverse DNS setup is only important for outgoing mail, not incoming mail. You can use as many hostnames pointing at your single static IP for users to use when submitting mail (e.g.,,

For sending outgoing mail you need to pick a single hostname as the canonical hostname for your mail server (this hostname doesn't have to match the domains which the server is sending mail for), for example Set this hostname as the PTR record for your static IP, ensure that it has an A record pointing to your static IP, and configure Postfix to use this as its HELO hostname.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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