---
title: Specify Which Domains Route Through Black Pearl Mail for M365
description: Black Pearl Mail Knowledge Base
---

[Skip to content](https://help.blackpearl.com/specify-which-domains-route-through-black-pearl-mail-for-m365#main-content)

[Raise a Ticket](https://help.blackpearl.com/kb-tickets/new?hsLang=en)

[![logo](https://help.blackpearl.com/hs-fs/hubfs/logo.png?width=101&height=101&name=logo.png)](https://blackpearlmail.com/)

Open main navigation

Close main navigation

- [Raise a Ticket](https://help.blackpearl.com/kb-tickets/new)
- [Contact us](mailto:support@blackpearl.com)

[Contact us](mailto:support@blackpearl.com)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Black Pearl Mail Knowledge Base](https://help.blackpearl.com/?hsLang=en)
2. [Configure BPM with M365](https://help.blackpearl.com/configure-bpm-with-m365?hsLang=en)

# Specify Which Domains Route Through Black Pearl Mail for M365

What will you need to do?

 

When you configure Black Pearl Mail for M365, you may have multiple domains in your M365 tenant. Black Pearl Mail can allow for multiple domains to route through their platform, however there may be scenarios where you may not wish for messages from certain domains to pass through Black Pearl Mail.

 

If you have any issues or questions during this process, please contact [support@blackpearlmail.com](mailto:support@blackpearlmail.com). 

 

There are 2 steps required:

 

[STEP 1 – Login and go to Office 365 Mail Flow Settings](https://help.blackpearl.com/specify-which-domains-route-through-black-pearl-mail-for-m365#_Toc73013823)

[STEP 2 – Edit the Existing Rule to Specify Which Domains Can Pass Through Black Pearl Mail](https://help.blackpearl.com/specify-which-domains-route-through-black-pearl-mail-for-m365#_Toc73013824)

 

 

STEP 1 – Login and go to Office 365 Mail Flow Settings

1) Open/go to the Office365 admin console - [https://portal.office.com/adminportal](https://portal.office.com/adminportal)

 

2\) Click on Show all...

![](https://help-insights.blackpearlmail.com/DocsDisplay?zgId=695422953&mode=inline&blockId=3gjs970e7e858f3014b3d89ab6d1fac8cf9be)

 

3\) Click on Exchange.

![](https://help-insights.blackpearlmail.com/DocsDisplay?zgId=695422953&mode=inline&blockId=3gjs9fea5479dee4048158fe6348f5ef3d8b7)

 

 

4) Select Mail flow from the left-hand side menu.

![](https://help-insights.blackpearlmail.com/DocsDisplay?zgId=695422953&mode=inline&blockId=3gjs9c1d2d192028f41b9981d9f5b450dbdd7)

 

 

STEP 2 – Edit the Existing Rule to Specify Which Domains Can Pass Through Black Pearl Mail

In this section, we will be editing the existing Black Pearl Mail rule to specify which domains can route through Black Pearl Mail.

 

1\) Click on Rules. 

![](https://help-insights.blackpearlmail.com/DocsDisplay?zgId=695422953&mode=inline&blockId=3gjs90403b0985f024469b2a066e2e8a87644)

 

2) Highlight the Black Pearl Mail rule.

![](https://help-insights.blackpearlmail.com/DocsDisplay?zgId=695422953&mode=inline&blockId=3gjs9e8d8c925c77c491d9b290c3290be84c1)

 

3) Click on the edit icon.

![](https://help-insights.blackpearlmail.com/DocsDisplay?zgId=695422953&mode=inline&blockId=3gjs96591c3dacad7484f840f21c258457347)

 

4) Click on add condition.

![](https://help-insights.blackpearlmail.com/DocsDisplay?zgId=695422953&mode=inline&blockId=3gjs9a79a853cf13a47dc903a7ff126489e1c)

 

5) From the dropdown, select the sender… domain is.

![](https://help-insights.blackpearlmail.com/DocsDisplay?zgId=695422953&mode=inline&blockId=3gjs90a8c19a1bcb549388a94ca5de29408ba)

 

6) Enter the name of the domain that you want to route through Black Pearl Mail and click the + symbol. If you have any additional domains, enter them in and click the plus symbol again.

![](https://help-insights.blackpearlmail.com/DocsDisplay?zgId=695422953&mode=inline&blockId=3gjs96236edee1fe846e19aea4aff6f82ef73)

 

8) Click Ok.

 

![](https://help-insights.blackpearlmail.com/DocsDisplay?zgId=695422953&mode=inline&blockId=3gjs9105e7a780f364d39877cf49ceb539538)

 

After editing the rule, we strongly advise that you send a couple of test emails from all your active domains to ensure that mail is flowing correctly. If there are any issues, then go back into the rule and remove the exception you just created.

 

 

 

- [Troubleshooting](https://help.blackpearl.com/troubleshooting?hsLang=en)
- [Pearl Diver](https://help.blackpearl.com/pearl-diver?hsLang=en)
- [Insights](https://help.blackpearl.com/insights?hsLang=en)
- [General](https://help.blackpearl.com/general?hsLang=en)
- [Configure BPM with M365](https://help.blackpearl.com/configure-bpm-with-m365?hsLang=en)
- [Groups](https://help.blackpearl.com/groups?hsLang=en)
- [Dashboard](https://help.blackpearl.com/dashboard?hsLang=en)
- [Mail Server Setup](https://help.blackpearl.com/mail-server-setup?hsLang=en)
- [People](https://help.blackpearl.com/people?hsLang=en)
- [Analytics](https://help.blackpearl.com/analytics?hsLang=en)
- [Mail Flow](https://help.blackpearl.com/mail-flow?hsLang=en)
- [Configure BPM with Gmail](https://help.blackpearl.com/configure-bpm-with-gmail?hsLang=en)
- [Templates](https://help.blackpearl.com/templates?hsLang=en)
- [Admin Dashboard](https://help.blackpearl.com/admin-dashboard?hsLang=en)
- [Best Practices](https://help.blackpearl.com/best-practices?hsLang=en#main-content)

    - [DNS Settings](https://help.blackpearl.com/best-practices?hsLang=en#dns-settings)

[![BPG\_Linkedin\_Icon (1)-1](https://help.blackpearl.com/hs-fs/hubfs/BPG_Linkedin_Icon%20(1)-1.jpg?width=100&height=100&name=BPG_Linkedin_Icon%20(1)-1.jpg "BPG_Linkedin_Icon (1)-1")](https://blackpearlmail.com/)

**© 2025 Blackpearl Group Limited.**