About
In this article, we'll show you how to configure Virtru Gateway outbound rules backed by Office 365 infrastructure.
Jump to:
- Assumptions
- Diagram of Standard Mailflow
- Create Send Connector
- Create Transport Rule
- Create Virtru Encryption Rule
- Additional Resources
Assumptions
Before you begin, make sure the following are in place. For details, see Prerequisites to Virtru Gateway Setup.
- CNAME records: Created so Virtru can sign DomainKeys Identified Mail (DKIM) and the virtrugateway.com domain can send on behalf of your domain.
- TXT records: Created so Virtru can verify domain ownership before implementation.
- Mail flow: The Virtru Hosted Gateway is preconfigured for maximum security and interoperability between systems.
Example configuration
- Mail encryption trigger:
-
#secure#in the subject - Sender is
Inside the Organization - Recipient is
Outside the Organization
-
- Mail flow: Office 365 > Gateway > Final Delivery
- Authorization header:
00000000000000000000
Note
We provide the authorization header, which is specific to your organization.
Diagram of Standard Mailflow
Create Send Connector
1. Sign in to the Exchange admin center.
2. Expand Mail flow in the left navigation.
3. Select Connectors.
4. Create a new connector.
- Connection from: Office 365
- Connection to: Partner organization
5. Name the connector, for example, Virtru Hosted Gateway. Entering a description is optional.
6. Under Use of connector, select Only when I have a transport rule set up that redirects messages to this connector.
7. Under Routing, select Route email through these smart hosts, enter smtp.virtrugateway.com, then click the plus sign.
8. Under Security restrictions, select Always use Transport Layer Security (TLS) to secure the connection (recommended), then select Issued by a trusted certificate authority (CA).
9. Validate the connector.
Note
The connector test message may fail because the authorization header isn't in place yet. This is expected.
Create Transport Rule
1. Select Mail flow.
2. Select Rules, then select Add a rule.
Add a new rule
Enter the following rule details:
- Name: Virtru Hosted Gateway Outbound
-
Apply this rule if:
- The recipient is located Outside the organization
- The sender is located Inside the organization
- The subject contains
#secure#(optional; see the note below)
-
Do the following:
- Redirect the message to the following connector: Virtru Hosted Gateway
- Set a message header. The name is
X-Virtru-Authand the value is the authorization header we provide.
-
Except if:
- The message header
X-Virtru-Gateway-Versionincludessaas
- The message header
Important
The #secure# subject condition is optional. If you add it, the Virtru Hosted Gateway scans and encrypts only messages that include #secure# in the subject. If you plan to use multiple Virtru Security Rules, leave this condition out.
Example rule
Create Virtru Encryption Rule
You manage your Virtru Security Rules in the Virtru Control Center. After Office 365 routes a message to the Virtru Hosted Gateway, we evaluate the message against your enabled Virtru Security Rules and encrypt it. The Virtru Hosted Gateway and the Virtru Outlook 365 Add-in share the same Virtru Security Rules.
Now that the connector and transport rule are set up, follow these steps:
1. Sign in to the Virtru Control Center.
2. Select the Rules tab.
3. Turn on the Virtru Security Rules you want the Virtru Hosted Gateway to apply.
4. To create a new rule, see Managing Security Rules in the Virtru Control Center.