SPLIT DELIVERY
-----
Split Delivery configuration. Gsuite
mail dual delivery Gsuite
Apps > Google Workspace > Settings for Gmail > Hosts
Apps > Google Workspace > Settings for Gmail > Default routing
\
Domains-> Add a domain alias
Webmail: www.gmail.com
Name/Host/Alias
Time to Live (TTL*)
Record Type
Priority
Value/Answer/Destination
Blank or @
3600
MX
1
aspmx.l.google.com.
Blank or @
3600
MX
5
alt1.aspmx.l.google.com.
Blank or @
3600
MX
5
alt2.aspmx.l.google.com.
Blank or @
3600
MX
10
alt3.aspmx.l.google.com.
Blank or @
3600
MX
10
alt4.aspmx.l.google.com.
Add new MX records
Click Add new record.
Leave the Host field blank.
In the Priority field, enter the priority value 1.
In the Points to field, enter SMTP.GOOGLE.COM Include the period at the end of the MX record.
Click Save.
MX SERVER ADDRESS PRIORITY
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
MX record for dual delivery ...
1. All the MX should be
1. Gsuite MX
gsuite 3600 IN MX Priority: 1 Destination: aspmx.l.google.com
gsuite 3600 IN MX Priority: 5 Destination: alt1.aspmx.l.google.com
gsuite . 3600 IN MX Priority: 5 Destination: alt2.aspmx.l.google.com
gsuite 3600 IN MX Priority: 10 Destination: aspmx2.googlemail.com
gsuite 3600 IN MX Priority: 10 Destination: aspmx3.googlemail.com
2. Gsuite MX
gsuite.orang.com. 3600 IN MX Priority: 1 Destination: aspmx.l.google.com
gsuite.orange.com. 3600 IN MX Priority: 5 Destination: alt1.aspmx.l.google.com
gsuite.orang.com. 3600 IN MX Priority: 5 Destination: alt2.aspmx.l.google.com
gsuite.orang.com. 3600 IN MX Priority: 10 Destination: aspmx2.googlemail.com
gsuite.orang.com. 3600 IN MX Priority: 10 Destination: aspmx3.googlemail.com
SPF Record: v=spf1 include:_spf.worldcm.net include:_spf.google.com ~all
v=spf1 +ip4:103.182.196.101 include:_spf.google.com include:spf.spam.cloud ~allSPF Record: v=spf1 include:_spf.google.com ~all
wwww-IP Mail -IP Gsuite
v=spf1 +a +mx +ip4:166.62.30.148 +ip4:202.22.199.148 include:_spf.google.com ~all
Example DNS configuration
Blank or @ A NA 216.239.38.21
Blank or @ MX 1 ASPMX.L.GOOGLE.COM.
Blank or @ MX 5 ALT1.ASPMX.L.GOOGLE.COM.
Blank or @ MX 5 ALT2.ASPMX.L.GOOGLE.COM.
Blank or @ MX 10 ASPMX2.GOOGLEMAIL.COM.
Blank or @ MX 10 ASPMX3.GOOGLEMAIL.COM.
mail CNAME NA ghs.googlehosted.com.
Blank or @ TXT NA google-site-verification=6tTalLzrBXBO4Gy9700TAbpg2QTKzGYEuZ_Ls69jle8
Blank or @ TXT NA v=spf1 include:_spf.google.com ~all
www CNAME NA ghs.googlehosted.com.
SPF:Name: @Content: v=spf1 include:_spf.google.com ~all
DKIM:Name: google._domainkeyContent: Long TXT as shown in the tutorial.
DMARK:Name: _dmarcContent: v=DMARC1; p=none; rua=mailto:name@yourbusiness.com
----------------------------X----------------------------------
Host Settings
Let us now get through the steps to build up a Split Delivery configuration.
Log in to Admin Console
Click on Apps >> Gsuite >> Gmail >> Advance Settings
Create a Host
Click on Save
Routing Settings:
Once the host details are saved, we need to proceed with adding the routing settings.
Click on Apps >> Gsuite >> Gmail >> Advance Settings
Under General settings >> Scroll down to Routing >> Besides Routing >> Click on Configure.
Now scroll down to Route >> Click on Change Route >> Now select the Host name that was created in the previous step.
Eg: In the host settings we created a host with the name “Business email routing”.
Scroll down >> Click on Show Options >> Now under Account types to affect >> Select Unrecognized / Catch -all
Click on Add Settings.
This completes the split delivery setup for your domain name. Going forward if any email is sent, the email will be first routed to your Gsuite package. If the account exists under Gsuite the mail will be delivered successfully.
In case the email account does not exist, the mail will be routed to your Business/ Enterprise Email server and the message will be delivered to the intended recipient.
DNS Records:
Only one SPF record can be added for a domain name, In this case, since we are using multiple email servers we will have to club the SPF records.
Identify the correct DNS Zone for the domain name and add the mentioned record in the current dns zone.
--------------------------------------------X----------------------------------------------------
Create a new host with these settings:
You may name the route anything you like. Be sure to replace your-server's-ip-address with your IP. On Plesk 12.5, your server's IP is listed in a panel on the right side of the home screen. Another option is to modify the host that already exists by disabling the Require TLS delivery option.
2. Select G Suite > Settings for Gmail > Advanced settings. Click on the Default routing tab and then Add Setting.
3. Configure the alternate route for email addresses that are not managed by G Suite. This allows you to add and remove addresses in Plesk without having to configure anything else through the G Suite interface.
Step 1: Select All recipients from the drop-down menu.
Step 2: Select Modify message from the drop-down menu. Leave the Headers section blank unless you need to specify otherwise. Under Route, select change route and then select the name of your host.
Step 3: Select perform this action only on non-recognized addresses and click Save.
4. SSH to your server and modify the main.cf file so that Postfix does not check outgoing email against your domains and attempt to route mail locally. You must do this, or attempting to send mail from your VPS to any Gmail managed addresses that are @yourdomain.com will fail. This is because Postfix will first look for the address on the local server.
vim etc/postfix/main.cf
Add the line that tells SMTP to not reject email that matches local recipients. The value is supposed to be blank.
local_recipient_maps =
save and quit
:wq
Reload postfix with the updated configuration.
postfix reload
---