Question: Would like some help on how to debug to find a point of failure where an email to be received by AWS SES might get dropped?
(Please note: Problem is related to receiving mails via SES email server, rather than sending it. As latter is usually the use case of SES and also has a lot of help available over the internet)
Context: We have a setup wherein multiple sources of email senders would send email to some AWS SES address. SES would create a object in S3 with the complete mail content (using rule sets).
The setup is complete and works if I just send a mail (has been for a month). But recently I have discovered that it is dropping some mails (or not triggering rules). and this issue has been there from the time we started using the service, when there was comparatively lesser load on it.
Things I have already checked:
- SES Troubleshooting Guide, which does not have any guide for problems receiving emails.
- Checked CloudWatch for Publish Expired / Publish Failure for all rule sets and all have been 0 for the duration. (as we are not using SES for sending mails)
- Added a lambda as an action in the beginning of the rule action list, and consoled whole the event object and found out that SES did not receive the email. (So no problem with S3, SES is the one who did not receive the mail)
- Made sure that 'Enable spam and virus scanning' option is disabled.
- Used a GMail sender. This will ensure if the email is getting bounced for some reason, I would get a 'Could not send your email' as a reply. Did not receive any notification from GMail and some mails sent via Gmail were also dropped.
Thing I need help with: I have tried reading about how MX records work, which was used during setup of this SES account, and it might be the case where our other email address might be conflicting with this one. As I do not have direct access to GoDaddy console from where DN was purchased, I don't have more info on this or cannot immediately verify this.
I suspect that we have a DN x.com which has a MX record and it points to SES. And there is another DN y.com which is pointing to our GMail service. Is there a possibility that if MX records of x.com were already pointing to Gmail service and during setup of SES just another MX record of AWS were added, would some mails go to Gmail and some to AWS?
Side note: Also we cannot contact AWS for issue as their technical support is paid and paying more is not an option (dropping SES itself is better option than that).
Update: Just verified that x.com has aspmx.l.google.com, as well as inbound-smtp.us-east-1.amazonaws.com both with preference 10, by using mxtoolbox.com