Encryption Gateway

Encryption Gateway

Introduction

This guide explains when to use Zivver Encryption Gateway and how to set it up.

Zivver Encryption Gateway uses Microsoft Exchange (Server and Online) or Google Workspace mail flow rules to enable secure delivery of selected messages. It is also possible to connect an external application directly to the Zivver SMTP Gateway to securely deliver all messages sent from that application.

Use Zivver Encryption Gateway within your organization to securely deliver messages when:

  1. A specific (word in the) subject is used:
    • For example, when your organization wants employees to send secure messages regardless of the device and/or application they use. This includes scenarios such as using a mail app on a mobile device for which no Zivver client is currently available.
  2. A message and/or an attachment has a certain Sensitivity Label applied (Microsoft Exchange only):
    • For organizations using Microsoft Sensitivity Labels to help employees comply with information protection policies.
  3. A specific email address is used as the sender (Microsoft Exchange only):
    • When a specific application automatically sends messages that must be delivered securely and uses a fixed email address as the sender (From:).
  4. A specific application is used to send messages:
    • When all messages from a specific application must be delivered securely and are sent directly from that application.

Requirements

To implement Zivver Encryption Gateway, your organization must meet the following requirements:

Limitations

Be aware of the following limitations when using Zivver Encryption Gateway:

Implement Zivver Encryption Gateway

Zivver Encryption Gateway is implemented in your organization’s email server, Secure Email Gateway (SEG), or any other application that sends email. To use Zivver Encryption Gateway, outbound email must be submitted to Zivver’s SMTP Gateway.

Connect to Zivver’s SMTP Gateway

Connect your email server, Secure Email Gateway (SEG), or sending application to Zivver’s SMTP Gateway using the following specifications:

Customize which outbound messages are submitted

Your organization can decide which outbound messages are relayed to Zivver’s SMTP Gateway and which ones are not. For example, you can exclude messages to certain domains. For more information about how to filter those sent messages, refer to third-party documentation. This can be:

Or refer to the chapters below for more information about how to filter out messages in Exchange.

Implement Encryption Gateway in Microsoft Exchange

This chapter describes how to implement Encryption Gateway in Microsoft Exchange.

With the implementation of Encryption Gateway in Microsoft Exchange, you can securely deliver messages when:

To implement Encryption Gateway in Microsoft Exchange, these changes are necessary:

Create an Accepted Domain (Exchange On-premise only)

Please follow the instructions in Create an accepted domain in Exchange on premise to create an Accepted Domain in Exchange On-premise.

Create a Contact (Exchange On-premise only)

Please follow the instructions in Create a contact in accepted domain to create a contact in Exchange On-premise.

Create a Connector

Encryption Gateway uses a Connector to submit sent messages to the Zivver SMTP Server.

Before you start creating a connector, please create a support ticket to request your domain to be added to the Zivver domain allowlist. Adding your domain to the allowlist is necessary to establish a connection from Microsoft Exchange Online to the Zivver SMTP Server.

With Microsoft Exchange, an outbound message can be processed only by one Connector. Therefore, know in advance which Connectors are configured in Microsoft Exchange Online. It might not be possible to implement Encryption Gateway if it is required that a different specific Connector also processes the sent messages. If this is the case or if you need help, create a support ticket to share your use case.

Please read Create a connector in Exchange Online for the steps to create a Connector in Microsoft Exchange Online. Please read Create a connector in Exchange On-premise for the steps to create a Connector in Microsoft Exchange On-premise.

Create a Rule

With a Mail Flow Rule, you can filter sent messages on:

Once a message has been filtered out, it needs to be submitted to the Zivver SMTP Server to be able to deliver it securely to the recipient. Unfiltered messages will be delivered unsecured, as a regular email.

The pages below describe how to:

Implement Encryption Gateway in Google Workspace

This chapter describes how to implement Encryption Gateway in Google Workspace.

With the implementation of Encryption Gateway in Google Workspace, you can securely deliver messages when:

To implement Encryption Gateway in Google Workspace, these changes are necessary:

Create a connector

Encryption Gateway uses a connector to submit sent messages to the Zivver SMTP Server.

Please read Create a connector in Google Workspace for the steps to create a connector in Google Workspace.

Create a Rule

With a Mail Flow Rule, you can filter sent messages on:

Once a message has been filtered out, it needs to be submitted to the Zivver SMTP Server to be able to deliver it securely to the recipient. Unfiltered messages will be delivered unsecurely, as a regular email.

The page below describes how to:

Test the configuration

After the connector and the rule are configured in Google Workspace, you can follow the steps below to test if the configuration is working.

  1. Draft a new email.
  2. Add a recipient.
  3. Enter the word that you chose so the mail is sent via Zivver (e.g. Encrypt or Secure email) in the subject.
  4. Add some text in the body of the email.
  5. Send the email.
  6. Validate if the email arrives as a Zivver email.

Default behavior

Every email submitted to Zivver Encryption Gateway will start a new secure Zivver conversation. Emails with multiple recipients are handled in the following manner:

Each recipient will be verified according to the most secure method available to Zivver in this order of priority:

Order of priority Verification method Used when: Delivery method
#1 Zivver Account This method is automatically applied if the Recipient has their own Zivver account, which is protected with 2FA. Zivver message notification 1
#2 NTA 7516 This method is automatically applied when both the Sender and the Recipient meet the requirements of the NTA 7516. Direct delivery email
#3 Custom access rights Access rights are specified in the Zivver access rights header. See below for more detail on how this can be used. Zivver message notification
#4 Transport security layer This method is applied if your organization allows transport security compliance as a recipient verification method. Direct delivery e-mail
#5 Time-based one-time passcode via sms Either the Sender or someone else within your Zivver organization could have used a shared SMS verification before for this specific Recipient. If the Recipient successfully opened that message, the same SMS verification can automatically be applied to this new message to the same Recipient. Zivver message notification
#6 Access code verification Either the Sender or someone else within your Zivver organization could have used a shared Access Code before for this specific Recipient. If the Recipient successfully opened that message, the same Access Code can automatically be applied to this new message to the same Recipient. Zivver message notification
#7 Email verification Email verification is used if no other (more secure) verification method is available. Zivver message notification

1 Recipients with a Zivver account will receive a Zivver message notification. If they open this notification in an email client with a Zivver client integration installed, they will see the content of the message directly within their email client. If the recipient’s domain belongs to an organization that uses Zivver and that has inbound direct delivery (IDD) enabled, the message will be directly delivered to the recipient’s inbox.

Specifying custom access rights

For every email submitted to the Zivver SMTP Gateway, you can (optionally) specify the verification method and details for the recipient(s). If present, the specified verification method will be used to determine the recipient verification method in line with the order of priority described in the previous section. The verification method for a recipient can be specified using the following custom email header:

zivver-access-right

Zivver supports specification of two different recipient verification methods using this header:

To specify SMS verification, the header should contain the recipient email address, followed by ‘sms’, followed by the phone number of the recipient. To specify access code verification, the header should contain the recipient email address, followed by ‘sharedAccessCode’, followed by the desired access code. Zivver requires a separate header per recipient. It is possible to specify different access rights per recipient. Below is an example with multiple recipients and different access rights:

zivver-access-right: recipient1@domain.com sms +31612345678

zivver-access-right: recipient2@domain.com sms +31687654321

zivver-access-right: recipient3@domain.com sharedAccessCode 135789

zivver-access-right: recipient4@domain.com sharedAccessCode 246789

Specifying a preference for direct delivery

For every email submitted to Zivver’s SMTP Gateway, it is possible to indicate a preference for direct delivery of the message to the recipient(s) if the receiving mail server meets a specified minimum level of transport security. This provides you with the ability to give preference to direct delivery of specific messages, even if ‘transport security compliance’ is not an enabled verification method for your organization.

If the specified minimum level of transport security is not available, Zivver will fall back to the default behavior described above.

Preference for direct delivery of the message can be indicated using the following custom email header:

zivver-direct-delivery

The minimum level of transport security is split into two email header options:

Zivver currently supports the following values:

Header option Supported values Description
tls tls1.2 This enforces Transport Layer Security version 1.2.
auth certificate-validation This check verifies that the recipient mail server has a valid certificate from a certificate authority (CA) and is not using a self-signed certificate

The header option and selected values should be separated by spaces. For example, a complete header would look as follows:

zivver-direct-delivery: tls tls1.2 auth certificate-validation

Attachment handling for direct delivery messages

When an email is directly delivered to the recipient(s), attachments smaller than 10 MB will be added to the message as regular attachments. Attachments larger than 10 MB will be added as secure download links to avoid failed deliveries.

Downloading the attachment via the secure download link requires verification of the recipient. They either need to be logged in to their Zivver account or will be verified using email verification.

Email verification in this case is always possible: the message has been directly delivered, which means the required level of transport security was met.