Split Delivery Google Workspace and cPanel Webmail Print

  • 0

Perfect — now we’re aligned ????
You want TRUE split delivery:

???? Same domain
???? Some mailboxes on Google Workspace
???? Some mailboxes on cPanel
???? Mail should automatically go to the correct server based on user

No forwarding hacks. No smart host.

This is called:

✅ Split Delivery (Google + cPanel)

Google calls it Split Delivery
cPanel calls it Local + Remote delivery

This is enterprise-grade setup.

Let’s do it cleanly.


???? How Split Delivery Works

MX stays pointing to Google (primary).

Google checks:

  • If user exists in Google → delivers locally

  • If user does NOT exist → forwards to cPanel

So:

 
Internet ↓ Google MX ↓ Google user? YES → Google inbox ↓ Google user? NO → cPanel server

✅ STEP 1 — DNS (Only Google MX)

Your domain must use ONLY Google MX:

 
ASPMX.L.GOOGLE.COM (1) ALT1.ASPMX.L.GOOGLE.COM (5) ALT2.ASPMX.L.GOOGLE.COM (5) ALT3.ASPMX.L.GOOGLE.COM (10) ALT4.ASPMX.L.GOOGLE.COM (10)

❌ Do NOT add cPanel MX.


✅ STEP 2 — Google Workspace Split Delivery

Admin Console →

Apps → Google Workspace → Gmail → Routing → Hosts

Create new route:

Add Host

Name:

 
cPanel

Host:

 
mail.yourdomain.com

Port:

 
25

TLS:
✅ Optional (recommended)

Save.


Then:

Routing → Default Routing → Configure

Choose:

✅ For recipients not recognized by Google

Action:

➡ Change route
➡ Select cPanel host
➡ Add more recipients = OFF
➡ Perform MX lookup = OFF

Save.


What this does:

If Google doesn’t find mailbox → sends to cPanel automatically.


✅ STEP 3 — cPanel Side

WHM →

Email Routing

Set domain:

✅ Local Mail Exchanger

This tells Exim:

“I host mailboxes locally.”


✅ STEP 4 — Create Users

Google Users

Create normally.

cPanel Users

Create normally.

No forwarding needed.

No duplicate accounts.


✅ STEP 5 — SPF Record (CRITICAL)

Add BOTH servers:

 
v=spf1 include:_spf.google.com ip4:YOUR_CPANEL_SERVER_IP ~all

Replace YOUR_CPANEL_SERVER_IP.


???? Result

User Exists Where Mail Delivered
Google Google Inbox
cPanel cPanel Webmail
Unknown cPanel

True split delivery.


⭐ Production Tips (Important)

1. Enable TLS on Exim

WHM → Exim Configuration → Enable TLS


2. Reverse DNS for cPanel IP

PTR → mail.yourdomain.com


3. Test

From terminal:

 
exim -bt user@domain.com

???? This is exactly how large companies do hybrid migration.


Kalpesh — since you already manage WHM/cPanel daily, this setup will feel natural once done.

If you want, next I can show:

✅ Google Admin screenshots
✅ Exim verification commands
✅ DMARC + DKIM setup
✅ Rollback plan
✅ How to migrate users gradually

Just say ????


Was this answer helpful?

« Back