Phishing Emails From Your Own Domain: Causes and Fixes
A message that looks like it came from a colleague can be a forged header, a stolen mailbox or a routing gap. The headers say which, and each cause has a different fix.
- Evidence
- Reproducible
- Sources
- 22
- Topic
- Words
- 1,998
Short answer
Phishing emails from your own domain usually have one of six causes: a display-name spoof, a forged From address that your DMARC policy does not block, a compromised mailbox, a Microsoft 365 routing gap, a bypassed inbound gateway, or a legitimate service failing DMARC. The Authentication-Results header tells them apart, and each cause has its own fix.
Key points
- Compare the From domain with smtp.mailfrom and header.d in Authentication-Results first. That one comparison separates most causes.
- Mail that passes SPF, DKIM and DMARC from your own domain points to a compromised mailbox, not a spoof.
- Microsoft's compauth reason 010 or 601 marks self-to-self spoofing; reason 905 means complex routing stopped DMARC being enforced.
- Reject Direct Send became generally available on 16 Nov 2026. Existing tenants must turn it on themselves.
- Gmail does not enforce DMARC on mail arriving through an inbound gateway; 'Reject all mail not from gateway IPs' closes the route around it.
Re-run this analysis
- Input
- DMARC records for the top 10,000 registrable domains of the Majestic Million, collected 28 Nov 2026
- SHA-256
848cfef031123b0d61f1b114832dbcf6b60508719a8e207b0a523ed2a30d8af4- Licence
- CC BY 4.0. Built on the Majestic Million, by Majestic-12 Ltd, CC BY 3.0
- Files
- Command
node dmarc-policy-count.js dmarc-snapshot-2026-11-28.json
Save the script without its .txt ending and run it with Node.js on the input file. The output should match the published one line for line, starting with the same checksum.

Phishing emails from your own domain arrive with a colleague's name, or your own address, in the From line. There are six usual causes: a name typed over an outside address, a forged domain your DMARC policy did not block, a taken-over mailbox, two kinds of routing gap, and a misconfigured service you pay for.
Most help pages explain one. This guide maps all six to header fields, then gives Microsoft's and Google's fix for each. It ends with a count of how many large domains ask receivers to block forgeries of their name.
What do phishing emails from your own domain have in common?
Most of them exploit the fact that email has two sender addresses. Microsoft's email authentication overview calls the envelope address the "P1 sender", which is "typically recorded in the Return-Path header field". The address people see is the "P2 sender" in the From field. SMTP checks neither.
SPF checks the envelope domain, DKIM checks the signing domain, and DMARC checks that one of them matches the visible From domain. Record setup is in our guide to SPF, DKIM and DMARC requirements. Here, what matters is the Authentication-Results header a receiver writes.
Microsoft's anti-spam header reference lists the fields:
smtp.mailfrom=is the envelope (P1) domain.header.d=is the domain in the DKIM signature.header.from=is the visible From (P2) domain.compauth=andreason=are Microsoft's composite verdict and a three-digit reason code.
The same page links Microsoft's Message Header Analyzer, which lays a pasted header out as a table.
Which cause is it? Read these header fields
Compare the From domain with smtp.mailfrom and header.d, then read the DMARC and compauth results. The codes below are Microsoft's; Gmail writes its own results, and Google publishes no field-by-field reference on the pages we read.
| Cause | From vs envelope and DKIM domain | DMARC result | compauth reason | Other clue |
|---|---|---|---|---|
| Display-name spoof | Your colleague's name, but the address is at another domain | Often passes, for the other domain | Often a pass | Read the actual address, not the name |
| Exact-domain spoof | From is your domain; smtp.mailfrom and header.d are not | fail, or none if you publish no record | 010 or 000 (p=quarantine or p=reject); 601 or 001 (weak or no policy) | First Received hop is a server you do not use |
| Compromised mailbox | All three domains are yours | Passes, because the mail is genuine | A 1xx pass where checked | Copy in the user's Sent Items; DIR:INT, sometimes CAT:INTOS |
| Microsoft 365 routing gap or Direct Send | From and To are often the same address | fail; SPF fail or softfail; DKIM none | 905, or oreject with 451 | InternalOrgSender True with AuthAs Anonymous |
| Google Workspace gateway bypass | From is your domain | Not enforced | Not applicable | Received chain skips your gateway |
| Misconfigured legitimate service | SPF and DKIM pass for the vendor's domain, not yours | fail | 000 if you enforce | Sending IP belongs to a vendor you use |
Where these come from:
- Reason codes. Microsoft defines
010as a DMARC failure with p=reject or p=quarantine where "the sending domain is one of your organization's accepted domains (self-to-self or intra-org spoofing)".601is the implicit version;001covers no records or "a DMARC policy ofp=none";905means "DMARC wasn't enforced due to complex routing". - Routing-gap clues. A January 2026 Microsoft Threat Intelligence post lists them. Reason 905 appears, or an "oreject" action with reason 451.
X-MS-Exchange-Organization-InternalOrgSenderreads True whileX-MS-Exchange-Organization-AuthAsreads Anonymous. It also notes "the same email address used in the 'To' and 'From' fields". Reason 451 is in that post, not in the Learn table. - The vendor pattern. Microsoft's DMARC set-up page shows it:
smtp.mailfrom=bounces.adatum.com,header.d=adatum.com,dmarc=fail,header.from=contoso.com,compauth=fail reason=000.
How do you stop exact-domain spoofing of your domain?
Publish a DMARC policy of p=quarantine or p=reject once your real senders pass. Microsoft's DMARC page recommends moving from p=none to p=quarantine to p=reject, watching reports at each step. Our walkthrough on how to read a DMARC aggregate report covers that monitoring.
Microsoft 365 acts on the policy by default. The Exchange Team announced on 19 July 2023 that "we will honor the sender's DMARC policy", with rejected mail getting NDR 550 5.7.509. The control is the anti-phishing setting Honor DMARC record policy when the message is detected as spoof. Its policy reference offers quarantine or junk for p=quarantine, and quarantine or reject for p=reject.
Check it in Exchange Online PowerShell:
Get-AntiPhishPolicy | Format-List Name, HonorDmarcPolicy, DmarcQuarantineAction, DmarcRejectAction
Gmail also acts on the sender's policy. Gmail Help says Google lets domain owners "help define how we handle unauthenticated messages that falsely claim to be from your domain". Its example: "Google rejects all messages from eBay or PayPal that aren't authenticated." That page does not say what Gmail does under p=quarantine.
Two limits apply. RFC 9989, the May 2026 DMARC standard, says receivers "MUST NOT reject incoming messages solely on the basis of a 'p=reject' policy", and it leaves display-name attacks out of scope.
For those, Google Workspace has Protect against spoofing of employee names in its spoofing and authentication settings. Protect against inbound emails spoofing your domain covers mail "not authenticated with either SPF or DKIM". Both default to an inbox warning. Microsoft's impersonation settings are available only in Defender for Office 365.
Should you turn on Reject Direct Send in Microsoft 365?
Yes, after you have found the devices that need it. Direct Send, in Microsoft's device and application guide, means sending "unauthenticated email as an external email server directly to Microsoft 365". It uses port 25 of your MX endpoint, such as contoso-com.mail.protection.outlook.com, and the page adds: "Most customers don't need to use Direct Send."
The Exchange Team announced on 16 Nov 2026 that Reject Direct Send is generally available for worldwide tenants. GCC High and DoD are excluded. The post sets out the behaviour:
- New tenants. Microsoft is turning it on by default, "without the option to disable it". The rollout was under way when the post went up.
- Existing tenants. It stays "opt-in and off by default". Turn it on with
Set-OrganizationConfig -RejectDirectSend $trueand check it withGet-OrganizationConfig | Format-List RejectDirectSend. Changes spread "within 30 minutes". - What it checks. "Only the P1 MAIL FROM (envelope sender) address is evaluated," and it works "regardless of where your MX record points". Blocked mail gets
550 5.7.68 TenantInboundAttribution. - Preparation. Find senders with the DRS scenario in the Change Optics Report, then give each printer or app a partner inbound connector, matched on its TLS certificate or IP addresses.
In January 2026 Microsoft framed the risk differently. Its Threat Intelligence post says "Tenants with MX records pointed directly to Office 365 are not vulnerable to this attack vector". It adds: "This vector is not, as has been publicly reported, a vulnerability of Direct Send". Its fix was "strict" DMARC reject, SPF hard fail and correctly configured connectors.
The two fit together: Reject Direct Send checks the envelope sender and DMARC checks the visible From, so turn on both. To see who uses Direct Send today, Microsoft's Direct Send security post gives a historical message trace with -ConnectorType NoConnector -Direction Received.
What if mail passes through a filtering gateway first?
Then the cloud service cannot see the real sender without help. Microsoft's Exchange Team said in 2023 that behind a third-party MX, "'Honor DMARC' will not be applied" unless Enhanced Filtering for Connectors is on.
Enhanced Filtering for Connectors, "also known as skip listing", "preserves the source IP address and sender information". Set it in the Defender portal under Email & Collaboration > Policies & Rules > Threat policies > Rules > Enhanced filtering. Choose Automatically detect and skip the last IP address, or run Set-InboundConnector -Identity <name> -EFSkipLastIP $true.
Google Workspace has the same gap. Its inbound gateway help page says: "Gmail does not enforce the sender's DMARC policy for messages that arrive from the inbound gateway." The fix is the Reject all mail not from gateway IPs option, under Apps > Google Workspace > Gmail > Spam, Phishing and Malware > Inbound gateway. With it on, "messages from senders other than the inbound gateway are rejected."
What if the message really came from a colleague's account?
Then it is a mailbox takeover, and the fix is an incident response, not a DNS change. Microsoft's compromised account guide lists the signs: forwarding rules to unknown addresses, rules that hide mail, and odd items in Sent Items.
Its steps: disable the account, revoke sessions with Revoke-MgUserSignInSession, then review MFA methods, consented apps, admin roles and forwarding, including hidden rules via Get-InboxRule -IncludeHidden. Our email security guide's section on what to do when a mailbox has been taken over covers this in order. Record what happened in your incident response plan.
For a misconfigured vendor, the fix is on the vendor's side. Microsoft's DMARC page gives three options: change the envelope domain to yours, have the service sign DKIM with your domain, or send from a subdomain with its own record.
How many large domains block spoofing of their own name?
Most do, but far from all. Of the top 10,000 registrable domains, 59.0% publish p=quarantine or p=reject, and 18.1% publish no DMARC record at all.
We counted these domains from the Majestic Million, downloaded on 28 Nov 2026. A p=quarantine or p=reject policy asks receivers to junk or refuse forgeries; p=none or no record asks for nothing.
Method, in short:
- Domains. The list ranks some subdomains, so the collector reduces each entry to its registrable domain with the Public Suffix List. It keeps the first 10,000 unique names in rank order.
- Lookups. One TXT read of
_dmarc.<domain>per domain, through Cloudflare's public DNS-over-HTTPS resolver. Public DNS only: no mail sent, no domain's servers contacted. - Classification. A record must start with
v=DMARC1, and RFC 9989 says several records at one name "are all discarded", so those domains are counted separately.
The collector script saved every record it read to a published snapshot. The counting script reads only that file, and its unedited output prints the file's SHA-256.
| Result | Domains | Share |
|---|---|---|
| p=reject | 3,574 | 35.7% |
| p=quarantine | 2,325 | 23.3% |
| p=none | 2,242 | 22.4% |
Invalid record (no usable p=) | 3 | 0.0% |
| More than one record | 16 | 0.2% |
| No DMARC record | 1,806 | 18.1% |
| Lookup failed (resolver returned SERVFAIL) | 34 | 0.3% |
| Total | 10,000 | 100% |
| Rank band | Domains | Quarantine or reject | Share |
|---|---|---|---|
| 1 to 1,000 | 1,000 | 735 | 73.5% |
| 1,001 to 5,000 | 4,000 | 2,586 | 64.7% |
| 5,001 to 10,000 | 5,000 | 2,578 | 51.6% |
Know the limits before you quote these figures:
- Who is counted. These are large, mostly global sites, not small businesses.
- Policy, not outcome. A record shows the published policy, not whether receivers enforce it. The gateway and routing gaps above still apply.
- DNS moves. Records change daily. Re-running the collector gives slightly different numbers, while the counter reproduces these exactly from the published snapshot.
Other counts use different lists and denominators. RIPE Labs published a Live Direct Marketing analysis of the Tranco top 1 million on 30 July 2026. It found 458,467 domains publishing DMARC on 18 July 2026. Of those, 46.9% enforced, defined as "p=quarantine or p=reject at pct=100".
DMARC vendor DMARCguard scanned 5,499,028 Tranco domains on 27 Feb 2026. It reported that 12.8% of all domains enforce. On RIPE Labs' definition, our output gives 70.3%: 5,899 enforcing, less 174 with pct below 100, out of 8,144 domains with one record.
The Majestic Million is published under CC BY 3.0 by Majestic-12 Ltd. The Public Suffix List is a Mozilla initiative maintained by its community under the Mozilla Public License 2.0.
Sources
- How email authentication works in Microsoft 365
Microsoft Learn. Checked . - Anti-spam message headers
Microsoft Learn. Checked . - Set up DMARC to validate email in Microsoft 365
Microsoft Learn. Checked . - Anti-phishing policies in Microsoft 365
Microsoft Learn. Checked . - Announcing New DMARC Policy Handling Defaults for Enhanced Email Security
Microsoft Exchange Team Blog. Checked . - How to set up a multifunction device or application to send email using Microsoft 365 or Office 365
Microsoft Learn. Checked . - Reject Direct Send now Generally Available in Exchange Online
Microsoft Exchange Team Blog. Checked . - What is Direct Send and how to secure it
Microsoft Exchange Team Blog. Checked . - Phishing actors exploit complex routing and misconfigurations to spoof domains
Microsoft Threat Intelligence. Checked . - Enhanced filtering for connectors in Exchange Online
Microsoft Learn. Checked . - Respond to a compromised email account in Microsoft 365
Microsoft Learn. Checked . - Create allowlists
Microsoft Learn. Checked . - Set up an inbound mail gateway
Google Workspace Admin Help. Checked . - Advanced phishing and malware protection
Google Workspace Admin Help. Checked . - Control unauthenticated mail from your domain
Gmail Help. Checked . - RFC 9989: Domain-based Message Authentication, Reporting, and Conformance (DMARC)
IETF. Checked . - The Majestic Million
Majestic-12 Ltd. Checked . - Creative Commons Attribution 3.0 Unported
Creative Commons. Checked . - Public Suffix List
Mozilla Foundation and community. Checked . - Using JSON (DNS over HTTPS)
Cloudflare. Checked . - Two providers, a stubborn plateau and a very long tail: email in the Tranco top 1M
RIPE Labs. Checked . - Email authentication research
DMARCguard. Checked .
Questions readers ask
Why am I getting spam from my own email address?
Usually because someone put your address in the From field and the receiving server did not block it. That happens when your domain's DMARC policy is p=none or missing, when mail reaches Microsoft 365 or Gmail around a filtering gateway, or when an allow rule skips the checks. A message that passes DMARC came from a real account.
Can someone send email from my domain without my password?
Yes. SMTP does not check the From address, so any server can write your domain there. DMARC lets you ask receivers to reject or quarantine such mail, and Microsoft and Gmail both act on that request. It does not stop display-name spoofs or lookalike domains, which never use your exact domain.
Does DMARC p=reject stop all spoofed mail from my domain?
It stops exact-domain forgery at receivers that honour it, but not everything. RFC 9989 says receivers must not reject on p=reject alone. Microsoft 365 skips DMARC enforcement behind a third-party gateway unless Enhanced Filtering for Connectors is on, and Gmail skips it for mail arriving through an inbound gateway.
What does compauth=fail reason=601 mean?
Microsoft's header documentation says reason 601 is an implicit authentication failure where the sending domain is one of your organisation's accepted domains, which Microsoft calls self-to-self or intra-org spoofing. Reason 010 is the explicit version, where DMARC failed and your domain publishes p=quarantine or p=reject. Both mean the From address was forged.


