I previously set up an AWS WorkMail organisation and email address and I am using my custom domain hosted at Route 53. This has worked successfully.
However now I have created a second WorkMail address, I am unable to receive email to it (although I can send email from it). I receive the following error message:
The response from the remote server was:
550 5.1.1 Requested action not taken: mailbox unavailable
Final-Recipient: rfc822; [email protected]
Action: failed
Status: 5.1.1
Remote-MTA: dns; inbound-smtp.us-east-1.amazonaws.com. ([my-ip], the
server for the domain [my-domain.com].)
Diagnostic-Code: smtp; 550 5.1.1 Requested action not taken: mailbox
unavailable
Last-Attempt-Date: Wed, 13 Dec 2017 09:07:52 -0800 (PST)
Could anyone provide advice as why there would be a problem for the second email, but not the first?
Edit:
As per kiwicopple's suggestion I have ensured that both the custom domain is Set as Default
and that this domain is selected for the email address. However, this has not resolved the issue.
In my particular case, I had forgotten that I had setup AWS Simple Email Service (SES) with active rules pointing to a Lambda. These rules did not discriminate based on the destination email address, so they caught all emails going to the WorkMail domain and filtered them, dropping them and preventing delivery.
I went in and disabled the rule sets in the SES console, and I'm currently working on making the rules more specific to only target emails going to one specific domain instead of anywhere.
To make sure this is not the case for you:
This was the answer for me, but this is because I embarrassingly forgot that I had done this.
As mentioned above, a better solution than just disabling rules is to make sure to specify filtering criteria on each rule to ensure it only applies to where it is valid.