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

We have a testing server with its own domain name. We don't want any email to be sent from this domain. We don't want any email to be received on this domain.

Is it ok to remove the MX record from the DNS?

share|improve this question
up vote 11 down vote accepted

Yes, an MX record is there only for incoming mail.

share|improve this answer
While this is true, MX records are also used by some spam detecting mechanisms. So if you try to send outgoing mail to some other server, it might reject you because of missing or incorrect DNS entries, including your MX record (is there an MX record for the domain you are trying to send from, if so, does it point to the server you are sending from ...) – Isaac Apr 16 '13 at 20:11
Isaac - The OP stated that he doesn't want to send OR receive email from or to this server. In addition, any spam mechanism that uses the MX record for a domain (instead of the SPF record for the domain) is doing it wrong. – joeqwerty Apr 17 '13 at 4:26

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.