How to Bypass Spam Filtering with an Exchange Mail Flow Rule
Question details
The user needs to allowlist a sender domain using a mail flow rule so that incoming messages bypass spam filtering and avoid the Junk Email folder.

- Product
- Microsoft 365 Exchange Online
- Device & OS
- not provided
- Scenario
- Configuring email security policies in the Microsoft 365 admin center to prevent legitimate messages from a specific domain from being incorrectly marked as spam.
- Observed behavior
- The Microsoft 365 admin portal interface has changed, making it difficult for the user to find the specific option to bypass spam filtering for designated sender domains.
Ensure you have the necessary Exchange Administrator permissions in your Microsoft 365 tenant to access the Exchange admin center and manage mail flow rules.
Configure a Mail Flow Rule to Set the SCL to -1
Modify message properties in the Exchange admin center to bypass spam filtering by setting the Spam Confidence Level (SCL) to -1 for a specific sender domain.
In updated versions of the Exchange admin center, the direct 'bypass spam filtering' checkbox may not be visible. Instead, administrators must manually instruct Exchange to bypass filtering by setting the Spam Confidence Level (SCL) to -1.
Log in to the Microsoft 365 admin center and navigate to the Exchange admin center under the Admin centers menu.
Go to 'Mail flow' and select 'Rules'. Click on the '+' (Add a rule) icon and choose 'Create a new rule'.
Under 'Apply this rule if', select 'The sender', then choose 'domain is'. Enter the specific domain name you want to allowlist.
Under 'Do the following', select 'Modify the message properties', and then choose 'set the spam confidence level (SCL)'. Set the value to '-1' to bypass spam filtering.
Review the rule settings, choose the desired enforcement mode, and click 'Save'. The rule will now be active for the specified domain.

Enhance Your Team's Workflow with WPS Office
While Microsoft 365 handles your complex email routing and security policies, WPS Office provides a lightweight, cost-effective solution for all your daily document needs. Enjoy seamless compatibility with Microsoft Word, Excel, and PowerPoint files without the heavy subscription fees, making it the perfect productivity companion for businesses of all sizes.
- 1. Download and Install: Get WPS Office Free from the official website and install it on your device in minutes.
- 2. Open Existing Office Files: Seamlessly open your existing Word, Excel, and PowerPoint documents without worrying about formatting issues.
- 3. Edit and Share: Utilize robust editing tools to collaborate on documents, then save them in standard Office formats or export them to PDF.

Frequently Asked Questions
Why are messages still going to the Junk Email folder after creating the rule?
It can take up to an hour for a new mail flow rule to apply across Exchange Online. If the issue persists after this time, verify that the rule conditions are correct and that no conflicting rules are overriding it. If needed, open a support request through the Microsoft 365 admin center.
What does setting the Spam Confidence Level (SCL) to -1 mean?
SCL stands for Spam Confidence Level. In Exchange Online, setting a message's SCL to -1 explicitly instructs the email filtering system to bypass all spam filtering checks for that specific message, ensuring it gets delivered to the recipient's inbox.
Can I bypass spam filtering for specific email addresses instead of entire domains?
Yes. When configuring the mail flow rule's condition in the Exchange admin center, you can choose 'The sender is this person' and specify individual email addresses instead of using the 'domain is' condition.




