When to use it
Enhanced Filtering for Connectors (skip listing) is for routing where the MX record does not point to Microsoft 365: a third-party cloud filter, an appliance, or on-premises Exchange in front. Without it, Exchange Online sees the last hop's IP instead of the real sender. With it, the original source IP and sender are preserved, DKIM failures are recovered and SPF, DKIM and DMARC are checked explicitly. It is not for services that scan mail after Microsoft 365.
Where and how
- Portal: Defender portal > Email & collaboration > Policies & rules > Threat policies > Rules > Enhanced filtering, directly at security.microsoft.com/skiplisting. Choose Disable, Automatically detect and skip the last IP address (recommended) or Skip these IP addresses, then apply to the entire organization or to a small set of users for testing.
- PowerShell: Set-InboundConnector -Identity name -EFSkipLastIP $true (default $false), -EFSkipIPs for specific addresses, -EFUsers for a pilot scope. It is an inbound connector setting, never an outbound one.
Permissions: Organization Management, or Exchange Administrator or Global Administrator.
Limits and traps
- Private RFC 1918 addresses, loopback and Microsoft 365 IP addresses are not supported. IPv6 can be set only in PowerShell.
- A user scope applies only when every recipient of a message is in EFUsers, and every proxy address must be listed. Blank means all recipients. A message to one pilot user and one other user gets no skip listing.
- Once it is on, disable SCL -1 bypass rules for that connector: an SCL set by a rule is only an input to filtering.
- Hybrid: supported for linear routing (Internet to on-premises to Microsoft 365), not for non-linear centralized mail transport routing (Internet to Microsoft 365 to on-premises to Microsoft 365).
Checking it
When skip listing succeeds and the recipient matches, the header X-MS-Exchange-ExternalOriginalInternetSender is added. X-MS-Exchange-SkipListedInternetSender appears whenever it is on for the connector.