DKIM (DomainKeys Identified Mail)
DKIM adds a cryptographic signature to outgoing mail so receivers can verify the message was authorised by your domain. DKIM is one of the two pillars (with SPF) that DMARC relies on; without it, legitimate forwarded mail tends to fail authentication and bounce.
How DKIM works
DomainKeys Identified Mail (DKIM, RFC 6376) signs outgoing mail with a private key held by your mail-sending infrastructure. The public key is published in DNS, so any receiving server can verify the signature without contacting you. The signature covers the message body and selected headers — if either is altered in transit, verification fails.
Each signing key is identified by a selector, a short label your mail provider chooses. The DNS record lives at <selector>._domainkey.<domain>. Most providers choose semi-arbitrary selector names (google, default, mail, k1, selector1, etc.), so detection by external tools is heuristic — Vendor Audit probes the most common selectors and reports what it finds.
Key strength matters. NIST SP 800-131A has disallowed RSA keys under 2048 bits for new signatures since 2014, and RFC 8301 (2018) recommends 2048 bits for DKIM while still accepting 1024 as the minimum. Modern best practice is RSA-2048 or higher, or the more efficient Ed25519. M3AAWG's DKIM Key Rotation Best Common Practices recommends rotating keys roughly every six months, which the selector mechanism makes easy: publish a new key under a new selector, switch your signer to it, retire the old selector after a propagation window.
DKIM survives plain forwarding because the signature travels with the message. SPF doesn't, because the forwarded message arrives from the forwarder's server. This is why DMARC requires either SPF or DKIM to pass with alignment — DKIM is usually the one that holds up. (A forwarder that changes the message, such as a mailing list adding a footer or a subject tag, breaks the signature too; ARC, RFC 8617, exists for that case.)
How to fix it
Generate a DKIM key with your mail provider and publish the public key as a DNS TXT record at <selector>._domainkey.<domain>.
The 4 DKIM checks Vendor Audit runs
Each check has a fixed set of results, and each result has one rating. These are the exact words the report uses.
DKIM (common selectors)
Standard: RFC 6376
- PASSDKIM key found at common selector(s)
- InfoDKIM key not found at common selectors (the domain may use a custom selector)
DKIM key strength
Standard: RFC 8301
What it checks. A DKIM signing key should be RSA of at least 2048 bits, or Ed25519.
Why it matters. A shorter RSA key can be factored, which lets someone else sign mail as the domain.
How to fix it. Generate a 2048-bit key under a new selector, switch signing to it, then retire the old selector.
- PASSDKIM key strength acceptable (Ed25519 or RSA ≥2048)
- CriticalDKIM key uses RSA under 1024 bits (broken)
- MediumDKIM key uses RSA-1024 — below the 2048 bits RFC 8301 recommends, and disallowed for new signatures by NIST SP 800-131A since 2014
- LowAn RSA-1024 DKIM key is still published beside a 2048-bit one — retire it at the next key rotation What it means. Every DKIM key a domain publishes can verify mail signed with it.Why it matters. A 1024-bit key beside a 2048-bit one is usually left over from a key rotation, but receivers still accept signatures made with it, so anyone who factors it can sign mail as the domain.How to fix it. Rotate once more so the old selector also gets a 2048-bit key, or remove the old key once nothing signs with it.
- InfoDKIM key found but could not be parsed
- InfoDKIM key explicitly revoked (p= empty) — deliberate operator action
DKIM testing mode
Standard: RFC 6376 §3.6.1
What it checks. The t=y flag in a DKIM key record says the domain is still testing DKIM.
Why it matters. RFC 6376: verifiers "MUST NOT treat messages from Signers in testing mode differently from unsigned email". Mail signed with the key gets no credit for its signature, so DKIM gives the domain no protection, and DMARC has only SPF to go on, which breaks when mail is forwarded.
How to fix it. Remove t=y from the key record once signing works.
- PASSNo DKIM key is in testing mode
- MediumA DKIM key is in testing mode (t=y) — receivers must treat its mail as unsigned
DKIM hash algorithm
Standard: RFC 8301 §3.1
What it checks. The h= tag in a DKIM key record lists the hash algorithms the key may be used with; without it, all are allowed.
Why it matters. A key limited to h=sha1 can only make rsa-sha1 signatures, and RFC 8301 says rsa-sha1 "MUST NOT be used for signing or verifying". Receivers that follow it ignore those signatures, so mail signed with the key fails DKIM.
How to fix it. Remove the h= tag, or set h=sha256, and sign with rsa-sha256 or Ed25519.
- PASSDKIM keys allow SHA-256
- MediumA DKIM key allows only SHA-1 (h=sha1) — RFC 8301 says rsa-sha1 must not be used