
From Zero to Production: Building Postfix + AWS SES in 2 Hours
What You Need Before Starting AWS account with SES access EC2 instance (t3a.medium, Amazon Linux 2023) Your domain's DNS access 2 hours of focused time That's it. Everything else, we'll build together. Phase 1: AWS SES Setup (15 mins) Step 1: Verify Your Domain AWS Console → SES → Verified Identities → Create Identity Identity type: Domain Domain: yourdomain.com Add the TXT record SES provides to your DNS: Type: TXT Name: _amazonses.yourdomain.com Value: [provided by SES] Verify it worked: aws ses get-identity-verification-attributes \ --identities yourdomain.com \ --region ap-south-1 Look for "VerificationStatus": "Success" Step 2: Configure DKIM (5 mins) In SES Console: Click your domain → DKIM tab → Edit Enable Easy DKIM → Save Add the 3 CNAME records SES provides to your DNS. Verify: aws ses get-identity-dkim-attributes \ --identities yourdomain.com \ --region ap-south-1 Should show "DkimEnabled": true Step 3: SPF + DMARC (3 mins) Add SPF record: Type: TXT Name: yourdomain.com Valu
Continue reading on Dev.to DevOps
Opens in a new tab




