There seems to be some debate (eg. here) about whether its acceptable to have an MX record which refers to a domain which has a CNAME record.
10.3 of RFC 2181 says it's definitely not allowed, but the first link about suggests people do it anyway and it works. RFC 2181 is dated 1997, what works and doesn't work could well have changed a lot in that time.
I want to use amazon SES to send and receive emails including using customers' own domains. However I would like the service to be as white labels as possible (both to look smart and leave the option to switch to other email services in future). I've confirmed I can white label both SPF
and DKIM
records, my only concern is MX
but that's kind of the most important. :-(
Will it work to have a subdomain of my service with a CNAME record
mail.theservice.com CNAME amazonses.com
Then ask customers to set a MX record
thecustomer.com MX 5 mail.theservice.com
I'm then hoping an email sent to jane.joe@thecustomer.com
to be delivered to amazonses.com
.
Is it possible it will have patchy success with some SMTP servers not respecting the CNAME alias?
Is there an authoritative answer on this anywhere?
(Note this not the same as this related question. I'm asking about MX > CNAME
, that's about CNAME > MX
)