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

[Skip to content](https://help.blackpearl.com/specify-which-domains-route-through-black-pearl-mail-for-google-workspace#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. [Mail Server Setup](https://help.blackpearl.com/mail-server-setup?hsLang=en)

# Specify Which Domains Route Through Black Pearl Mail for Google Workspace

**What will you need to do?**

 

If you have multiple domains in your Google Workspace tenant, and you would like to specify which domains can route through Black Pearl Mail, then you can do this by updating your existing content compliance. 

 

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 Gmail Settings](https://help.blackpearl.com/specify-which-domains-route-through-black-pearl-mail-for-google-workspace#_Toc75251701)

[STEP 2 – Edit the Existing Content Compliance Entry](https://help.blackpearl.com/specify-which-domains-route-through-black-pearl-mail-for-google-workspace#_Toc75251702)

 

 

**STEP 1 – Login and go to Gmail Settings**

1\) Go to your Gmail Administrator settings: [http://admin.google.com/](http://admin.google.com/)

 

2\) Click on the **Apps** icon.

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

3\) Click on **Google Workspace.**

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

4\) Click on **Gmail.**

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

 

5\) Scroll down to the bottom of the page and click **Compliance**.

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

**STEP 2 – Edit the Existing Content Compliance Entry**

In this section we will be editing the existing Black Pearl Mail Content compliance rule to specify which domains can pass through Black Pearl Mail, using a Regex. 

 

2\) Scroll down to the **Content Compliance** section, and you should see a **Black Pearl Compliance** entry.

 

3\) Hover your mouse over this entry and click **Edit**.

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

 

4) Scroll down to step 2 and click **ADD**.

 

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

4) Ensure the below parameters are configured on the new expression:

Select **Advanced content match**

Location should be set to **Envelope sender**

Match type set to **Matches regex**

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

5) In the **Regexp** field, paste the regex sent across to you by Black Pearl Mail, ensuring that it has been copied correctly and no spaces exist at the start or end or the entry. This regex is unique to each customer.

 

![](https://help.blackpearl.com/hubfs/Knowledge%20Base%20Import/caution-Sep-29-2025-01-27-18-5247-AM.png)Note: Google will break the field down into 2 lines because the field is so small. Please do not be fooled by this and paste the entry twice. You can scroll up and down on the small bar on the right-hand side to ensure the entry has been pasted correctly.

 

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

 

 

6\) You can test the expression by clicking **Test expression** and entering an email address that **should** route through Black Pearl Mail. If the Regex is correct, then it should report a **match**. If you enter an address that **should not** route through Black Pearl Mail, it should report **no match**.

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

 

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

 

6) If you are happy with the testing, click **Save**.

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

7\) Click **Save** again.

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

 

Once you have completed all the above steps, we strongly advise you to send a test email to a personal account and ensure your mail is flowing and branding is applied. Also, send a test from a mail account this isn’t supposed to route through Black Pearl Mail and ensure it doesn’t brand. Incorrect changes to the Content Compliance entry could cause mail flow to break. If there are any issues with mail flow, disable the Black Pearl Mail Content Compliance entry and contact our support team immediately.

 

 

- [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.**