Notes: sending my newsletters by SES

daniel de kay
Feb 20 · 1 min read

Note to self: I don’t do this often enough to remember, but might need to in the future again.
Here’s a few notes that describe how it’s done.

General setup

  • self-hosted newsletter tool “sendy” which sends out email newsletters via Amazon’s SES
  • domain’s DNS records are managed via Route53 (useful: https://github.com/barnybug/cli53 is a command line tool to edit/import/export DNS settings)
  • sending email address must be verified on SES. Sendy can do that for you.
  • add a sender subdomain via SES, and add it to the Route53 automatically.

SPF

  • for main domain use TXT “v=spf1 mx a include:amazonses.com -all”
  • for bulkmailer domain let SES do the job

DKIM

  • add the domain to SES and let Amazon generate the DKIM codes

DMARC

Test it

  • send a test email through SES, and check the email headers. SpamAssassin should show a score much smaller than 2.0
  • email newsletter testing at https://www.mail-tester.com

Make it pretty

daniel de kay

Written by

Job: Innovation Manager at BASF. Passionate about ideas, innovation and creating the future. Technology enthusiast, learner, and …

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade