Enhanced Status Code 5.7.321: STARTTLS Not Supported by Destination
Enhanced Status Code 5.7.321 means “STARTTLS Not Supported by Destination.” The destination mail server does not offer STARTTLS, and your policy requires encryption, so the message was not sent in the clear. The fix belongs to the receiving domain.
550 5.7.321 starttls-not-supported: Destination mail server must support TLS to receive mail
What does 5.7.321 mean?
Microsoft returns 5.7.321 with the text starttls-not-supported, meaning the destination mail server must support TLS to receive mail and does not. Exchange Online sends 4.7.321 first while it retries, and escalates to 5.7.321 once the retry window expires.
This is enforcement rather than preference. Where a destination publishes an MTA-STS policy, or where the sender has configured a policy requiring TLS for that domain, there is no fallback to cleartext. A receiving server that fails to advertise STARTTLS therefore cannot be reached at all, rather than being reached insecurely. That is the intended behaviour and the reason MTA-STS exists.
The important operational point is that this is almost never fixable by the sender. If the destination does not offer STARTTLS, no configuration change at your end will produce a compliant connection, and disabling your own TLS requirement to work around it defeats the protection. The correct action is to contact the receiving organisation, and meanwhile to recognise that the recipient address itself is perfectly valid.
How 5.7.321 plays out
5.7.321 rejectionWhere 5.7.321 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.321 is | ✓ this code |
What each provider means by 5.7.321
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.321
- The destination mail server does not advertise STARTTLS on connection
- The destination published an MTA-STS policy its own servers do not satisfy
- A firewall or middlebox is stripping the STARTTLS advertisement in transit
- The destination server has TLS misconfigured and fails to offer it
- An old or unmaintained mail server at the destination predates TLS being expected
- The destination MX changed to a host without TLS configured
How to fix 5.7.321
- Do not suppress the recipient, since the address is valid and the fault is at their end
- Contact the receiving organisation, as only they can enable STARTTLS
- Confirm with openssl s_client -starttls smtp whether the destination advertises it at all
- Check whether their MTA-STS policy is stricter than their servers can satisfy
- Do not disable your own TLS requirement as a workaround, which removes the protection
- Check for a middlebox on your side stripping STARTTLS if other senders reach them fine