5.7.321: destination server does not offer TLS (DANE)
Exchange Online needed TLS for this domain under DANE, but the receiving server did not answer STARTTLS or the handshake failed.
- Microsoft
- Provider
- Permanent (5xx)
- Class
- Sources checked
- Author
At a glance
- Code
- 5.7.321
- Temporary or permanent
- PermanentRefused for good: the message comes back to the sender, and resending it gets the same answer.
- Who has to act
- The recipient's side. Their mail admin has to change something; you can tell them.
- What the server says
5.7.321 starttls-not-supported: Destination mail server must support TLS to receive mail.
What it means
This belongs to SMTP DANE, which Exchange Online applies when it sends to a domain that publishes DNSSEC-signed TLSA records. Those records commit the domain to TLS. Here the DNSSEC checks passed, but when Exchange Online connected, the destination server did not respond to STARTTLS, or it responded and the TLS handshake then failed. Without TLS the message cannot go, and Exchange Online will not fall back to an unencrypted connection. Microsoft lists the error as 4.7.321 while retrying and 5.7.321 at the end. The receiving side has to fix its server.
Common causes
- STARTTLS is turned off on the receiving server.
- The TLS handshake fails after STARTTLS, for example because of a protocol or cipher mismatch.
How to fix it
- 01Tell the recipient's admin and pass on the full error from the report.
- 02The destination admin should enable STARTTLS on every MX host and confirm that a TLS handshake completes from outside.
- 03If the domain cannot offer TLS for now, it must remove its TLSA records, since publishing them tells senders that TLS is mandatory.
Sources
What this page rests on, checked on 20 Oct 2026. The explanation is ours; the reply text is the server's.
- Email nondelivery reports and SMTP errors in Exchange Onlinelearn.microsoft.com
- How SMTP DNS-based Authentication of Named Entities (DANE) workslearn.microsoft.com
Related codes
- 5.7.322Destination certificate expired (DANE).The receiving server presented an expired certificate on a domain protected by DANE, so Exchange Online did not send.
- 5.7.323Certificate does not match the TLSA record (DANE).The destination's DNSSEC-signed TLSA records do not match the certificate its server presented, so Exchange Online treated delivery as unsafe.
- 5.7.324Destination DNSSEC does not validate.The destination domain signals DNSSEC protection, but Exchange Online could not validate its records, so delivery stopped.
- 5.7.325Certificate name does not match the MX host (DANE).The receiving server's certificate does not name the destination domain or its MX host, so Exchange Online would not deliver under DANE.
All 111 Microsoft codesEvery code in the wikiPaste your own bounce