Office 365 / Exchange Setup
This section includes information on how to configure your Office 365 or Exchange inbound environment for use with Mesh:
Create a Connector for Mesh in Microsoft 365 / Exchange (Inbound)
To ensure only email filtered by Mesh is delivered to your Microsoft 365 / Exchange tenancy, you need to create a connector for Mesh in Microsoft 365 / Exchange.
It is recommended that you consult Microsoft’s official documentation to ensure the setup is relevant to your environment.
Note
Important: Only complete this step after you point your MX records to Mesh. We recommend waiting 24 hours to allow for DNS propagation.
Note
Important: If you are moving from another Secure Email Gateway, you will likely have an existing connector in place to reject emails that aren't sent from a specific IP range.
You will need to remove this before changing MX records to prevent clean email filtered by Mesh from being rejected
This guide covers the following scenario:
![]() |
Step 1: Connectors page
Navigate to the "Connectors" page on your Exchange Admin Console.
Step 2: Add a connector
Select “Add a Connector”.
![]() |
Step 3: Specify mail flow
Select “Partner organization”. It will automatically select Office 365 as the “Connection to”.
![]() |
Step 4: Connector Name
Provide a name to connector and a description if you so wish. Check the “Turn it on” box.
![]() |
Step 5: Use of connector
Enter the “*
“ wildcard to indicate to always use the connector when receiving emails inbound.
![]() |
Step 6: Security Restrictions
Ensure the “Reject email messages if they aren't sent over TLS” is ticked. Ensure the “Reject email messages if they aren't sent from within this IP range" is ticked.
The IP ranges for your region can be found here. This setting ensures that emails cannot bypass our filtering/be delivered directly to your Microsoft 365 environment.
![]() |
Note
The IP shown here is Microsoft’s example. Please ensure that you populate the box with the Mesh IP ranges for your region.
Step 7: Review Connector
Review the details you have entered and click save. Your connector list will now be updated to reflect the change.
![]() |
![]() |
Tip
You’re all set!
Related Articles
Page: Mesh Gateway for all other email platforms (Mesh Help Center)
inbound
Page: Mesh Gateway for Exchange (Mesh Help Center)
inbound
Page: Mesh Gateway for Google Workspace (Mesh Help Center)
inbound
Page: Mesh Gateway for Microsoft 365 (Mesh Help Center)
inbound
Create a Mail Flow Rule for Mesh in Microsoft 365 / Exchange (Inbound)
In order to allow email filtered by Mesh to be delivered safely without any double filtering from Microsoft, you need to create a mail flow rule in Microsoft 365 / Exchange for Mesh’s IP ranges.
It is recommended that you consult Microsoft’s official documentation to ensure the setup is relevant to your environment.
This guide covers the following scenario:
![]() |
Step 2: Add a rule
Select “Add a Rule” and then “Create a new rule”.
![]() |
Step 3: Rule Conditions
Give the rule a name and apply the following rule conditions.
The sender → is external/internal → Outside the organization.
AND
The sender → IP address is any of these ranges or exactly matches → Enter the Mesh IP ranges specific to your region. You can find the IP ranges here .
Note
Important: Ensure you use the IP range applicable to your region. Using the incorrect range will result in loss of email.
Step 4: Do the Following
Under the “Do the following”, select “Modify the message properties”, select “set the spam confidence level (SCL)”, choose “Bypass Spam Filtering”.
![]() |
Step 5: Completed Rule
The completed rule conditions should look like this.
![]() |
Step 6: Rule Settings
The rule settings do not need to be changed and you can select next.
![]() |
Step 7: Enable Rule
Once saved it will appear in the list of rules. Ensure it is enabled.
![]() |
Tip
You’re all set!
Related Articles
Page: Mesh Gateway for all other email platforms (Mesh Help Center)
inbound
Page: Mesh Gateway for Exchange (Mesh Help Center)
inbound
Page: Mesh Gateway for Google Workspace (Mesh Help Center)
inbound
Page: Mesh Gateway for Microsoft 365 (Mesh Help Center)
inbound
Page: Mesh Unified (Mesh Help Center)
inbound