1. Home
  2. Docs
  3. Email Relay – Google G-Suite
  4. 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”.

Navigate to “My Plan” page.

Navigating to "My Plan" page

Verify that your plan type is “PRO” and your level is “Admin“.

"My Plan" page

Step 2 – Navigating to Outbound Management

Navigate to “Outbound Management” (Shield icon)

Navigating to "Outbound Management"


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

This is a quick overview of the domain verification process. To view the full guide click here – https://trustifi.com/docs/general/domain-verification/

Step 4 – Adding a new domain

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

Adding a new domain

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 environment.

Importing DNS records

Note: You can also click on “Download records CSV” from the “Actions” menu to save these records as a CSV file.

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” to see if the status changes to “Verified”. Continue to the next step only if the domain has been verified.

Note: Depending on your DNS system, your domain may take up to 24 hours to update DNS records.

Making sure the domain is verified


Step 7 – Enabling and generating the email relay secret key

In this part, you will need to enable the Email Relay toggle, 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.

Enabling the Email Relay integration


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 “hosts” in the search bar and select the first option.

Searching for "hosts" in Gsuite


Step 9 – Navigating to the “Hosts” section

Scroll down the page and click on “Hosts“.

Navigating to the "Hosts" section


Adding host route

Step 10 – Adding a new route

Click on “ADD ROUTE” under “Hosts“.

Adding a new route


Step 11 – Creating the host

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

Step 12 – Validate the host

Make sure your host’s address and port are correct.

Validating the newly created host


Step 13 – Navigating to “Routing”

Enter “routing” in the top search bar and select the first option.

Navigating to the "Routing" section

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” check boxes.

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 drop-down 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?