1. Home
  2. Docs
  3. Email Relay – Google G-Suite
  4. Configuration

Configuration

Trustifi admin portal

Step 1 – Verifying the plan and user type

⚠ NOTE! In case you aren’t running under the “Pro” plan and your user type isn’t an “Admin”, you will have to upgrade your plan to “Pro”.

Verify that you are on a “Pro” plan and your user level is set to “Admin”.

Step 2 – Navigating to Outbound Management

Navigate to “Outbound Management” (Shield icon)

Step 3 – Navigating to the domains tab

The email relay section will be locked because you have no verified domains yet. Click on the “Domains” tab to continue.

Adding new domain

Step 4 – Adding a new domain

Now, we will have to add the domain used to send emails. Continue by clicking on “Add Domain” button.

Step 5 – Verifying the domain

After adding the domain, you will have to copy and import the records to your DNS provider (e.g. DNS Made Easy, GoDaddy). Continue to the next step after all the DNS records have been imported to your DNS records.

Step 6 – Verifying the domain and navigating to the Plan Settings tab

After you have added all the DNS records to your domain, click on “Check if verified” button to see if the status changes to “Verified”. Continue to the next step only if the domain has been verified.

Step 7 – Enabling and generating the email relay secret key

In this part, you will have to enable the Email Relay feature, and copy the “Email Relay key” which is the secret key that will be used to authenticate the transport flow of your emails. At the “Plan Settings” page, scroll to the “Email Relay Integration” section.

G Suite Admin Center

Step 8 – Navigating to the G Suite admin center – Mail flow

Navigate to the “G Suite Admin Center” via the following link – https://admin.google.com/

After you have logged in, input inside of the search bar: “Settings for Gmail” and select “Settings for Gmail”.

Step 9 – Navigating to the Advanced Settings

Scroll down at the “Settings for Gmail” page, find “Advanced Settings” and click on it.

Adding host route

Step 10 – Navigate to hosts

Navigate to the “Hosts” tab.

Step 11 – Adding new host route

In this section, you will have to add a new host route by clicking on the “Add Route” button.

Step 12 – Creating the host

Name your host, select “Single host”, enter “smtp.trustifi.com” with port “25”, both without double quotes, make sure both checkboxes of “Require secure transport (TLS)” and “Require CA-signed certificate” and continue by clicking “Save”.

Step 13 – Validate and navigate to General settings

Validate your host that the host and port are correct, and navigate and to the “General Settings” page via the “General Settings” tab.

Step 14 – Adding a new route

Now we will need to configure a new route to use our new host. Scroll down until you find the “Routing” section, move your mouse over the “Routing” row under “Routing” section, and click on “Configure”.

Step 15 – Configuring the route

Name your routing rule, check the “Outbound” and “Internal – sending” checkboxes.

Step 16 – Adding specific domain

In case you have no multiple domains under G Suite, you can skip this step. A section number 2, check the “Only affect specific envelope senders” checkbox, select “Pattern match” at the dropdown menu, enter “.*[@]domain[.]com$” (Without double quotes), instead of domain and com, replace with your domain’s name and your top-level domain (e.g. .net, .com, .org). Click on “Test expression” and enter your email address, make sure the status is “Match”.

Step 17 – Modifying the route

Scroll down to section number 3, make sure “Modify message” is selected, and check the “Add custom headers” checkbox. Click on “Add”, and enter “x-trustifi-creds” (Without double quotes) and paste the secret key you have copied from the Trustifi Admin Panel and click on “Save”.

Step 18 – Setting the route

Now we will have to set the route for this routing rule for our new host. Check the “Change route” checkbox, click on “Normal routing” and select the host you’ve created by his name.

Step 19 – Saving the changes

Click on “Save” to save all changes.

Was this article helpful to you? Yes 3 No

How can we help?