Why Microsoft 365 Sends Legitimate Domain Email to Junk
Question details
Determine why legitimate web application email is delivered to Microsoft 365 Junk Email despite configured SPF and DKIM.

- Product
- Microsoft 365 Exchange Online
- Device & OS
- not provided
- Scenario
- A web application sends domain email through a DKIM-enabled relay to Microsoft 365 recipients.
- Observed behavior
- Messages arrive in Junk Email, and their headers report Received-SPF: None.
Obtain the full headers of an affected message and identify the envelope sender domain and the IP address that connected to Microsoft 365. Ask the domain's DNS administrator and the receiving Microsoft 365 administrator to help with the relevant checks.
Verify SPF for the Envelope Sender and Relay
Use this check when the message header reports Received-SPF: None.
SPF checks the connecting sender against the domain used for the SMTP envelope sender, which may differ from the visible From address. A result of None means no usable SPF result was obtained; it does not by itself explain the Junk Email placement.
Open the affected message in Outlook and view its message details or internet headers. Find the Received-SPF and Authentication-Results fields, then identify the envelope sender domain and connecting IP address.
In the DNS provider's management portal, inspect the TXT records for the envelope sender domain. Confirm that one valid SPF record is published at that domain, has correct syntax, and stays within SPF DNS lookup limits.
Compare the connecting IP address in the headers with the relay provider's SPF instructions. Update the domain's SPF TXT record as directed by the provider if the actual sending service is not authorized.
After DNS changes have propagated, send a new message through the web application and inspect its Received-SPF and Authentication-Results headers. A correctly evaluated, authorized sender should produce SPF pass.

Review Microsoft 365 Filtering and Authentication Results
Use Microsoft 365's message and policy tools to find other reasons for Junk Email delivery.
Work With Email Attachments in WPS Office
WPS Office is a free, lightweight alternative for working with office documents in a familiar interface. Its Microsoft Office format compatibility helps you move existing files seamlessly; it does not fix Microsoft 365 email filtering or replace its mail service.

Frequently Asked Questions
What does Received-SPF: None mean?
It means Microsoft 365 did not obtain a usable SPF result for the connecting sender. Check the envelope sender domain and its DNS TXT records rather than assuming the visible From domain was checked.
Can a message still go to Junk Email if SPF passes?
Yes. Microsoft 365 also considers other signals and settings, including anti-spam policies, message content, authentication results, and mail flow rules.
Does enabling DKIM automatically satisfy DMARC?
No. DKIM must pass and its signing domain must align with the visible From domain, unless an aligned SPF result satisfies DMARC instead. Check the Authentication-Results header for the reported results.
Where can an administrator investigate a filtered message?
Use Mail flow > Message trace in the Exchange admin center, and review anti-spam policies and quarantine under Email & collaboration in the Microsoft Defender portal.




