Step 3 - Configuring Google Workspace
You can integrate FortiMail Workspace Security with Google Workspace. This enables FortiMail Workspace Security to protect all incoming mail.
This is the 3rd step of the procedure to integrate Google Workspace with FortiMail Workspace Security:
To enable your Google Workspace integration with FortiMail Workspace Security, some configurations must be made in your Google Workspace account. Perform these configurations as described below.
To configure Google Workspace with FortiMail Workspace Security:
|
|
|
Note: The procedures below may differ slightly depending on the versions of the products that you are using. |
Configure a Perception Point scanner host to which emails will be routed.
-
Sign-in to the Google Admin console at admin.google.com.
-
Go to Apps > Google Workspace > Gmail and then click Hosts.
[Click here: https://admin.google.com/u/1/ac/apps/gmail/hosts] -
Click Add route.
-
In the Add mail route dialog box, specify the following.
-
Name: Perception Point Scanner
-
Single host [name]:
What is the environment of your organization
-
In FortiMail Workspace Security, go to Settings > Account.
-
The Environment of your organization will appear under General > Info: US, EU, or AUS.
Multi-region enabled Multi-region not enabled For US environments:
us.mx-pp.com
inbound-smtp.us-east-1.amazonaws.com
For EU environments:
eu.mx-pp.com
inbound-smtp.eu-west-1.amazonaws.com
For AUS environments:
australia.mx-pp.com
inbound-smtp.eu-west-1.amazonaws.com
-
-
Port: 25
-
-
Under 2. Options:
-
Clear the "Perform MX lookup on host" check box.
-
Select "Require mail to be transmitted via a secure (TLS) connection".
Note that FortiMail Workspace Security supports TLS 1.2
-
Select "Require CA signed certificate".
-
Validate certificate hostname:
-
If multi-region IS NOT enabled, select "Validate certificate hostname".
-
If multi-region IS enabled, clear the "Validate certificate hostname" check box.
For details about multi-region, see Multi-region.
-
-
-
Click Save.
This procedure adds some FortiMail Workspace Security IP addresses to a safelist.
-
Sign-in to the Google Admin console at admin.google.com.
-
Click Apps > Google Workspace > Gmail.
[Click here: https://admin.google.com/u/1/ac/apps/gmail/spam]
-
Scroll down to Spam, Phishing and Malware - and select it.
-
Locate Inbound gateway, hover over it, and click the Edit icon.
-
Select the "Enable" check box under Inbound Gateway - if it has not already been enabled.
-
In the Description text box, enter "Perception Point inbound Gateway"
-
Depending on the environment of your organization, add the following IP addresses to your inbound gateway:
What is the environment of your organization
-
In FortiMail Workspace Security, go to Settings > Account.
-
The Environment of your organization will appear under General > Info: US, EU, or AUS.
For US environments
For EU environments
For AUS environments
-
54.227.64.76
-
3.81.182.154
-
3.93.155.149
-
3.95.118.12
-
3.95.142.181
-
209.85.128.0/17
-
52.12.169.124 [required only if Muti-region is enabled]
-
99.81.216.78
-
34.249.190.60
-
108.128.137.108
-
99.80.189.20
-
209.85.128.0/17
-
52.12.169.124 [required only if Muti-region is enabled]
-
13.236.255.231
-
54.66.125.250
-
209.85.128.0/17
-
52.12.169.124 [required only if Muti-region is enabled]
-
-
Select Automatically detect external IP.
Important: Do NOT select "Reject all mail not from gateway IPs" - as this will interrupt mail flow.
-
Select "Require TLS for connections from the email gateways listed above".
Note that FortiMail Workspace Security supports TLS 1.2
-
[Optional] To use the spam engine of FortiMail Workspace Security, scroll down and configure 2. Message Tagging.
-
Select "Message is considered spam if the following header regexp matches".
-
In the Regexp text box, enter X-PERCEPTION-POINT-SPAM: FAIL
-
Select "Message is spam if regexp matches".
-
Clear the following check box: "Disable Gmail spam evaluation on mail from his gateway; only use header value".
-
-
[At the bottom of the page, click "Add Settings".]
-
Click Save.
This procedure creates a content compliance rule that sends the email to FortiMail Workspace Security.
To add a content compliance rule:
-
Sign-in to the Google Admin console at admin.google.com.
-
Select Apps > Google Workspace > Gmail.
[Click here: https://admin.google.com/u/1/ac/apps/gmail/compliance]
-
Scroll down to Compliance, and click it.
-
Scroll down to Content Compliance.
If you already have a content compliance rule, click Add Another Rule.
In the Add setting dialog box, specify the following:
-
Short description: Perception Point Redirect Rule
-
Under 1. Email messages to affect, select Inbound.
-
Under "2. Add expressions that describe the content you want to search for in each message", in the first drop-down menu, select "If ALL of the following match the message"
Important: Make sure to select "If ALL of the following match the message" and NOT the default "If ANY of the following match the message".
-
-
Add and configure the following two expressions:
Expression 1: Unique header
In this step, you'll add the first expression to the Perception Point Redirect Rule. This expression helps to prevent looping.
-
Under Expressions, click Add.
Fill in the following fields:
-
Advanced content match
-
Location: Full headers
-
Match type: Not contains text
-
Content: <A unique value, at least 8 characters long>
Create a value that is unique to your organization - preferably by using a password generator such as 1Password.
For example, GHTD465J
Note:
-
We highly recommend using only capital letters and numbers.
-
Avoid using the full organization name.
-
-
Click Save.
Expression 2: Email size limitation
In this step, you'll add a second expression to the Perception Point Redirect Rule.
Note: Amazon SES has a 40 MB maximum size limit. We recommend using a different file sharing service for larger files - as a best practice. Messages larger than 40 MB will not trigger the rule, and therefore they will not be scanned. These un-scanned messages will be delivered to the specified recipients.
-
Under the Expressions box, click Add to add a new expression.
-
Specify the following details for the new expression:
-
Metadata match
-
Attribute: Message size
-
Match type: Message size is less than the following (MB)
Important: Make sure that you select "less" and NOT "greater".
-
40
Important: Check again to make sure that you selected "less than" and NOT "greater than".
-
-
Click Save.
-
-
Complete the setting:
-
Under 3. If the above expressions match, do the following:
-
Select Modify message.
-
Under Headers:
-
Select Add X-Gm-Original-To header.
-
Select Add X-Gm-Spam and X-Gm-Phishy headers.
-
Select Add custom headers and click Add to add a header.
-
Header: X-PERCEPTION-POINT-ROUTING
Note: The "X-" is added to the expression automatically.
-
Value: The unique value that you created and entered for Content above. [see Expression 1: Unique header]
As per the example above, GHTD465J.
-
Click Save.
-
-
-
Scroll down to Route.
-
Select Change route.
-
[Optional] Select Also reroute spam.
-
From the drop-down menu, select Perception Point Scanner.
-
-
Scroll down to the bottom of the dialog box, and click Show options.
-
Under Account types to affect, select [all of the following]:
-
Users
-
Groups
-
(Unrecognized / Catch-all)
-
-
Specifying which users to protect [Google Workspace]
For POC installations only
Note: It is possible to configure partial protection - protection of only a limited set of users in a Google Workspace account. Partial protection should be used for POC installations only. If partial protection is configured for an organization with a Commercial contract type, then billing will be based on the number of licenses that are included in the Microsoft 365 account - not on the number of "partial protection" users. See License source.
For details on how to configure partial protection, see Modifying the list of users to protect [Google Workspace] - POC only.
Under Envelope filter, select Only affect specific envelope recipients.
-
From the drop-down menu that appears below, select "Pattern match" - and then enter your domain or domains to protect.
Multiple domains: Add the domains with a pipe symbol ["|"] between them, and without spaces between them.
-
Click Add setting.
-
-
Click Save.
-
Email in Google Workspace is now protected by FortiMail Workspace Security.
If you want to configure this Google Workspace integration to operate in monitoring mode, continue with Configuring monitoring mode below.
Configuring monitoring mode
|
Important: Perform this procedure only if you want your integration to operate in monitoring mode. Monitoring mode is typically used for PoC implementations. In monitoring mode [also known as passive, silent, or detection mode], FortiMail Workspace Security will not:
|
To configure the integration to operate in monitoring mode:
-
Open the Settings > Bundles and Channels page.
-
On the right, click Default Channel Settings.
-
Click Edit [
]. -
Under Detection, clear the Malicious, Restricted, and Spam check boxes.
-
Click Save.
-
Sign-in to the Google Admin console at admin.google.com.
-
Click Apps > Google Workspace > Gmail.
[Click here: https://admin.google.com/u/1/ac/apps/gmail/spam]
-
Scroll down to Spam, Phishing and Malware - and select it.
-
Locate Inbound gateway, hover over it, and click the Edit icon.
-
Under Message Tagging, clear the first check box.
Your Google Workspace Integration is now configured to operate in monitoring mode.
FortiMail Workspace Security will not quarantine any malicious emails or route spam to Junk folders.
See also:
See the available 














