Skip to main content

AWS Glossary

DKIM

DomainKeys Identified Mail — cryptographic email signatures that prove a domain authorized the message; SES supports Easy DKIM and BYODKIM.

Definition

DKIM (DomainKeys Identified Mail) attaches a cryptographic signature to outbound messages. Receivers look up the public key in DNS (selector._domainkey.example.com) and verify that headers/body were authorized by the signing domain. For DMARC, the DKIM signing domain must align with the visible From domain (organizational domain match under relaxed alignment).

When to use it

  • All Amazon SES production sending (Easy DKIM is the default path)
  • Multi-ESP setups where you bring your own key (BYODKIM) for consistent selectors across vendors
  • Bulk-sender compliance (Google, Yahoo, Microsoft) requiring authenticated, aligned mail

When not to use it

  • Signing with a third-party ESP domain that does not align to your From domain if you need DMARC pass
  • Rotating keys without dual-publishing DNS long enough for in-flight mail

Tips

  • Prefer 2048-bit keys where supported (SES Easy DKIM supports them)
  • Keep selector DNS CNAMEs (Easy DKIM) or TXT public keys (BYODKIM) under change control
  • Verify alignment on live messages via Authentication-Results headers, not console checkmarks alone

Gotchas

Serious

  • Body/header modifications by intermediate relays that break signatures
  • From domain marketing.brand.com signed as esp-mail.com without alignment → DMARC fail

Regular

  • Leaving old selectors published forever after rotation (harmless but noisy)

Need help with this topic?

Our AWS-certified team implements, audits, and optimizes these services in production — from Bedrock RAG pipelines to multi-account landing zones.