Skip to content
Microsoft (Outlook.com and Microsoft 365) · permanent error

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

  1. 01Tell the recipient's admin and pass on the full error from the report.
  2. 02The destination admin should enable STARTTLS on every MX host and confirm that a TLS handshake completes from outside.
  3. 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.

  1. 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.MicrosoftPermanent
  2. 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.MicrosoftPermanent
  3. 5.7.324Destination DNSSEC does not validate.The destination domain signals DNSSEC protection, but Exchange Online could not validate its records, so delivery stopped.MicrosoftPermanent
  4. 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.MicrosoftPermanent

All 111 Microsoft codesEvery code in the wikiPaste your own bounce

Beat · paid monitoring

A heartbeat for your email.

Beat runs every check on this site on a schedule: 41 checks, 33 blacklists and real inbox placement. The moment something breaks, it tells you what broke, why it matters, and the exact fix.

example.comWatching
  • SPFpass
  • DKIMpass
  • DMARCp=none
  • Blacklists0 of 33

Illustrative. Your domain, every few hours.

Also from us:Pulse: your own sending infrastructureConsulting: $65/hr, no retainer