Bounce code · Microsoft

550 5.7.23: The message was rejected because of Sender Policy Framework violation

Microsoft returns 550 5.7.23 when SPF violation. The receiver could not authenticate the message: SPF, DKIM or DMARC failed or is missing. A DNS fix, not a reputation fix.

Published Updated 4 min read
550 5.7.23, at a glanceChecked
Code
550 5.7.23
Provider
Microsoft
Message
The message was rejected because of Sender Policy Framework violation
Cause
Authentication
Bounce type
Hard (permanent for that message)
Does warming help
No: the cause is not reputation
Immediate action
SPF hard fail. Fix the SPF record (10-lookup limit!).

What 550 5.7.23 means

The message Microsoft attaches to this code is The message was rejected because of Sender Policy Framework violation, as written on its reference page. The first digit says how final it is: a 5xx reply is permanent for that message, so the sending server gives up and returns a bounce. The enhanced status 5.7.23 says what class of problem it is: authentication. The receiver could not authenticate the message: SPF, DKIM or DMARC failed or is missing. A DNS fix, not a reputation fix.

Why it happens

The receiving server checked who sent the message and could not make the answer add up. Either the sending service is not listed in the domain's SPF record, the DKIM signature is missing or does not verify, or the domain that passed authentication is not the domain in the From header, which is what alignment means. Nothing about volume or reputation changes this: the record is either right or it is not.

What to do first: SPF hard fail. Fix the SPF record (10-lookup limit!).

Why warming does not fix this

Warming builds sender reputation. 550 5.7.23 in this form is a authentication problem, and no amount of engagement history changes it. Fix the cause and the bounce stops; warming is for what comes after, when the mail is accepted and the question becomes which folder it lands in. See how warming works for that part.

How to fix it, in order

More on Microsoft 365

Questions about 550 5.7.23

What does 550 5.7.23 mean?

Microsoft returns 550 5.7.23 with the message "The message was rejected because of Sender Policy Framework violation": SPF violation. The receiver could not authenticate the message: SPF, DKIM or DMARC failed or is missing. A DNS fix, not a reputation fix.

Is 550 5.7.23 a hard bounce or a soft bounce?

A hard bounce for that message: the 550 reply is permanent, and the message is not retried. Whether the address should be removed depends on the cause: here the fix is on the sending side, not the list.

How do I fix 550 5.7.23?

SPF hard fail. Fix the SPF record (10-lookup limit!). Microsoft's own reference for the code is linked on this page.

Does email warmup fix 550 5.7.23?

No. 550 5.7.23 in this form is a authentication problem, and warming builds reputation, which is not what is failing here. Fix the cause and the bounce stops.

What this page was checked against

The message text on this page was matched verbatim against Microsoft's own reference on . If Microsoft has changed the wording since, tell us and we will correct it.

All 37 verified codes, decoder and search.