Retrieving Email Addresses Using Amazon AWS SES

I use AWS SES to send emails using my domain name. Sending works fine. But now I want to receive all emails sent using my domain, such as abc@example.com in SES.

I am trying to receive email using a set of rules defined to perform the Lambda function or to store emails in an S3 bucket.

When I try to send an email using gmail to the email address of my domain, it is not accepted on the S3 list, and the Lambda function also fails.

I have already done the following things:

  • Confirmed my domain using SES, (CNAME, TXT records in my DNS provider i.e. GoDaddy)

    Added MX record for my domain in DNS settings

    A specific set of rules for receiving emails for abc@example.com and storing email in S3 trash.

Now, when I send an email to this address, I do not receive anything in the S3 bucket. I don’t even get a delivery failure notification (this means that the MX record is working fine with my domain provider)

Please, help.

+5
source share
1 answer

This question is older than a year, and I assume that you tried to send an email using a service other than gmail. It seems that your MX records may still point to your GoDaddy instance, or at least one with a fairly high priority. You can try running an MX query to verify this. Perhaps use an online search service, for example https://mxtoolbox.com , to find out if MX records are published and where they are listed, and priorities, etc.

In my experience, I used Route53 to manage DNS records for applications hosted in SES, since all the necessary CNAME, TXT, and MX records are set for you for the domain name, SPF, DKIM, and other checks.

Make sure that the appropriate rule set is the "Active Rules Set" and that you do not have a rule that acts like a "trick" with a higher priority.

Good luck

0
source

All Articles