Mail sent from my Outlook address fails when I send it to other Outlook addresses, but gets through to Gmail and Yahoo. The error mentions SPF. Is this a DNS problem, and where should I start?
Why is Outlook rejecting my email for SPF when Gmail accepts it?
Answers
Start with the full bounce message, not just the subject line. Look for the 5.7.x status code, the rejection text, and the server that rejected it. Those details can help distinguish an authentication failure from a different delivery problem.
Gmail and Yahoo accepting the message does not prove SPF is correct. Different receiving systems can evaluate or enforce their checks differently.
Reply to this answer
Is the sending address on a domain you control, or is it a personal Outlook address? That changes the DNS advice. If it is a personal Outlook address, you cannot edit its SPF record yourself.
Also check how the message is being sent. If an app or third-party SMTP relay sends it instead of Microsoft's normal mail service, the actual sending server may not be authorized by the domain's SPF record.
Reply to this answer
For a custom domain, use an email authentication testing service that gives you an address to send a test message to. The results can show SPF, DKIM, and DMARC checks alongside the message details. A DNS lookup tool can also check the published records, but a live message test helps show what the receiver actually sees.
_m46!tidyspindle.9:
Should I only look at SPF if that's what the error mentions?
_z65+otterfolio.3:
Check all three if the test provides them. The exact rejection text and authentication results together are more useful than guessing from the SPF record alone.
Reply to this answer
Don't assume the DNS record is faulty just because the bounce says authentication failed. If the available headers show SPF, DKIM, and DMARC passing, keep the bounce and contact Microsoft support or your mail administrator. The rejection may need investigation on the receiving side.
Reply to this answer
Add your answer
Answers are reviewed before publication.
9b~canvasratchet_416:
Remove addresses and other sensitive details before sharing the bounce text with anyone for troubleshooting.