Route 53 settings for mail

0

Hi community, i have a hosted zone in AWS Route 53 managing my external domain that is working correctly:

  • the A-record correctly routes my domain to a cloudfront address
  • at my external domain provider i have correctly set the 4 aws name servers as well as in route 53
  • additionally i have a CNAME record to use the alias for the cloudfront resource Summing up: customers that type in my domain in the browser get correctly routed to the right aws resource

Now, i also want to integrate the mail account i have with that external domain (something like donotreply@mydomain.com). I noticed that i cannot receive mails for that account which is why i suspect i am missing the proper configuration since domain mgmt is all in route 53 instead of my domain's place. I have added a MX record for my domain with the mail receiving imap server as well as a TXT record to include that imap as well as the outbound smtp server ... still not getting any mails.

What am i missing?

asked 19 days ago81 views
2 Answers
0

IMAP can not recieve emails over the internet with an MX record. It will have to be an SMTP Server address your MX record points too. Im not sure what TXT record you have setup but an MX record for a SMTP server is sufficent

profile picture
EXPERT
answered 18 days ago
  • i was hesitant to set the smtp server as the mx record because the external domain provider explicitly states only pop3 and imap for inbound and smtp only for outbound.

    sending a test mail now from a gmail account to that mail address results in a "The response from the remote server was: 530 5.7.0 User not authenticated"

  • Perhaps have your email for mydomain.com hosted somewhere else like gmail?

0

You're missing the incoming SMTP server there.

One option could be to use SES for incoming email https://docs.aws.amazon.com/ses/latest/dg/receiving-email.html.

Or you do like I have, run postfix on an EC2 instance, and forward emails from that server to gmail.

Depends a little how you want to use those emails.

xanthic
answered 18 days ago
  • thx for the info regarding aws ses as a email receiver, actually my plan is to use aws ses as sender but unfortunetaly i cannot set it up yet because the verification mail cannot be delivered to that domain due to the above described problem. so first i need the mail account under that domain to be receiving mails in order to set aws ses up

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