Bounce code · Authentication failure

550 5.7.23 bounce: rejected for an SPF violation (Microsoft 365)

What to do

Stop the campaign and fix SPF, DKIM or DMARC. The address is fine; the mail is not trusted.

How the bounce reads

  • Microsoft 365
    The message was rejected because of Sender Policy Framework violation

Message text quoted from Microsoft Learn: email non-delivery reports and SMTP errors in Exchange Online, read on 11 November 2026. Providers change their wording; the code is what stays stable.

Why it happens

  • The server that sent the message is not in the sending domain's SPF record.
  • The record ends in -all and a new sending tool was added without updating it.
  • The message was forwarded, so it arrived from a server your SPF record does not list.

How to fix it

  1. Check the SPF record for the envelope sender's domain and add the missing sender.
  2. Make sure DKIM is signing as your domain. DKIM survives forwarding; SPF does not.

Should you resend?

After the record is corrected.

Would verifying the address have prevented it?

No.

Other codes of this kind

Decode another bounce

Paste the bounce message. It is read in your browser and not sent anywhere.

Related