Set up an Amazon SES custom MAIL FROM domain
Publish the bounce MX and SPF policy for your SES envelope subdomain.
Reviewed by Mira John Updated
Choose the subdomain
Open the SES identity’s Authentication tab in the sending region. Edit Custom MAIL FROM and enter a subdomain such as bounce.example.com.
Publish the assigned MX and SPF
At that subdomain, set the single priority 10 feedback-smtp MX for your SES region and one TXT policy containing include:amazonses.com.
Verify MAIL FROM
Check the MAIL FROM status in SES. Enter the subdomain under Advanced checks, then inspect smtp.mailfrom and spf=pass on a test message.
Check the published record
Replace example.com with your domain.
nslookup -type=MX bounce.example.com
nslookup -type=TXT bounce.example.com