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, verify that your plan type is "PRO" and your level is "Admin".

Verifying your plan details


Step 2 – Navigating to "Domains" under "Outbound Management"

The email relay section will be locked because you have no verified domains yet.

To verify your domain, navigate to “Outbound Management” (Shield icon) and then click on the “Domains” tab to continue.

Navigating to the "Domains" tab

Adding a 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 3 – Adding a new domain

Now, we will need to add the domain used to send emails. Continue by clicking on the “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 environment.

Adding a new domain


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.

Showing the domain's DNS records


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.

Copying your Email Relay key

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.

Navigating to "Hosts"

Adding host route

Step 9 – Adding a new route

Click on "ADD ROUTE" under "Hosts".

Adding a new route

Step 10 – 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 11 – Validate the host

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

Validating the newly created host

Step 12 – Navigating to "Settings for Gmail"

In the navigation bar at the top of the screen, click on "Settings for Gmail"

Navigating to "Settings for Gmail"

Step 13 – Navigating to "Advanced settings"

Scroll down to the bottom of the page and click on "Advanced settings"

Navigating to "Advanced settings"

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?