We have an application running on Microsoft Azure and have set up a CNAME record to cover the domain so we can have the nice URL of http://example.com (note I am replacing our real domain with example.com throughout this).
CNAME
mydomain.com -> mydomainapp.cloudapp.net
We have MX and A records setup correctly so MX contains mailserver.example.com and an A record that points mailserver to the correct IP address.
MX
mailserver.example.com
A
mailserver -> 198.168.111.111 (note this IP is fictitious)
All fine, for most email BUT for some mailservers (not sure what technology yet) they are now using the CNAME instead of the MX and A records.
So an email addressed to [email protected] is actually sent to [email protected] where example.cloudapp.net is the domain on Azure that we have mapped with the CNAME.
EMAIL TO: [email protected]
BECOMES: [email protected]
The only suggestions I can find simply say DO NOT have domain level CNAME or do not use CNAME at all, but of course Azure IP addresses can change so we have to use CNAME. We could prefix everything www.example.com but surely there must be a better solution.
Any ideas much appreciated.