Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Could someone help answer a few questions regarding the networking / DNS requirements for an SMTP server? Assume the server is setup already.

Is a MX record required for SMTP? TCP port 25 open to the server? Any other DNS records?

share|improve this question
up vote 1 down vote accepted

You may want to consider an SPF record as well.

share|improve this answer

You need port 25 open. An MX record is preferred, but any RFC-compliant server will fall back to the A record for your domain if one doesn't exist.

share|improve this answer
Thanks Bill. So even though the server is not receiving mail, just sending, a MX is preferred? And thanks for confirming, TCP 25. It <b>does</b> seem to be working without, however. – Bill Smith Jul 6 '10 at 18:21
The phrase "server" implies you're receiving. If you're just sending, you don't need any of that. – Bill Weiss Jul 6 '10 at 18:30

I noticed you used the relay tag - that functionality may be disabled by default, depending on what you're using. You'd need to add the upstream host to the relay host's list of trusted SMTP sources.

share|improve this answer

Outbound mail servers don't need an MX record but be advised that some email providers (most notably AOL) will check for a reverse DNS (PTR) record for the FQDN your server provides when communicating. I'd suggest adding a PTR.


share|improve this answer

Your Answer


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