5.4.8

Enhanced Status Code 5.4.8: MTA-STS Validation Failed

Permanent failure High severity Security
What it means

Enhanced Status Code 5.4.8 means “MTA-STS Validation Failed.” The destination publishes an MTA-STS policy and its own mail servers do not satisfy it. The domain has promised a security guarantee its infrastructure is not delivering.

At a glance
Code5.4.8
Bounce typeHard (permanent)
SeverityHigh
CategorySecurity
What to doSuppress the address; do not retry
What it looks like in your mail logs
550 5.4.8 MX hosts of example.com failed MTA-STS validation

What does 5.4.8 mean?

Microsoft returns 5.4.8 with text saying the MX hosts of a domain failed MTA-STS validation, deferring first as 4.4.8 and escalating afterwards. MTA-STS lets a domain publish a policy, fetched over HTTPS, declaring which MX hostnames are legitimate and that TLS is mandatory. A sender that honours the policy will not deliver to anything outside it.

A validation failure means the domain's published promise and its actual infrastructure disagree. Most often the policy lists MX hostnames that no longer match the ones in DNS, because MX records changed and the policy file was not updated. It can also mean the policy file itself cannot be fetched, that its certificate is invalid, or that the servers it names fail TLS for one of the reasons covered by 5.7.321 through 5.7.325.

Because the policy is published by the destination, the failure is theirs to resolve, and the sender's correct action is to alert rather than to bypass. Adopting MTA-STS is worthwhile precisely because it is enforced, and a sender that routes around a failed policy has given up the guarantee for that domain.

How 5.4.8 plays out

Your server attempts delivery
The recipient server returns a permanent 5.4.8 rejection
This is a hard bounce: the message will not be accepted as sent
Suppress the address and fix the root cause before resending

Where 5.4.8 sits: soft vs hard bounce

Soft bounce (4xx) Hard bounce (5xx)
NatureTemporaryPermanent
SMTP class4xx5xx
What to doLet it retrySuppress the address
Recoverable?OftenNo
5.4.8 is✓ this code

What each provider means by 5.4.8

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.

Exchange Online The MX hosts of the destination domain failed MTA-STS validation Reference

Common causes of 5.4.8

  • The MTA-STS policy lists MX hostnames that no longer match the DNS records
  • MX records were changed without the policy file being updated
  • The policy file at the well-known URL cannot be fetched
  • The HTTPS certificate serving the policy file is invalid or expired
  • An MX host named in the policy fails TLS validation for another reason
  • The policy is in enforce mode while the infrastructure is not ready for it

How to fix 5.4.8

  • Do not suppress the recipient, since the address is valid and the policy is theirs
  • Tell the receiving organisation that their MTA-STS policy and MX records disagree
  • Fetch their policy from https://mta-sts.their-domain/.well-known/mta-sts.txt and compare it to their MX records
  • Check whether an individual MX host is failing for a certificate reason
  • Do not bypass the policy, which discards the guarantee it exists to provide
  • Where you publish MTA-STS yourself, keep the policy in testing mode until MX changes settle

Frequently asked questions

What does 5.4.8 mean?
It means the destination domain publishes an MTA-STS policy and its mail servers did not satisfy it. Microsoft reports it as the MX hosts of the domain failing MTA-STS validation, deferring as 4.4.8 first. The domain has declared a security requirement that its own infrastructure is not meeting.
What is MTA-STS?
It is a mechanism that lets a receiving domain publish a policy, served over HTTPS at a well-known URL, declaring which MX hostnames are legitimate and that TLS is mandatory. Senders that honour it refuse to deliver outside the policy, which closes the downgrade attacks that opportunistic TLS leaves open.
What usually causes a validation failure?
A mismatch between the policy file and the MX records, almost always because MX records changed and the policy was not updated. The policy file being unfetchable, or served with an invalid HTTPS certificate, are the next most common. All are at the destination.
Can I deliver anyway?
You could bypass the policy, but you should not. The domain has explicitly asked senders to enforce this, and routing around it discards the protection for that domain while leaving the misconfiguration in place. Report it instead; policy mismatches are usually fixed quickly.
How is this different from 5.7.321?
Scope. 5.4.8 means the overall MTA-STS validation failed, which can have several underlying causes. 5.7.321 through 5.7.325 name specific ones: no STARTTLS, expired certificate, DANE mismatch, DNSSEC failure, hostname mismatch. If you receive one of the specific codes, it tells you exactly which part failed.
Reviewed by Jennifer Jackson, Email Deliverability Analyst · June 2026 ← All bounce codes