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 several domains all pointing their MX records at, an internal mail server.

We are looking to outsource our email to a new supplier, who would like us to use; their mail server.

We'd rather not change all of the domain names to point to that MX record; several aren't in our control, and it would mean attempting to get many parties to change their MX records at the same time, which seems problematic.

Simpler would be to repoint at the IP for the new supplier. The problem is that our supplier isn't able to guarantee that IP will be fixed.

My question is, therefore: is changing to CNAME to an acceptable solution?

(For the record, only the email is moving, so we'd want to leave and unchanged.)

I've found several messages warning of the dangers of CNAMES in MX records, but I can't quite find someone talking about this particular setup, so any advice will be greatfully received.

share|improve this question
up vote 23 down vote accepted

According to RFC 1123, the MX record cannot point to a CNAME. If I were in your situation, I would setup as an A record pointing to the new suppliers IP address and then quickly work on changing all MX records over to the correct data. Then address why changing MX records is so difficult in your organization.

That being said, most mail servers will still submit mail to a CNAME; however, you can't be guaranteed of it.

share|improve this answer
I would stick to the RFC: No you can't. – Benoit Nov 4 '09 at 18:26
Could you please clarify the RFC reference? Looking at RFC 1123, I can only see it saying that the domain names used in MAIL and RCPT commands cannot be a CNAME (in section 5.2.2). I cannot find anything in it about an MX record pointing to a CNAME. I also cannot find any particular reference to CNAMEs in RFCs 973 or 974, which defined MX records. – Dolda2000 Jun 1 '15 at 14:20

There are companies that provide Backup SMTP Service aka email store and forward. Perhaps you could use one of those companies to wash the IP for you.

If they can't be the permanent middleman maybe just having them as a secondary MX record will help with the transition process so you don't have undeliverables bouncing around.

If you are currently speaking of one of those sorts of companies maybe you could second source it and have them forward back to the first source.

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.