Email for Google User: Internet → Google → Delivered to Gmail inbox.
Email for Non-Google User: Internet → Google → User not found → Route to Legacy Server → Delivered to Legacy inbox.
First, you must tell Google where your legacy server is located.
Log in to the Google Admin Console.
Go to Menu > Apps > Google Workspace > Gmail > Hosts.
Click Add Route.
Name: Enter a name (e.g., "Legacy Email Server").
Specify Email Server: Choose Single Host and enter your server's IP address or Hostname.
Port: Use 25 (Standard) or 587.
Security: Check Require CA signed certificate and Validate certificate hostname (recommended for security).
Click Test TLS Connection to ensure Google can talk to your server, then click Save.
Now, create the rule that pushes "unknown" mail to that host.
Navigate back to Gmail Settings and click on Routing.
Scroll down to the Routing section and click Configure (or Add Another Rule).
Name: Enter "Split Delivery to Legacy".
Email messages to affect: Check Inbound and Internal - receiving.
For the above types of messages:
Change the dropdown to Modify message.
Check the box Change route.
Select the host you created in Step 1 (e.g., "Legacy Email Server").
Options (The Most Important Part):
Scroll to the bottom and click Show options.
Under Account types to affect, UNCHECK "Users" and "Groups".
CHECK only Unrecognized / Catch-all.
This tells Google: "If you don't recognize the user (the 2 Google users), send the mail to the legacy server instead."
Click Save.
For this to take effect, the world needs to send mail to Google first.
Log in to your domain registrar (GoDaddy, Namecheap, etc.).
Remove your existing MX records.
Add Google’s MX records (Priority 1: SMTP.GOOGLE.COM).
Wait for propagation: This can take 1–24 hours, though usually happens in minutes.
To ensure your legacy server users can still send emails without being marked as spam, you must update your SPF record to include both servers.