Bounce code · Permanent

5.7.5: A key to check or decrypt the message is missing or invalid

A system meant to check or decrypt your message could not, because a key it needed was missing or invalid. From Microsoft 365, 5.7.5 means instead that the recipient server's certificate failed MTA-STS. It is permanent: the sending server does not retry, so check the key or certificate involved, then send again.

How to fix itEvery bounce code

PermanentSecurity or policy status

5.7.5

What happens
Not retried
Registry name
Cryptographic failure

At a glance

  • Type: permanent failure (class 5, RFC 3463 §2). The sending server does not retry it and reports the failure to the sender: a bounce message, or an error in the mail app.
  • Basic code: varies; the enhanced code is the part that identifies the problem.
  • Enhanced code 5.7.5: “Cryptographic failure” in the IANA registry (RFC 3463), in the group security or policy status (RFC 3463 §3.8).

Your message was signed or encrypted, and a system on the way that is set up to check or decrypt it could not do so. It lacked a key it needed, or the key it had was not valid.

What it means

RFC 3463 §3.8 defines X.7.5 as "cryptographic failure": a transport system otherwise authorized to validate or decrypt a message in transport was unable to do so. The reason is that necessary information, such as a key, was not available, or was invalid. "Otherwise authorized" means the system is allowed to do this work, so the refusal is about the keys, not about permission.

RFC 3463 does not say whether X.7.5 is permanent or temporary. This page covers the permanent form, 5.7.5. The IANA registry gives no basic reply code for it.

RFC 3463 §2 says both sender and recipient must arrange the exchange of the keys and certificates that cryptographic operations need. A 5.7.5 is a sign that this arrangement is missing or out of date.

How Microsoft 365 uses it

Exchange Online reports 5.7.5 (or 4.7.5) when the recipient's mail server presents a certificate that fails the domain's MTA-STS policy (Exchange Online NDR reference). The certificate must chain to a trusted certificate authority, and its names must include the host named in the policy. That is a problem for the recipient's domain to fix. The related MX failure is 5.4.8.

Common causes

  • The message was encrypted to a certificate or key that the receiving system does not hold.
  • The certificate used to sign the message has expired or was revoked.
  • The recipient's system was given a new key, and the sender still encrypts to the old one.
  • The checking system was never given the key or certificate for this sender or recipient.

How to fix it

If you are the sender:

  1. Read the text after the code. It may say which key or certificate failed.
  2. Check that your signing certificate is valid and not expired.
  3. Ask the recipient, through another channel, for their current certificate or public key, and encrypt to that.
  4. If the message does not need protection, send it unsigned and unencrypted.
  5. From Microsoft 365 (the MTA-STS case): nothing to change on your side, unless you send through an outbound connector to a smart host. Microsoft then checks the smart host's certificate, not the recipient's (Microsoft's MTA-STS page), so check that connector first. Otherwise tell the recipient, through another channel, that their mail server's certificate fails their own MTA-STS policy.

If you run the system that checks or decrypts:

  1. Check that it holds the current keys and certificates for the senders and recipients it serves.
  2. Name the failing key or certificate in the reply text.

For an algorithm the system does not support, see 5.7.6. For a message changed on the way, see 5.7.7.

What to do with the address

Keep it. The code is about keys and certificates, not about the recipient's mailbox. Once the keys match, send again.

The address on your list is not what failed here. For the bounces your list does cause, clean the list before you send.

Get up to 500 free credits. No card needed.

Fewer bounces start with a clean list: check addresses before you send.

Updated · Maintained by: Email Validation LLC