---
title: Configure Google Workspace for Black Pearl Mail Within an Existing OU for a Single User
description: how to configure Google Workspace for Black Pearl Mail within an existing OU, enabling signature management for a single user only.
---

[Skip to content](https://help.blackpearl.com/configure-google-workspace-for-black-pearl-mail-within-an-existing-ou-for-a-single-user#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 Gmail](https://help.blackpearl.com/configure-bpm-with-gmail?hsLang=en)

# Configure Google Workspace for Black Pearl Mail Within an Existing OU for a Single User

If you have existing OU's within Google Workspace, and you only want to restrict certain users within an OU to route through Black Pearl Mail, then then please follow the steps within this article.

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://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=nu61k8b8acab3c9164717a17b1f18c810fb11)

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

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=nu61k50759a519fba400da6207fa9662a5878)

 

4\) Click on  **Gmail.**

**![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=j5xmhaf74e8d2199a43a095b8f53f665335e9)**

 

 STEP 2 – Set up a New Mail Route

1\) Click the  **Hosts.**

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=nu61k81d43896a84d4b2f91927701cefc2495)

 

2\) Click the  **Add Route.**

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=nu61kd5938a48d70e403b9c5df94f73a5f786)

In the popup, enter the following:

1. Name: **Black Pearl Mail**
2. Ensure that the **Specified email server** is set to *single host*.
3. Hostname (case sensitive): **smtp-global.blackpearlmail.com**
4. Port number: **25**
5. Ensure **Require secure transport (TLS)** is checked.
6. Ensure **Require CA signed certificate** is checked.
7. Ensure **Validate certificate hostname** is checked.

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=j5xmhc4969dcf668b423abcda887544685e80)

 

3\) Click  **Test TLS connection** and ensure it passes.

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=nu61k4e2df7bc74d7462f9041f69c03c051bb)

 

4\) Click  **Save.**

**![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=nu61ka02a79e078e34811a6993c99b6cfbf94)**

 

 STEP 3 – Setting up Advanced Rules

1\) Go Back to  **Settings for Gmail**.

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=nu61kcbfaabd52ad64f3ca3fb2e2c372623c2)

 

2\) Scroll to the bottom of the page and click  **Advanced Settings.**

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=nu61k8723be2dcb664b2cacd8dd3efe751629)

 

3\) Scroll down to the  **Routing** section of the page.

4\) Hover over the  **SMTP relay service.**

5\) Click on  **Configure** or  **Add** another that appears to the right.   
![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=j5xmhad47d337e74a4ba093429a51b4bdc8be)

 

6\) Enter the following:

1. Enter the description as **Black Pearl Relay.**
2. Change allowed senders to **Only addresses in my domain.**
3. Check **Only accept mail from the specified IP addresses.**

Add the following IP ranges:

1. **Black Pearl West US - 13.86.181.222**
2. **Black Pearl East 1 US - 13.86.126.189**
3. **Black Pearl East 2 US - 40.88.53.55**
4. **Black Pearl Central US - 52.224.189.79**

All other fields can be left blank.

 

7\) Click  **Add Setting.**

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=j5xmh2e55494d38c34db9b86810f76802e8f7)  
       

                  

8\) Click  **Save.** 

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=j5xmh1aad14beca274cac898fcb6bdd313063)

 

 STEP 4 – Configure Compliance Settings 

1\) Go back to  **Settings for Gmail**.

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=nu61k00ffc48dd46e4f3b9c3c3333dad6775f)

 

2\) Scroll down to the bottom of the page and select  **Compliance.**

**![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=nu61k5cd090e6f6084168a8968c1e605812aa)**

 

3\) Select the **OU**  that the user is a member of from the left hand side.

![](https://help.blackpearl.com/hubfs/Knowledge%20Base%20Import/edbsn797e6e91d372fe4e97020bb597634f7f9bf94acab9248605846f29b136861160817dbbccf43b418ebc0f73520e191d45.png)

 

4\) Scroll down to  **Content Compliance**  and   click  **Configure.**

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=nu61k03a1346bc078411f915470d484891818)

 

5\) Set the description to  **Black Pearl Compliance.**

1. Under **1. Email messages to affect** check **Outbound** and **Internal Sending.**
2. Under **2. Add expressions that describe the content you want to search for in each message,** make sure that you have **If ALL of the following match the message** selected in the drop-down, then:
3. Choose to **add an expression.**
4. Select A**dvanced** **content match.**
5. **Location** should be set to **Full headers.**
6. **Match type** set to **not contains text.**
7. Enter **X-BP** to **Content** and **Save** the expression.
8. Click **Save.**

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=j5xmh15fc86fbb97348b3913a2dc79b604df3)  
            

**6)** Click  **Add** to add another expression.

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=j5xmh427a0b6442d04dc2823177e0b668070d)

1. Select **Advanced content match.**
2. Select **Location** to **Headers + Body.**
3. Select **Match type** to **Not contains text.**
4. Enter **BEGIN:VCALENDAR** into the **Content** area.
5. Click **Save.**

**![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=j5xmh844057b203f04024a7e8d6524337170c)**

      

7\) Click  **Add** to add another expression.

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=j5xmhc41c6748bc984c19a7e30064f17def8d)

1. Select **Advanced content match.**
2. Select **Location** to **Envelope Sender.**
3. Select **Match type** to **Not contains text.**
4. Enter **google.com** into the **Content** area.
5. Click **Save.**

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=j5xmhcdd2c9a3cd234becbf901d26819ee208)

 

8\) Click  **Add** to add another expression.   
![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=j5xmhb38b9521912a4ce088937282b06dbb83)

1. Select **Advanced content match.**
2. Select **Location** to **Full headers.**
3. Select **Match type** to **Not matches regex.**
4. Enter **(\\W|^)(From:)\*( \<calendar-notification@google\\.com\> )(\\W|$) \</calendar-notification@google\\.com\>** into the **Regex** area.
5. Click **Test expression** and then select **Save.**

**![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=j5xmh8e6b5d2fdd4c485eaac6528cfc9abb45)**

 

9\) Click  **Add**  to add another expression. This is the Regular Expression that will specify which user you want to route through Black Pearl Mail.

1. Select **Advanced content match.**
2. Select **Location** to **Sender Header.**
3. Select **Match type** to **Matches regex.**
4. Enter email address of the user you want to route through Black Pearl Mail into the **Regex** area e.g. [barry@blackpearlmail.com](mailto:barry@blackpearlmail.com). If you would like multiple users to route through, then each email address can be separated with a pipe e.g. [barry@blackpearlmail.com](mailto:barry@blackpearlmail.com)|[joe@blackpearlmail.com](mailto:joe@blackpearlmail.com)
5. Click **Test expression.**
6. In the **Enter sample data** field, enter the email address of the user that you specified in the regex i.e. the user that you want to route through Black Pearl Mail.
7. If successful, it should return a match.
8. Now enter the address in the sample data of a user that you don't want to route through Black Pearl Mail. This should return a no match.
9. If any of the above testing doesn't output the expected results, contact Black Pearl Mail to review.
10. Click **Save**.

**![](https://help.blackpearl.com/hubfs/Knowledge%20Base%20Import/edbsn079c8fc50530258ccea983dfdb8167ebc781bf325e4ac99fb65792bea914d411d65746e0877cfb4313c8d1373e532b3d.png)**

 

 

9\) Scroll to  **If the above expressions match do the following.**

1. Under Headers - Check “**Add X-GM-Original-To header**”.
2. Under Route - Check “**Change Route**”.
3. Select **Black Pearl Mail** from the dropdown.

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=nu61k70426ca21a28411486addad1e093f3e5)

      

10\) Click  **Save**.

![](https://desk.zoho.com/DocsDisplay?zgId=695422953&mode=inline&blockId=nu61k108f5c5bf10848379d4d7ba4fc6d3bd3)

 

That completes the settings needed in Google Workspace to restrict certain users in existing OU's to route through Black Pearl Mail. We strongly advise that you send some tests emails from multiple users to ensure that mail is flowing correctly. If there are any issues, then disable the Content Compliance rule you created and contact Black Pearl Mail support.

 

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