- Newest
- Most votes
- Most comments
The issue you're experiencing stems from a fundamental misunderstanding about how MX records work in DNS and how AWS services use them.
First, it's important to clarify that MX records are domain-specific. When you have different subdomains (like mail.mydomain.com vs. mydomain.com), each needs its own separate MX record. These don't conflict with each other because they're for different domains.
For your WorkMail setup, you need an MX record for your main domain (mydomain.com) pointing to: 10 inbound-smtp.us-east-1.amazonaws.com.
For your SES custom MAIL FROM domain (mail.mydomain.com), you need a separate MX record pointing to: 10 feedback-smtp.us-east-1.amazonses.com.
These two MX records serve different purposes and don't conflict with each other because they're for different domains. The WorkMail MX record determines where incoming email for your domain is delivered, while the SES MAIL FROM MX record is used for bounce handling.
When SES reports that it can't find the MX record for your custom MAIL FROM domain, it's specifically looking for an MX record for mail.mydomain.com (not mydomain.com). Make sure this record exists and points to the feedback-smtp endpoint.
If you've verified that the MX record for mail.mydomain.com exists and is correctly configured but SES still reports an error, you might need to wait for DNS propagation (though this typically shouldn't take more than 48 hours). Alternatively, you could try setting up the custom MAIL FROM domain again in the SES console to trigger a fresh verification of your DNS records.
If the issue persists, check the status of your MAIL FROM domain in SES. It might be in a FAILED or TEMPORARY_FAILURE state, which would explain why you're receiving the error message.
Sources
How to configure two different email servers (MX)? | AWS re:Post
Custom MAIL FROM domain setup – SPF record not recognized despite correct DNS settings | AWS re:Post
One Organization in Workmail not able to send or receive | AWS re:Post
MailFromAttributes - Amazon Simple Email Service
PutEmailIdentityMailFromAttributes - Amazon Simple Email Service
answered a year ago
Relevant content
asked 5 years ago
asked 3 years ago
- AWS OFFICIALUpdated 2 years ago
