We have several domains all pointing their MX records at mail.ourdomain.com, an internal mail server.
We are looking to outsource our email to a new supplier, who would like us to use mail.newsupplier.com; 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 mail.ourdomain.com 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 mail.ourdomain.com to CNAME to mail.newsupplier.com an acceptable solution?
(For the record, only the email is moving, so we'd want to leave www.ourdomain.com and everythingelse.ourdomain.com 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.
MAILandRCPTcommands 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 01 '15 at 14:20When a domain name associated with an MX RR is looked up and the associated data field obtained, the data field of that response MUST contain a domain name. That domain name, when queried, MUST return at least one address record (e.g., A or AAAA RR) that gives the IP address of the SMTP server to which the message should be directed.– Jasen May 06 '18 at 23:32