Split Delivery with Google Workspace
What is "Split Delivery"?
Split Delivery is a common technique used when two seperate Mailservers handle one signular E-Mail Domain.
Example: Mailserver 1 handles user@domain.com and Mailserver 2 handles servicemail@domain.com
What is required
- Two seperate Mailservers (Google Workspace / G-Suite and Mailcow in this Case)
- Access and Understanding to DNS Records
- Understanding of DKIM/SPF
- Understanding of Mail Routing Policies
- Administrator Access to Mailcow
- Administrator Access to Google Workspace Admin / Google Admin Console
1. Mailcow Configuration
- Open Mailcow Admin UI
- Go to System - Configuraiton
- Go to Options - Forwarding Hosts
- Add public Mailserver IPs from Google here
108.177.16.0/24108.177.17.0/24142.250.220.0/24142.250.221.0/242600:1901:101::0/1262600:1901:101::4/1262600:1901:101::8/1262600:1901:101::c/1262600:1901:101::10/1262600:1901:101::14/126209.85.128.0/1774.125.0.0/1666.249.80.0/20173.194.0.0/1664.233.160.0/19172.217.0.0/16
2. Google Configuration
This Part is in German, English Names might be slightly different
2.1 Configure Mailcow Forwarding Host
- Open Google Admin Console
- Go to Apps - Google-Workspace - Gmail
- Click Hosts
- Click Route hinzufügen
- Set Name, Hostname and Port of your second Mailserver to which E-Mails will be forwarded to
- Enable TLS requirements and Host check. While not necessary, it is recommended
2.2 Configure Mail List
This Step creates a fixed List of Mail Addresses that will be forwarded. Will this is not strictly necessary, its a absolute way to make sure they're being forwarded
- Open Google Admin Console
- Go to Apps - Google-Workspace - Gmail
- Click Routing
- Click Adresslisten verwalten
- Click Adressliste hinzufügen
- Add all your Mail-Addresses
- Uncheck Authentifizierung erforderlich
2.3 Add Route to Google
- Open Google Admin Console
- Go to Apps - Google-Workspace - Gmail
- Click Routing
- Click Routing-Regel hinzufügen
- Set Name
- Select Eingehend and Intern - Empfangen
- (Optional) Enable Benutzerdefinierten Betreff voranstellen and add
[G-SUITE-RELAY] - Enable Route ändern and select your Mailserver Host created in 2.1
- Click Optionen einblenden
- Select Unbekannte/Catchall Konten