1. Easy DKIM
- In the SES console, go to Configuration, Identities, and create (or open) your domain identity.
- Easy DKIM with a 2048-bit key is the default. Keep it.
- Under Publish DNS records, copy the three CNAME records to your DNS provider. With Route 53 in the same account, SES can add them for you.
- SES checks for up to 72 hours. When it finds all three, DKIM shows Successful and the domain shows Verified.
2. Custom MAIL FROM (for SPF)
By default SES sends with a return address on an amazonses.com subdomain. SPF passes there, but for Amazon's domain, not yours, so it doesn't help DMARC. DKIM alone is enough to pass DMARC; the custom MAIL FROM gives you a second route.
- On the same identity, edit Custom MAIL FROM domain and enter a subdomain you don't use for anything else, such as
mail.example.com. - Choose what happens if the MX record goes missing: fall back to the default domain (mail still goes) or reject the message.
- Publish the MX and TXT records it shows. The MX points to
feedback-smtp.<region>.amazonses.comwith priority 10.
The mistakes I see most
- An extra underscore. The host is
token._domainkey, not_token._domainkey. - The domain added twice. Many DNS providers add your domain to the host automatically. If verification hasn't worked after 72 hours, check for
example.com.example.com. - A second MX on the MAIL FROM subdomain. SES needs exactly one, or the setup fails.
- Another Region. Identities are per Region. Sending from a second Region means verifying the domain there as well, with its own records.
- Using your mail subdomain. The MAIL FROM subdomain shouldn't be one you send from or receive mail on.