How to Set up an Outbound Mail Gateway in Google Workspace

Quick and easy-to-follow guide for Google Workspace administrators

What is an outbound mail gateway

  • An outbound mail gateway is an email server that your outgoing messages pass through before delivering to the final recipient.

When to set up the Outbound gateway setting

  • Suppose all emails sent from Google Workspace need to go through another server before being delivered to the intended recipients.
  • In that case, you need to add that server to the Outbound Gateway setting.

How the Outbound gateway works

  • When you send emails, Google routes them through the outbound gateway server on the way out before delivering.

How to set up an Outbound gateway in Google Workspace step-by-step with images

Step 1

How To Set Up An Outbound Mail Gateway In Google Workspace - Step 1

In the Admin console at, click the Apps icon.

Step 2

How To Set Up An Outbound Mail Gateway In Google Workspace - Step 2

Select Google Workspace.

Step 3

How To Set Up An Outbound Mail Gateway In Google Workspace - Step 3

Click Gmail. Make sure not to check the box to the left; just click the service.

Step 4

How To Set Up An Outbound Mail Gateway In Google Workspace - Step 4

Select Routing.

Step 5

How To Set Up An Outbound Mail Gateway In Google Workspace - Step 5

Under Organizational Units, select the OU with the users whose settings you want to update. The same updates will apply to all sub-OUs under the OU you choose.

By default, if you don’t select an OU, you will add your setting to the top OU, named after your domain. This way, you will apply changes to all users in your account. This is generally recommended in this case.

If you’re not familiar with OUs, click here.

Step 6

How To Set Up An Outbound Mail Gateway In Google Workspace - Step 6

Find the Outbound gateway setting on this page and click it.

Step 7

How To Set Up An Outbound Mail Gateway In Google Workspace - Step 7

Add your outbound SMTP server name or IP address

Enter the SMTP server name or IP address of the non-Google mail server here.

Click SAVE in the bottom right. It may take up to 24 hours for this setting to take effect.

Update your domain’s SPF record

  • In addition, if you have an SPF record added to your domain settings, you must add your outbound mail gateway server to your SPF record.
  • Your SPF record must include the Google Workspace mail servers and the outbound mail gateway server.
  • Your DKIM will work if the gateway forwards your messages without modifying them.
  • If your gateway server changes emails in any way, DKIM won’t work. Make sure the gateway server doesn’t modify emails.

That's all! You reached the end of the article. Continue to:

If you find this useful, share and help others!

Protect And Secure Google Workspace
Protect your data and maximize security
Data protection and security tools are crucial, especially if you store any sensitive data in your accounts.
Email Marketing Tools
Better Gmail and email marketing
If you work with Gmail or do email marketing, you will appreciate what these services can do for you.
Collab And Optimization Tools
Process optimization and collaboration
You can use these services to make tedious processes a whole lot easier, improve teamwork, save time, and get better results.
Website Tools and Resources
Resources for website creators
Awesome tools and services for easy and effective site building, content creation, SEO, email marketing, and more.

Submit Feedback

Think we could do something better or just want to tell us how happy you are with the site? We would love to hear from you – your feedback is more valuable than you can imagine.

Fill out this form, and we will get back to you.

Report An Issue With Workspace123

Are you running into an issue with the site? Maybe you found a broken link, or something else is wrong?

Fill out this form to let us know, and we will address it as soon as possible.

Please make sure to be very specific and add as many details as possible.

Missing Content

Our goal is to run the number one site in the world for you to get help with and learn how to use Google Workspace. This can’t be so if there is any missing information.

If you believe we need to add something, fill out this form, and we will do our best to add any missing content as soon as possible.

This site uses cookies to ensure you get the best experience. Click here to see our Cookies Policy.

Be the first to know

You can stay on top of news and updates in Google Workspace and Workspace123 and get special offers by subscribing to our newsletter.

Subscribe by email for news and updates