It does not. Connection filtering will block the IP before any other processing and it wont be ever seen by those other methods
https://learn.microsoft.com/en-us/microsoft-365/security/office-365-security/configure-the-connection-filter-policy?view=o365-worldwide
Exchange filtering stack and where safe sender options are processed
In the article https://learn.microsoft.com/en-us/microsoft-365/security/office-365-security/create-safe-sender-lists-in-office-365, different methods of creating safe senders are described:
- Mail flow rules
- Outlook Safe Senders
- IP Allow List (connection filtering)
- Allowed sender lists or allowed domain lists (anti-spam policies)
The details for each of these methods suggest that different parts of the Exchange filtering stack are bypassed depending on each method. It is not clear which parts of the stack are bypassed, however, and this has made it difficult to troubleshoot messages that are not making it to our users' inbox.
Is there a diagram, like this one from Nakivo https://www.nakivo.com/blog/wp-content/uploads/2020/05/The-working-principle-of-Exchange-Online-Protection.png, that includes where each safe sender method is processed?
To be more specific to the problem I'm working on, a customer's vendor uses Sendgrid to send critical email notifications. Unfortunately these messages send from shared IP addresses and one of them is on a spam list and gets blocked at the Connection Filtering level (the block action don't show up in Mail Trace). I've added the sender's email address to allowed senders list in EOP spam policies but am still receiving reports that messages are not being received. Does this not bypass connection filtering?
Thank you
2 answers
Sort by: Most helpful
-
Andy David - MVP 149.1K Reputation points MVP
2020-12-15T17:46:43.087+00:00 -
Lucas Liu-MSFT 6,176 Reputation points
2020-12-16T03:26:21.177+00:00 Hi @spencer ,
- According to the Microsoft article, through "IP Block List" you can block all emails from this IP address, all incoming messages are rejected, are not marked as spam, and no additional filtering occurs. So when it's not possible to use one of the other options to block a sender, only then should you use the IP Block List in the connection filter policy.
- For the working flow of Exchange Online Protection, you can refer to the screenshot below, any message that passes all of these protection layers successfully is delivered to the recipient.
For the working principle of each part, you can refer to: Exchange Online Protection overview
----------
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.