Enhanced status code

SMTP error X.7.23

SPF validation failed

Updated Jul 1, 2026

The short answer

SPF validation failed Common cause: SPF returned fail

Quick fix

Correct the SPF record and authorized sending sources

This code is written X.7.23 because the reason is the same whether the failure is temporary (a 4 first digit) or permanent (a 5). Read the first digit of your own bounce to know which applies.

How to fix it

Correct the SPF record and authorized sending sources

Related codes

Ready when you are

Most rejections come back to sender reputation.

Blocklists, auth failures, and policy blocks are what warmup prevents. Warm up your domain so your mail is trusted before you hit send.

7-day free trialNo credit cardCancel anytime