Fix: Legitimate Emails Going to Junk in Outlook (SPF, DKIM, and DMARC Explained)
Real, expected email is landing in the Junk Email folder. A client’s proposal or a vendor’s invoice disappears until someone looks in Junk, and Outlook may add a banner reading This message was identified as junk or We could not verify the identity of the sender. Or the reverse: your own outbound mail is going to recipients’ junk folders and they are asking why.
This usually traces back to email authentication. If a sending domain has not published correct SPF, DKIM, and DMARC records, Microsoft 365 cannot confirm the message is real, and its filters err toward junk. It is most visible when a CRM, practice management system, or billing portal sends as your domain from servers you do not control.
Why This Happens
Exchange Online Protection (EOP) assigns every inbound message a Spam Confidence Level (SCL) from -1 to 9. A score of 5 or 6 lands in Junk; 7 to 9 is high confidence spam or phishing. The score comes from content, sender reputation, and, heavily, three DNS-based authentication checks. A mail flow rule or a user’s blocked senders list can produce the same symptom.
SPF (Sender Policy Framework)
SPF is a TXT record listing the servers permitted to send for your domain, for example v=spf1 include:spf.protection.outlook.com -all. When your CRM sends as billing@yourdomain.com from servers not in that record, the check fails. SPF also breaks on forwarded mail and has a hard limit of 10 DNS lookups.
DKIM (DomainKeys Identified Mail)
DKIM adds a signature header to each message, verified against a public key in your DNS at a selector such as selector1._domainkey.yourdomain.com. It survives forwarding, so it matters more than SPF. Microsoft 365 does not sign with your custom domain until you enable it; before that it signs with onmicrosoft.com, which does not align with your From address.
DMARC (Domain-based Message Authentication, Reporting and Conformance)
DMARC is a TXT record at _dmarc.yourdomain.com that requires SPF or DKIM to pass and align with the visible From domain, then tells receivers what to do on failure: p=none (monitor), p=quarantine, or p=reject. Since 2024, Google, Yahoo, and Microsoft require bulk senders to publish DMARC.
How to Fix It
Method 1: Read the message headers
- In Classic Outlook, open the message, choose File, Properties, and copy the Internet headers. In New Outlook, use the three-dot menu, View, View message source.
- Paste the headers into the Microsoft Message Header Analyzer at
https://mha.azurewebsites.net. - Read
Authentication-Resultsfor thespf=,dkim=, anddmarc=verdicts and the domain each check used. - Read
X-Forefront-Antispam-Report.SCLis the score.SFV:SPMmeans the filter marked it spam,SFV:BLKthe user’s blocked list did,SFV:SKSa mail flow rule did, andCAT:showsSPOOF,PHSH, orBULK.
Method 2: Fix your own domain’s authentication (admin, DNS)
- SPF. Publish one TXT record including every legitimate sender:
include:spf.protection.outlook.complus each third-party platform’s documented include, ending in-all. Keep lookups under 10 and never publish two SPF records. - DKIM for Microsoft 365. In the Microsoft Defender portal go to Email & collaboration, Policies & rules, Threat policies, Email authentication settings, DKIM. Select your domain, create the two
_domainkeyCNAME records shown, then toggle signing on. - DKIM for third-party senders. Every platform that sends as your domain (HubSpot, Mailchimp, Dentrix or Eaglesoft reminders, QuickBooks) offers a domain authentication setting with records to publish. Without it, their mail fails alignment.
- DMARC. Publish a TXT record at
_dmarc.yourdomain.comsuch asv=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com. Collect reports for two to four weeks, confirm every legitimate sender is aligned, then move top=quarantineand finallyp=reject.
Method 3: Adjust Microsoft 365 filtering for an inbound sender
- Ask the sender to fix their authentication first; allow entries are a bandage. For immediate relief, in the Defender portal go to Submissions, submit the message as I’ve confirmed it’s clean, and check Allow emails with similar attributes. For
CAT:SPOOF, add an allow under Tenant Allow/Block List, Spoofed senders instead. - Review the Anti-spam inbound policy bulk threshold (default 7), and check Mail flow, Rules for any rule that sets SCL too broadly. Avoid the policy-level allowed sender list, which bypasses spoof checks.
- For one user, check Junk E-mail Options (Classic) or Settings, Mail, Junk email (New Outlook) and clear Blocked senders.
Method 4: Repair outbound reputation
Confirm your domain and sending IP are not on a blocklist, check Restricted entities in the Defender portal for a blocked account that sent spam, and register for Microsoft SNDS and Google Postmaster Tools.
How to Verify the Fix Worked
- Headers on a fresh message show
spf=pass,dkim=pass, anddmarc=passwith the DKIM domain matching your From domain. nslookup -type=txt _dmarc.yourdomain.comreturns exactly one DMARC record and the root domain exactly one SPF record.- The DKIM page in the Defender portal shows your domain as Enabled.
- DMARC aggregate reports over the following week show near 100 percent alignment.
If It Still Isn’t Working
If authentication passes but mail still lands in Junk, the cause is content or reputation. Check the CAT value: BULK means the bulk threshold, PHSH a phishing-like pattern such as mismatched link text.
If DMARC fails for forwarded mail, that is expected for SPF. Ensure DKIM is signing so DMARC passes on DKIM alone, and add trusted ARC sealers under Email authentication settings. If a platform cannot sign with your domain, route it through Microsoft 365 with a connector.
Stop and escalate if DMARC reports show large volumes from unrecognized sources (someone is spoofing your domain), if a mailbox in your tenant sent spam, or if a major blocklist refuses delisting.
How Capital Techies Handles This for Managed Clients
Email authentication is part of onboarding for every managed client. We inventory every system that sends as the client’s domain, publish a consolidated SPF record, enable DKIM in Microsoft 365 and on each third-party platform, and put DMARC in place with monitored reporting, moving to enforcement once the reports are clean. Ongoing, DMARC reports and Defender for Office 365 spoof intelligence tell us when a new platform starts sending or someone impersonates the domain. This reduces business email compromise risk, satisfies cyber insurance and CMMC email controls, and keeps invoices out of junk.
If your mail is landing in junk, contact Capital Techies about Microsoft 365 services.
Frequently Asked Questions
What is the difference between SPF, DKIM, and DMARC?
SPF is a DNS record listing which servers may send mail for your domain. DKIM is a cryptographic signature on each message that receivers verify against a public key in your DNS. DMARC tells receivers what to do when SPF or DKIM fails or does not align with the From address, and requests reports on who is sending as your domain.
Why do my own emails go to junk when I send to colleagues in the same company?
Internal mail in Microsoft 365 is usually trusted, so this points to a mail flow rule that sets a high spam confidence level, a signature or archiving service relaying the message without matching SPF or DKIM, or a user-level blocked sender. Check the headers for the SCL and SFV values to see which filter acted.
Will adding a sender to Safe Senders fix the problem?
Safe Senders is a per-user setting that helps one mailbox, and Microsoft 365 honors it for most verdicts except high-confidence phishing and malware. It does nothing for other recipients. Use it as short-term relief while the sender fixes SPF, DKIM, and DMARC.