Skip to main content
Email marketing

DKIM (DomainKeys Identified Mail)

DKIM is an email-authentication method that cryptographically signs messages, letting receivers verify the sending domain and that the mail was not altered.

The sending server signs selected headers and the body with a private key; the matching public key is published in DNS as a TXT record at `selector._domainkey.yourdomain`. Receivers fetch that key, verify the signature, and confirm both that the content was unmodified and that the signing domain (the `d=` value) is legitimate.

Because DKIM is tied to message content rather than the connecting IP, it survives forwarding far better than SPF — but any modification in transit, such as a mailing list appending a footer, can break the signature and cause a fail. Key strength matters too: use 2048-bit keys, and remember that the signing domain is what DMARC aligns against.

Practically: enable DKIM signing at your email provider, publish the selector record it gives you, prefer 2048-bit keys, and rotate them periodically. Alignment between the DKIM `d=` domain and the visible From domain is what allows DMARC to pass on DKIM alone.

Working on this in production?

Webanto Email Marketing

Related terms

Browse the full glossary

Explore every term across email marketing, SEO, ecommerce, content marketing, and social media.

Newsletter

Stay Ahead

Occasional, engineering-led notes on applied AI — what we're building, running, and learning in production.