At a glance
- Type: permanent failure (class 5, RFC 3463 §2). The sending server does not retry it and reports the failure to the sender: a bounce message, or an error in the mail app.
- Basic code 550: “Requested action not taken: mailbox unavailable (e.g., mailbox not found, no access, or command rejected for policy reasons)” (RFC 5321 §4.2.3).
- Enhanced code 5.7.20: “No passing DKIM signature found” in the IANA registry (RFC 7372), in the group security or policy status (RFC 3463 §3.8).
Your message arrived either unsigned or with DKIM signatures that failed to verify. The server refused it because it accepts only mail with a working signature.
What it means
DKIM (RFC 6376) lets a domain sign each message with a private key and publish the matching public key in DNS. RFC 7372 §3.1 defines X.7.20, "No passing DKIM signature found". A signature is passing when the basic DKIM verification succeeds.
The code covers two cases: no signature at all, and only signatures that fail. That matches RFC 6376 §6.1, which says a message with only bad signatures should be treated like an unsigned one.
The IANA registry notes that rejecting such mail goes against the advice of RFC 6376 §6.1. Signatures can break in transit through no fault of the signer. RFC 6376 §6.3 says a server should not reject mail only for a missing or failing signature. When it does, for example with a peer that agreed to send only signed mail, it should reply with 550 and a 5.7.x code. RFC 7372 §4 says some operators require signatures anyway.
A key that cannot be fetched at the moment is a different case. RFC 6376 §6.3 allows a temporary 451 4.7.5 for it. A signature that fails its check must never get a temporary reply.
Common causes
- The message was not signed, for example by a sending service that is not set up for your domain yet.
- The public key is missing from DNS, for example after a selector was removed during key rotation.
- The key record is empty. RFC 6376 treats that as a revoked key.
- The message changed after it was signed, so the body hash no longer matches. A forwarder or mailing list that adds a footer can cause this.
- The signature has expired, or it does not sign the From header field.
How to fix it
If you are the sender:
- Open the bounce, or the Authentication-Results header of a delivered copy, to see the DKIM result.
- List every service that sends mail as your domain, and turn on DKIM signing in each one.
- Check each selector with the DKIM checker. The key lives at
selector._domainkey.yourdomain. - When you rotate keys, keep the old selector published until mail signed with it has arrived. See DKIM selectors and key rotation.
- Resend once the key is live.
If you run the receiving server:
- Record the exact reason each check failed, as RFC 6376 §6.3 asks.
- Put that reason in the reply text, so the sender knows what to fix.
What to do with the address
Keep it. The bounce is about your domain's signing, not the recipient's mailbox. RFC 7372 §4 names this exact need: mailing list software has to tell authentication failures apart from addresses that no longer work.
The address on your list is not what failed here. For the bounces your list does cause, clean the list before you send.