
DANE errors such as TLSA validation failed or the Exchange status 4.7.323 leave email stuck. This guide explains the four most common causes, a diagnostic checklist, the Let's Encrypt rollover trap and how Conbool MailGuard handles key rollover safely.
Die neuesten Beiträge aus unserem Blog.

DANE-Fehler wie TLSA validation failed oder die Exchange-Meldung 4.7.323 führen zu liegengebliebenen E-Mails. Dieser Guide erklärt die vier häufigsten Ursachen, eine Diagnose-Checkliste, die…

Conbool ist ISV-Partner von IONOS Cloud. Die E-Mail-Sicherheits-Suite ist ab sofort im IONOS Cloud Marketplace verfügbar, betrieben auf deutscher Infrastruktur.

Spam-Schutz für Unternehmen ist mehr als ein Inhaltsfilter. Dieser Guide zeigt, warum ein klassischer Spam-Filter den Directory Harvest Attack übersieht, was ein E-Mail-Security-Gateway mit…
It is a familiar scenario: a domain has enabled DANE, and suddenly email to a particular partner gets stuck in the queue. The logs show a message like TLSA validation failed, no usable TLSA records or, on Microsoft 365, the status 4.7.323 tlsa-invalid. This is neither a coincidence nor a bug: DANE is working as intended and refusing delivery because something about the certificate binding does not match.
This guide assumes the basics from What Is DANE and focuses on practice: the four most common causes, a diagnostic checklist and the key rollover that avoids such errors in the first place.
TL;DR: When DANE validation fails, the certificate presented does not match the published TLSA record, or the chain of trust through DNSSEC is broken. Almost always one of four causes is behind it: a DNSSEC or signature problem, a missing or misplaced TLSA record, a certificate that no longer matches after a renewal, or a mail server misconfiguration. Because DANE treats a mismatch as a potential attack, delivery is aborted instead of continuing unencrypted.
The core idea of DANE is that a mismatch between the expected and the actual certificate is a warning sign. That is exactly why DANE does not fall back to unencrypted delivery on a failure, it refuses delivery. This is correct from a security standpoint, but it makes any misconfiguration on your side immediately visible, in the form of undelivered email. The good news: the causes are limited and easy to narrow down.
The vast majority of DANE errors fall into one of these four categories. This table helps you go from symptom to cause to fix quickly:
| Cause | Typical symptom | Fix |
|---|---|---|
| DNSSEC broken or signature expired | Record counts as unvalidatable, treated as missing | Check the DNSSEC chain and signature validity, re-sign expired signatures |
| TLSA record missing or at the wrong name | no usable TLSA records, record not found | Publish the record correctly under _25._tcp of the mail server hostname |
| Certificate renewed, no longer matches | TLSA validation failed, 4.7.323 tlsa-invalid | Update the TLSA record to the new certificate, both values during transition |
| Mail server presents the wrong certificate | Mismatch despite an existing record | Check the mail server configuration, serve the correct certificate |
Since DANE does not work without valid DNSSEC, a broken or expired signature is one of the most insidious causes. The TLSA record can be technically correct yet be discarded by a validating resolver as soon as the signature chain does not add up. To the sending server this looks as if there is no usable record. Expired signatures often arise unnoticed when automatic re-signing of the zone stalls.
By far the most common cause in day-to-day operation is a renewed certificate. If the key is swapped without adjusting the TLSA record in time, the mail server presents a certificate after renewal that no longer matches the stored fingerprint. This is exactly what Exchange Online reports as 4.7.323 tlsa-invalid. Because it is a transient error, the mail first remains in the queue and is retried later, which leaves some time for the fix.
The certificate problem appears especially often with short-lived certificates, for example from Let's Encrypt, which are renewed every few weeks. Every renewal is a potential DANE break if the TLSA record does not follow. There are two proven ways to avoid this:
The mistake that leads to stuck mail in practice is almost always the same: swapping the certificate first and only then thinking about the TLSA record. With DANE the order is reversed.
If mail is already stuck, work through it systematically, from the outside in:
_25._tcp in front of the mail server hostname, and does it apply to exactly that host?This order mirrors DANE's chain of trust and almost always leads to the cause quickly.
The recurring pain point with DANE is key rollover. This is exactly where Conbool MailGuard comes in: inbound, the TLSA records are published and rolled over with overlap on every certificate change, so there is never a window in which record and certificate drift apart. Outbound, the service checks the DANE binding of recipient domains and logs the result, which eases troubleshooting when the problem is on the other side.
You can check the current state of your domain, the interplay of DNSSEC, TLSA record and certificate, at any time with the free transport security check. Details of the managed solution are on the DANE and TLSA page.
Almost always it comes down to one of four causes: DNSSEC is broken or a signature has expired, the TLSA record is missing or sits at the wrong name, the certificate was renewed and no longer matches the TLSA record, or a mail server presents the wrong certificate. Because DANE treats a mismatch as a potential attack, delivery is aborted instead of continuing unencrypted.
Status 4.7.323 is a temporary error from Exchange Online and means the certificate presented by the destination server does not match the published TLSA record. Common triggers are a certificate swapped during renewal without an updated TLSA record, or a TLSA record pointing at the wrong link in the certificate chain. As a transient error, the sending server retries delivery later, which is why affected mail first remains in the queue.
The safe way is to update the TLSA record before the switch and publish both values in parallel during the transition, the one for the old and the one for the new certificate. Only once the new certificate is active and the old TLSA record is no longer needed do you remove it. With a binding to the public key, the key can be retained on renewal, in which case the TLSA record even stays valid unchanged.
First check that the record sits at the correct name, usually _25._tcp in front of the mail server hostname, and that it applies to exactly that hostname. Then check that the DNS zone is signed with DNSSEC and the chain of trust is intact, because a record that cannot be validated is treated as missing. Only when both are correct can a sending server use the binding.
For each mail server of your domain, check that a valid, DNSSEC-signed TLSA record exists and that the certificate actually presented matches it. A transport security check presents this chain in one place and shows whether DNSSEC, TLSA record and certificate line up. That way you spot a problem before it leads to stuck email.
DANE errors feel alarming at first because they stop real email. In practice they are easy to narrow down: DNSSEC, the TLSA record, the certificate and the mail server configuration are the four places where it gets stuck, and the diagnosis always follows the same chain of trust. You avoid most errors by keeping key rollover under control and touching the TLSA record before the certificate, not after.
Check your domain with the transport security check and see how Conbool MailGuard handles key rollover without breaks.
Further reading: