Configure Google Workspace with Black Pearl Mail - Using a Test/Pilot Organizational Unit (OU)
You may want to set up a specific group of users to test the Black Pearl Mail system before deploying to your entire organization. This article explains how to create a test organizational unit (OU) in Google Workspace. If you'd prefer to set up your entire organization, follow these instructions.
STEP 1 – Login and Create a Test Organizational Unit
.png?width=670&height=226&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU).png)
STEP 2 – Go to Gmail Settings
6.png?width=670&height=419&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)6.png)
STEP 4 – Set up a New Mail Route
11.png?width=472&height=586&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)11.png)
STEP 5 – Setting up Advanced Rules
STEP 6 – Configure Compliance Settings
Then complete the following:
STEP 7 – Add Users to the Black Pearl Mail Test OU
1) Go to your Gmail Administrator settings: http://admin.google.com/.
2) Click on Organizational units.
.png?width=670&height=226&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU).png)
3) Click on + to create the new OU.
1.png?width=670&height=424&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)1.png)
4) Name it Black Pearl Mail Test OU and then click Create.
2.png?width=670&height=419&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)2.png)
5) Your test OU has been created. Click on Google Admin in the upper left-hand side.
3.png?width=670&height=419&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)3.png)
1) Click on the Apps icon.
4.png?width=670&height=326&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)4.png)
2) Click on Google Workspace.
5.png?width=670&height=231&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)5.png)
3) Click on Gmail.
6.png?width=670&height=419&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)6.png)
1) Click the Hosts.
7.png?width=670&height=279&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)7.png)
2) Click the Add Route.
8.png?width=670&height=176&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)8.png)
In the pop up enter the following:
- Name: Black Pearl Mail
- Hostname: smtp-global.blackpearlmail.com
- Port number: 25
- Ensure Require secure transport (TLS) is checked
- Ensure Require CA signed certificate is checked
- Ensure Validate Certificate hostname is checked
9.png?width=670&height=419&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)9.png)
3) Click Test TLS connection and ensure it passes
10.png?width=472&height=586&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)10.png)
4) Click Save.
11.png?width=472&height=586&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)11.png)
1) Go Back to Settings for Gmail.
12.png?width=670&height=157&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)12.png)
1) Scroll to the bottom of the page and click the Advanced Settings.
13.png?width=670&height=323&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)13.png)
2) Scroll down to the Routing section of the page.
14.png?width=670&height=419&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)14.png)
3) Hover over the SMTP relay service and click on Configure or Add another that appears to the right, then:
- Enter description as Black Pearl Relay
- Change allowed senders to Only addresses in my domain
- Check Only accept mail from the specified IP addresses
- Add the following IP ranges:
- Black Pearl West US - 13.86.181.222
- Black Pearl East 1 US - 13.86.126.189
- Black Pearl East 2 US - 40.88.53.55
- Black Pearl Central US - 52.224.189.79
All other fields can be left blank.
4) Click Add Setting.
5) Click Save.
16.png?width=670&height=419&name=Configure%20Google%20Workspace%20with%20Black%20Pearl%20Mail%20-%20Using%20a%20Test%20Pilot%20Organizational%20Unit%20(OU)16.png)
1) Go Back to Settings for Gmail .

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

3) Click on the Black Pearl Mail Test OU from the left-hand side.

2) Scroll down to Content Compliance and click Configure or Add another rule.

4) Set description to Black Pearl Compliance and then complete the following:
- Under 1. Email messages to affect check Outbound and Internal Sending
- 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 dropdown, then:
- Choose to add an expression.
- Select Advanced content match.
- Location should be set to Full headers.
- Match type set to not contains text.
- Enter X-BP to Content and Save the expression.

5) Click Add to add another expression. 

Then complete the following:
- Select Advanced content match.
- Select Location to Headers + Body.
- Select Match type to Not contains text.
- Enter BEGIN:VCALENDAR into the Content area.
- Click Save.
6) Click Add to add another expression.
Then complete the following:
- Select Advanced content match.
- Select Location to Envelope Sender.
- Select Match type to Not contains text.
- Enter google.com into the Content area.
- Click Save.
7) Click Add to add another expression.


Then complete the following:
- Select Advanced content match.
- Select Location to Full headers.
- Select Match type to Not matches regex.
- Enter (\W|^)(From:)*( <calendar-notification@google\.com> )(\W|$) </calendar-notification@google\.com> into the Regex area.
- Click Save.

8) Scroll to If the above expressions match do the following:
- Under Headers - Check “Add X-GM-Original-To header.”
- Under Route - Check “Change Route.”
- Select Black Pearl Mail from the dropdown.

9) Click Save.

1) Click on Google Admin in the upper left-hand side.

2) Click on Users.

3) Select the users you want to have test the system.