AegisAI Perspectives · 143
A gateway judges each message once, at delivery. Five causes let phishing through, and each one leaves a trace you can check in your own mail logs today.
See it on your own Google Workspace or Microsoft 365 tenant. No MX change.
Or get the Q3 2026 State of the AI Attack report (free, instant download)
Not ready for a demo? Check your domain.

Your secure email gateway (SEG) misses phishing when a message gives it nothing to block: a rule skipped filtering, or the sender passed authentication31. The other causes are a route around the gateway, a link that was clean at delivery, and a request with no link or file at all16. AegisAI investigates every email for what it is trying to do, and removes the ones that fail from every mailbox they reached20.
If you run IT for a company of 20 to 500 people on Microsoft 365 or Google Workspace, with a small IT or security team and no SOC, this page gives you the check for each cause in your own mail. The layer that acts after delivery is on the inbound email security page.
Key takeaways
- The Authentication-Results header records the result of each email authentication check on inbound mail.
- Two values in the X-Forefront-Antispam-Report header show that a mail flow rule or an allow list skipped spam filtering4.
- Enhanced Filtering for Connectors is meant for tenants whose MX record does not point to Microsoft 3656.
- Message trace covers up to 90 days; Google Workspace Email Log Search has no delivery logs past 30 days1114.
- Zero-hour auto purge searches only the last 48 hours of delivered email8.
| Question | Answer | Source |
|---|---|---|
| Why is my SEG still missing phishing emails? | Each miss has one of five causes: a rule skipped filtering, the sender passed authentication, the route skipped the gateway, the link was clean at delivery, or there was nothing to scan. | Microsoft Learn; FBI IC3 |
| How do I tell which cause let one message through? | Read the authentication results in the Authentication-Results header, then the SFV (spam filtering verdict) value in the X-Forefront-Antispam-Report header2. | Microsoft Learn |
| Did the message pass through my gateway at all? | Trace it in message trace or Email Log Search. Reason code 905 marks mail routed through a non-Microsoft service first5. | Microsoft Learn; Google Workspace Admin Help |
| What closes the gap after a miss? | A layer that reads mail through the Microsoft 365 or Google Workspace API after delivery21 and pulls one bad email from every inbox it reached, forwards included23. | Inbound email security page |
Short on time? Watch the explainer, or book a demo.
Because a SEG decides once, at delivery, on what it can match. A message that matches nothing is delivered. Microsoft says the same of its own filters: although Microsoft 365 includes many anti-phishing features, some phishing messages can still be delivered to mailboxes in your organization18.
The volume behind those misses is large. The FBI's 2025 IC3 Annual Report lists 191,561 phishing and spoofing complaints for 202515. The same report lists $3,046,598,558 in business email compromise losses for 2025.
The bypass techniques themselves are covered in the AegisAI Threat Intelligence series on how attackers bypass a secure email gateway. This page starts from the miss in your own mail and works back to its cause. Pull the headers of your last missed message before you change any policy.
The five SEG blind spots are a rule that skips filtering, a sender that passes authentication, a route around the gateway, a link that was clean at delivery, and a message with nothing to scan. Each one comes with the check that proves it in your own mail. Run the check before you pick a fix.
1. A rule told the filter to skip the message. If your tenant has a mail flow rule that skips spam filtering for mail from the gateway, a message the gateway missed gets no second look. SFV:SKN means the message bypassed spam filtering due to an Exchange mail flow rule. SFV:SKA means it skipped spam filtering because the sender was in the allowed senders list or allowed domains list of an anti-spam policy. Check: read the SFV value in the X-Forefront-Antispam-Report header.
2. The sender passed authentication. Authentication proves which server sent the message, not who wrote it. The results of SPF, DKIM and DMARC checks are stamped in the Authentication-Results header of each inbound message. Mail from a hijacked real mailbox passes all three. Check: read Authentication-Results. If all three pass, a stricter DMARC policy would not have stopped this message.
3. The message took a route the gateway never saw. A gateway inspects only the mail that passes through it. When the Partner inbound connector (the Exchange Online setting that accepts mail from an outside service) restricts mail to the gateway's certificate or IP addresses, any message smart-host routed (sent through a relay server) directly to Exchange Online is rejected7. Without that restriction, the direct path stays open. Mail between two users in the same tenant also stays inside it: Safe Links has a separate setting for messages between internal senders and internal recipients in the same Exchange Online organization9. Check: trace the message and see which connector it entered through.
4. The link was clean at delivery. A link scanned once can point somewhere else later. Using another service to wrap links before Defender for Office 365 might prevent Safe Links from processing links10. Check: read the address of the delivered link without clicking it, and see whose wrapper it carries.
5. There was nothing to scan. A payment request with no link and no file gives a gateway nothing to match. That is the shape of business email compromise. Check: count the reported messages that had no link and no attachment.
Tally your last five misses against these five causes.
Work back from each missed message, one field at a time. The steps below use Microsoft 365 names, with the Google Workspace equivalent where one exists.
Collect the misses. Configure the user reported settings to send user reported messages to a reporting mailbox, to Microsoft, or both12.
Read the Authentication-Results header of each message and note whether each authentication check passed.
Read the SFV value in X-Forefront-Antispam-Report. SFV:SKN points to a mail flow rule, SFV:SKA to an allow list.
Look for composite authentication reason code 905, which means DMARC was not enforced because the mail was routed through a non-Microsoft service before Microsoft 365.
On Microsoft 365, check that Enhanced Filtering for Connectors is set when your MX record points to the gateway. On Google Workspace, check that the Inbound gateway setting lists the gateway IP addresses13.
Trace the message in message trace or Email Log Search, inside the day limits in the table below.
Check whose wrapper the link carries, and whether Safe Links is on for mail within the organization.
Tag each miss with one of the five causes and count them by cause.
Fix the cause with the highest count first.
A SEG does not look at a message again after delivery, so what happens next depends on the tenant. Zero-hour auto purge can act on delivered mail, but its search is limited to the last 48 hours of delivered email. A lure opened on day three is outside that window.
Built-in filters behind the gateway miss mail too. AegisAI reports on its inbound email security page that 3 in 10 confirmed phishing emails cleared native Gmail and Microsoft filters in Q3 202625.
Report the message at once, so it lands in your reporting mailbox. Then trace the sender and subject to find every copy, and remove each one. Write down who removes a reported message and how fast, before the next miss.
| Cause | What proves it | Where to check |
|---|---|---|
| A rule skipped filtering | SFV:SKN (mail flow rule) or SFV:SKA (allow list) | X-Forefront-Antispam-Report header |
| The sender passed authentication | All three authentication checks pass | Authentication-Results header |
| The route skipped the gateway | An entry that did not come through the gateway connector. Reason code 905 marks the opposite: mail that came through a non-Microsoft service first | Message trace (up to 90 days); Email Log Search (30 days) |
| The link was clean at delivery | Another service's link wrapper, or Safe Links off for internal mail | The delivered link; the Safe Links policy |
| There was nothing to scan | A reported message with no link and no file | Reporting mailbox |
Use this table as the triage sheet for every reported miss.
It reads mail through the Microsoft 365 or Google Workspace API after delivery, with no change to mail routing (MX records). It works with your gateway or Defender22. It investigates every email for what it is trying to do, and removes the ones that fail from every mailbox they reached19.
Illustrative example, figures are fictional: Harbor Lane Dental Group (fictional) has 140 people on Microsoft 365, a gateway in front of the MX record and one IT admin. A staff member reports an invoice email that asks for new bank details. The headers show that all three authentication checks pass, and SFV:SKN. The admin finds a mail flow rule that skips spam filtering for all mail from the gateway, so the miss had two causes: an authenticated sender and a rule. Message trace shows the same message reached 11 mailboxes. She removes all 11 copies and narrows the rule. The miss goes into her tally. After four weeks the tally holds 9 misses: 5 with nothing to scan, 3 from authenticated senders and 1 internal.
Run the same trace on your own last reported miss this week.
Track three numbers, each from a log you can export.
To see what a layer after delivery would remove from your own mail, ask for a test on your own tenant. Compare the three counts on day 30 and fix the largest cause first.
Each miss has one of five causes: a rule skipped filtering, the sender passed authentication, the route skipped the gateway, the link was clean at delivery, or there was nothing to scan. AegisAI works with your gateway or Defender.
Not when the sender passes. The Authentication-Results header records the authentication results, and mail from a hijacked real mailbox passes SPF, DKIM and DMARC.
It means the message bypassed spam filtering due to an Exchange mail flow rule. Find the rule in the Exchange admin center and check which senders it covers.
Up to 90 days in message trace in the Exchange admin center. In Google Workspace, Email Log Search has no delivery logs for messages received more than 30 days ago.
Only inside its window. Its search is limited to the last 48 hours of delivered email.