Enhanced Status Code 5.7.323: DANE Validation Failed
Enhanced Status Code 5.7.323 means “DANE Validation Failed.” The destination domain publishes DANE records and the certificate presented did not match them. DANE is stricter than ordinary TLS and offers no fallback.
550 5.7.323 tlsa-invalid: The domain failed DANE validation
What does 5.7.323 mean?
Microsoft returns 5.7.323 with the text tlsa-invalid, meaning the destination domain failed DANE validation. DANE binds a mail server's certificate to DNS through TLSA records secured with DNSSEC, so the sender can verify the certificate against what the domain owner published rather than against a public certificate authority.
That binding is what makes DANE strict. A certificate that any ordinary client would accept still fails if it does not match the published TLSA record, and there is no downgrade path. The usual cause is a certificate renewal at the destination that was not accompanied by an update to the TLSA record, which is easy to overlook because the new certificate works everywhere except against DANE.
Senders cannot work around this and should not try. A DANE failure means either the destination has a stale record or something is interfering with the connection, and both warrant investigation rather than a bypass. The recipient address is unaffected and delivery resumes once the mismatch is corrected at the destination.
How 5.7.323 plays out
5.7.323 rejectionWhere 5.7.323 sits: soft vs hard bounce
| Soft bounce (4xx) | Hard bounce (5xx) | |
|---|---|---|
| Nature | Temporary | Permanent |
| SMTP class | 4xx | 5xx |
| What to do | Let it retry | Suppress the address |
| Recoverable? | Often | No |
| 5.7.323 is | ✓ this code |
What each provider means by 5.7.323
A registered code does not oblige a provider to use it that way, and the large ones diverge. Match the wording in your own bounce, not the definition above.
Common causes of 5.7.323
- The destination renewed its certificate without updating the TLSA record
- The TLSA record references a certificate or key that is no longer in use
- The published TLSA record has the wrong usage, selector or matching type
- Only some hosts in the MX set have matching TLSA records
- DNSSEC validation for the domain is failing, so the TLSA record cannot be trusted
- A TLS terminator presents a different certificate than the one the record covers
How to fix 5.7.323
- Do not suppress the recipient, since the address is valid and the fault is a stale record
- Tell the receiving organisation that their TLSA record does not match their certificate
- Verify their DNSSEC chain, since DANE depends entirely on it
- Check each MX host, because a partial rollout produces intermittent failure
- Do not disable DANE enforcement to work around it
- Where you publish DANE yourself, automate TLSA updates alongside certificate renewal