Receiving mail with Amazon SES doesn't work because the MX record resolves to the CNAME I set up for Cloudfront

0

To receive mail with Amazon SES you need to set up an MX record to point to an SES server for your domain, but if you use CloudFront (or a load balancer, I believe) you also have to set up a CNAME that points to the host of the CloudFront distribution (or load balancer). But as I understand it DNS does not allow you to have an MX record on a host if there is also a CNAME on that host. If you ask for the MX record it returns the host pointed to by the CNAME, in my case a CloudFront distribution. Is there a way around this?

1 Answer
1
Accepted Answer

If you use Route 53 for the name servers of the domain then you can point a special "A" like record to the CloudFront alias, then use the MX record I believe. If you host it outside of Route 53 then you can do an A record for the IP of CloudFront but I recommend against that as I believe does AWS.

profile picture
answered a year ago
  • Okay, thanks for the help. I'll have to see about transferring the domain to Route 53.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions