On this page
Short answer
DKIM fails when the receiver cannot verify the signature: the public key is not published at the selector the email names, the key record is malformed, or the message changed after it was signed. Read the reason in the Authentication-Results header, check the selector's DNS record, and make sure nothing rewrites the email after your sending tool signs it.
How DKIM is checked
The sending server signs selected headers and a hash of the body with a private key, and adds a DKIM-Signature header with the domain (d=) and the selector (s=). The receiver fetches the public key from s._domainkey.d in DNS and checks both hashes (RFC 6376). Anything that breaks one of those steps fails DKIM.
What the result says
The receiver writes its verdict into Authentication-Results (RFC 8601):
Result | Meaning | Usual cause |
|---|---|---|
| No signature | Signing is off in the sending tool |
| Nothing at the selector | Key not published, wrong selector, wrong domain |
| The body changed after signing | A footer added on the way, a mailing list or re-encoding |
| A signed header changed, or the key does not match | Key replaced in DNS and the tool still signs with the old one, or the reverse |
| The key record cannot be used | Broken TXT record: missing |
| DNS did not answer | Retry; check the DNS host |
| Valid, but for another domain | Passes DKIM and still fails DMARC |
Gmail turns a missing pass into its own bounce codes; see 550 5.7.30 and 421 4.7.30 at Gmail.
550 5.7.30 and 421 4.7.30 at Gmail
In Google's list of Gmail SMTP errors (updated November 10, 2026), 421 4.7.30 is temporary and gets retried: "Your email has been rate limited because DKIM authentication didn't pass for this message." 550 5.7.30 is a refusal: "This message was blocked because it didn't pass DKIM authentication. Gmail requires bulk email senders to authenticate their email with DKIM."
For multiline replies, RFC 5321 §4.2.1 requires that "every line, except the last, begin with the reply code, followed immediately by a hyphen", and Gmail repeats the full code:
550-5.7.30 first line of the text
550-5.7.30 next line of the text
550 5.7.30 last line of the text
Pasted into a search box as one line, the bounce puts "550-5.7.30" in the middle of a sentence, wherever Gmail broke the line. Search by the error's words, or paste the whole bounce into the email bounce decoder.
Google's sender guidelines FAQ ties the rule to bulk senders: "close to 5,000 messages or more to personal Gmail accounts within a 24-hour period", counted per primary domain. Bulk-sender status is permanent.
The guidelines "don't apply to messages sent to Google Workspace accounts", so on a B2B list expect 5.7.30 mostly from personal @gmail.com addresses (cold email to Gmail addresses). Workspace recipients still filter spam.
Related codes: 421 5.7.32 for a From domain aligned with neither SPF nor DKIM, 550 5.7.26 for SPF and DKIM both failing, and 5.7.40 for a missing DMARC record or policy.
Microsoft announced 550 5.7.30 for a different case: SMTP AUTH password logins once Basic authentication is permanently disabled (535 5.7.3).
Fixes by cause
No key for signature. Look up the selector from the
s=tag with the DKIM checker. If nothing is there, publish the TXT (or CNAME) record your sending tool shows, exactly as given, atselector._domainkey.yourdomain.com. New records can take up to a day or two to be visible everywhere. On Google Workspace, the key comes from the Admin console: Google Workspace DKIM setup.Broken key record. A 2048-bit key is longer than 255 characters, so DNS stores it as several strings in one TXT record. Some DNS panels add quotes or line breaks; paste the value as the panel's help describes, then check it again.
Body hash did not verify. Something edited the email after it was signed: a disclaimer added by an outbound relay, a mailing list that adds a footer, or a server that re-encodes the body. Send a test straight from the mailbox to a Gmail address and compare with a copy that went through the relay.
Key mismatch. After rotating keys, the tool must sign with the new private key and DNS must publish the matching public key. Keep the old selector published until mail signed with it has been delivered.
Signed for the wrong domain. Turn on custom DKIM so
d=is your domain; a signature from the tool's domain does not help DMARC.
Free guide20 min read
Send 100,000 cold emails a month
Domains and mailboxes you need, DNS, warmup, lists, copy and follow-ups, with a launch checklist, sent to your inbox.
Check it end to end
Send a test to a Gmail address, open Show original and look for dkim=pass header.d=yourdomain.com. The email header analyzer reads the result, the selector and the alignment with From in one pass. How to test SPF, DKIM and DMARC has the manual checks.
Questions
Should I resend after a 550 5.7.30?
Only after a test to a Gmail address shows dkim=pass header.d=yourdomain.com. Your mail server retries a 421 4.7.30 by itself; a resent 550 bounces again until DKIM is fixed.
Why does my DKIM signature fail?
The usual causes are no key published at the selector, a broken key record, a body changed after signing, a key that no longer matches the one in DNS, and a signature for the sending tool's domain. The Authentication-Results header names which one you have, for example "no key for signature" or "body hash did not verify". Look up the selector with the DKIM checker, or paste the headers into the email header analyzer.
What we recommend at Outreach2day
We set up SPF, DKIM and DMARC automatically on every domain, whether you buy it in the app or connect your own after changing its name servers. If you move a domain between providers, publish the new provider's key before you switch sending.
Sources
- RFC 6376: DomainKeys Identified Mail (DKIM) Signatures: rfc-editor.org/rfc/rfc6376
- RFC 8601: Message Header Field for Indicating Message Authentication Status: rfc-editor.org/rfc/rfc8601
- Google Workspace Admin Help: Gmail SMTP errors and codes: knowledge.workspace.google.com/admin/support/troubleshooting/gmail-smtp-errors-and-codes
- Google: Email sender guidelines FAQ: support.google.com/a/answer/14229414
- RFC 5321: Simple Mail Transfer Protocol: rfc-editor.org/rfc/rfc5321

