Email Deliverability
DKIM Setup
Cryptographic signatures that prove your emails haven't been tampered with and came from your authorized server.
high severityWhat is this?
DKIM (DomainKeys Identified Mail) adds a digital signature to every email you send. Your mail server signs each email with a private key, and publishes the matching public key as a DNS TXT record. When receiving servers get your email, they look up your public key and verify the signature.
The DNS record looks like this - at selector._domainkey.yourdomain.com:
v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ...
You don't write this by hand - your email provider generates it and tells you exactly what to add.
Why it matters
DKIM is a key trust signal for inbox placement:
- Gmail uses DKIM to rank email trustworthiness. Emails without DKIM are more likely to be treated as spam, especially from newer domains.
- It's required for DMARC to work properly. DMARC alignment requires either SPF or DKIM to pass. Without DKIM, SPF alone isn't enough if email is forwarded.
- It proves the email wasn't tampered with in transit. SPF only verifies the sending server; DKIM also verifies the message content.
How to fix it
- Log in to your email sending service (Resend, Postmark, Google Workspace, etc.)
- Find the DKIM/domain authentication setup page
- The service will give you one or two TXT records to add to your DNS
- Add those records exactly as instructed (name like
google._domainkeyors1._domainkey) - Click "Verify" in the service dashboard - it may take a few minutes for DNS to propagate
Providers & tools
| Service | Where to find DKIM setup |
|---|---|
| Google Workspace | Admin Console → Apps → Gmail → Authenticate email |
| Resend | Dashboard → Domains → your domain → DNS records |
| Postmark | Account → Sender Signatures → your domain |
| SendGrid | Settings → Sender Authentication → Domain Authentication |
| Mailgun | Sending → Domains → your domain → DNS records |
| Amazon SES | Configuration → Verified Identities → your domain → DKIM |
| Microsoft 365 | Defender → Policies → Email auth settings → DKIM |
Check if your domain has this issue