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

I run smtp and pop3 server in local computer. I have domain name and set up MX record for this domain. Please, explain me anybody how smtp server name depend at MX record? And where must i specify the MX record in smtp server config?

Thank you.

share|improve this question
Your low accept rate does not encourage people to answer your questions. Please read this as to why it's important to you and stackoverflow to accept your answers:… – Gray Jul 5 '12 at 21:14
up vote 2 down vote accepted

Maybe first paragraph of wikipedia's entry will help

A mail exchanger record (MX record) is a type of resource record in the Domain Name System that specifies a mail server responsible for accepting email messages on behalf of a recipient's domain and a preference value used to prioritize mail delivery if multiple mail servers are available. The set of MX records of a domain name specifies how email should be routed with the Simple Mail Transfer Protocol.

So, MX records specify which server is responsible for a domain.

On the side of the receiving server you don't need to specify a MX record, but only domain name and you have to allow connection from the internet.

Once that is done you have

  • MX record which allows any mail server to know where to route mail (to which server)
  • a receiving server which accepts the mail

Result is that mail is delivered.

share|improve this answer
The smtp server name must be same as mx record? – shk Jan 21 '11 at 9:51
MX record is a mail server. – Unreason Jan 21 '11 at 9:53

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.