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 Antwort
1
Akzeptierte Antwort

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
beantwortet vor einem Jahr
  • Okay, thanks for the help. I'll have to see about transferring the domain to Route 53.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen