Fix · Cloudflare
Fix “Email sender authorization (SPF)” on Cloudflare
Publish an SPF TXT record listing only your real senders and ending in -all.
No server-level snippet for this control on Cloudflare; apply the guidance below.
Verify the fix
Re-run the Email sender authorization (SPF) check after deploying. Test config changes in staging first and keep a rollback: a wrong header can break a site faster than a missing one.
Other stacks: nginx · Apache · Caddy · Express / Node