How do I configure Google Workspace to use EuropeanMX for my domain?



We always attempt to provide you with the most up-to-date information, but the configuration of Google Workspace may change. If necessary, please use the correct and current information from the Google Workspace documentation!

Before you start the configuration in EuropeanMX, you need to ensure that the domain you want to create in EuropeanMX actually exists in Google Workspace. Otherwise, blockages may occur later during the configuration steps for activating the MX record of Gmail. 


How to create your domain in Google Workspace and then in EuropeanMX

1

Log in to Google Workspace with your credentials and then select Domains.


2

Click on Add domain and enter the name of the domain to be created in Google Workspace.


3

Click on Add domain & start verification.

4

Follow the instructions and complete the verification of domain ownership, e.g. via a TXT entry.

5

Now add your domain in EuropeanMX. You can find more information on this in our FAQ article "How do I create a domain in EuropeanMX?". Make sure that you have entered the MX servers from Google Workspace as the target server.

Current version - as of 2023:
SMTP.GOOGLE.COM
Older versions - before 2023:
ASPMX.L.GOOGLE.COM
ALT1.ASPMX.L.GOOGLE.COM
ALT2.ASPMX.L.GOOGLE.COM
ALT3.ASPMX.L.GOOGLE.COM
ALT4.ASPMX.L.GOOGLE.COM


How to configure the advanced settings in Google Workspace

1

Log in to Google Workspace with your credentials and navigate to the admin panel.


2

Click on Apps, then on Google Workspace and select Gmail.


3

Expand the item Authenticate emails and deactivate DKIM if this is active.


4

Return to the Gmail settings and select Spam, phishing and malware.


5

Go to the option Inbound gateway and activate it. Now enter the IP addresses that we have published in our IP pool and activate the options Reject all mail not from gateway IPs and Require TLS for connections from the email gateways listed above. You should not activate the other options, as otherwise there will be problems with the delivery of incoming messages by EuropeanMX!


Please note that the IP addresses may change, which is why we recommend that you register for the newsletter, which will inform you of any changes to the pool.

Click on Save to apply the settings.


6

Return to the Gmail settings and select Routing at the end of the list.


7

In order to use our outgoing filter, you can instruct Google to transmit outgoing messages to our filtering cloud. To do this open Outbound gatewayand enter the host name smtp.antispamcloud.com.

Click on Save to apply the settings.


8

Return to the Gmail settings and click on Hosts.


9

Click on ADD ROUTE and assign a recognisable name for this rule. Select Single server and enter the hostname aspmx.l.google.com as well as the port 25. Deactivate the option Perform MX lookup on host.

Ensure that the following options are active:

  • Require mail to be transmitted via a secure (TLS) connection (Recommended)
  • Require CA signed certificate (Recommended)
  • Validate certificate hostname (Recommended)

Click on Save to apply the settings.


10

Return to the Gmail settings and select Routing at the end of the list.


11

Now click on Configure under Routing. Assign a recognisable name for this rule and make the following settings:

  • Select Internal - Sending.
  • In section 2, select Edit message from the drop-down menu.
  • Tick the box Change route and select the previously created route from the drop-down menu.
  • Click on Show options at the end of the window.
  • Make sure that Users and Groups are ticked.
  • In section C, activate the option Only for specific envelope senders and select Pattern match in the drop-down menu. Now enter the name of the domain in the field Regexp

Click on Save to apply the settings.


12

In order to avoid problems with the delivery of incoming messages through our cloud, we strongly recommend that you deactivate the SPF and DKIM checks from Google. These are no longer required anyway, as EuropeanMX performs these checks in advance after receiving an incoming message.

To do this, go back to the Gmail settings and select Safety.


13

Select the item Spoofing and authentication.

Ensure that the options Protect from unauthenticated emails and Automatically apply future recommended settings are deactivated.



Check that Google Workspace can communicate with EuropeanMX

Step 1: Check communication for incoming messages

1

Log in to the admin panel of EuropeanMX. 


You can find more information in our FAQ article "How can I log into the admin panel (web interface of the filter)?".

2

Next, go to Destinations under Incoming.


3

Click on the drop-down menu in the table and select Connection check.


4

If the connection was established successfully, the result should look like the screenshot.



Step 2: Set up outgoing user

1

Click on Outgoing and select Manage users. Switch to the tab Authenticating Domain and enter a password. The password you enter is not important. It is no longer required for further configuration.


2

Click on the drop-down menu and select the option Add and configure.


3

Then you can define the settings you need for the outgoing user. You can find more information on the settings in our FAQ article "How do I configure an outgoing user?".

In theory, you only need to make sure that the option Re-authentication allowed: at the bottom is activated.


4

Click on Save to apply the settings.

5

In order to prevent problems with the delivery of your outgoing messages, we strongly recommend that you adjust the SPF and DKIM entry for your domain. Simply follow our instructions "What is an SPF record and how should it be structered?" and "What is DKIM and why should I use it? How does the setup work?".


If you have any questions or problems with the setup, please do not hesitate to contact our support. We will be happy to help you to become spam-free!