Jun 26 2020
- last edited on
Feb 06 2023
today i received mail from my organization. i check headers and see that spf failed.
Received-SPF: Fail (protection.outlook.com: domain of mydomain.com does not
designate 18.104.22.168 as permitted sender) receiver=protection.outlook.com;
why spffailed mails normally received?
i check SPF at mxtoolbox and SPF is correctly configured.
Jun 26 2020 10:06 AM
Failing SPF will not cause Office 365 to drop a message, at best it will mark it as Junk, but even that wont happen in all scenarios.
Oct 07 2020 10:54 AM
@tsula I solved the problem by creating two Transport Rules. The first one reads the "Received-SPF" line in the header information and if it says "SPF=Fail" it sends the message to quarantine. The second one reads the "Authentication-Results" line in the header information and if it says "Fail" sends the email to quarantine. Hope this helps.
Oct 08 2020 02:52 AM
@tsula firstly, this mostly depends on the spam filtering policy you have configured. Secondly, if your user has the sender's address added to their safe senders list, or sender address is in contacts + contacts are trusted, the message would skip spam filtering and be delivered to inbox.
If you provided a sample message header, we might be able to tell you more.