To set up a cPanel server to send outbound email through Google Workspace, the Smarthost option in Exim Configuration Manager can be used.
Google Workspace (formerly G Suite) requires set up by the administrator to enable this functionality. Follow their instructions here:
Once this is done, to configure the cPanel server to send email through Google Workspace, go to WHM's Home »Service Configuration »Exim Configuration Manager and search for the option, "Smarthost Support."
Enter an asterisk (
*) and a space, followed by the value of the smarthost for the Google Workspace
Save Your Changes:
Go to the bottom of the page and click "Save." The changes will get added to the Exim configuration and will automatically restart the Exim service.
Test Your Settings:
Try sending a test email using one of the Webmail applications. If the email does not leave the server, you must examine the /var/log/exim_mainlog file to determine the cause of the issue. Reading and Understanding Eximlogs
- This guide is intended for system administrators. cPanel's Technical Analysts cannot assist in configuring a server's Smarthost setup.
- Configuring a Smarthost will cause all outbound emails to go through the configured provider. This document's scope does not cover how to configure a subset of domains to go through a Smarthost; the server's system administrator must configure this.