I've got a client who has setup a portion of their email addresses on a single domain with Google Apps for Business. They've set it up so that if google isn't hosting an addressed email account, it passes it on to my directadmin setup.
I've set up the MX records fine and all is working well sending to google users and non-google users externally.
However, if a DA email account emails via RoundCube (local SMTP) then the local mail server tries to deliver it locally.
I thought that Turning off the checkbox for "Local Mail Server" in the MX Records page would solve that, which is does, but it also then bounces any mail that google tries to pass on that google don't host.
A quick run down:
* google hosts x email addresses for domain.com
* My DA installation hosts y email address for domain.com
* My DA has all the MX records for domain.com set to the google MX servers
* If google can't deliver [email protected] locally then it forwards it onto My DA which then delivers it locally.
* Sending email from My DA to [email protected] fails.
* By turning off "Local Mail Server" checkbox, the sending to google then works, but then mail for [email protected] get bounced.
Has anyone got a solution to get around this? The reasoning behind the client not having all email accounts with google is cost ($50/yr per user)
Regards
I've set up the MX records fine and all is working well sending to google users and non-google users externally.
However, if a DA email account emails via RoundCube (local SMTP) then the local mail server tries to deliver it locally.
I thought that Turning off the checkbox for "Local Mail Server" in the MX Records page would solve that, which is does, but it also then bounces any mail that google tries to pass on that google don't host.
A quick run down:
* google hosts x email addresses for domain.com
* My DA installation hosts y email address for domain.com
* My DA has all the MX records for domain.com set to the google MX servers
* If google can't deliver [email protected] locally then it forwards it onto My DA which then delivers it locally.
* Sending email from My DA to [email protected] fails.
* By turning off "Local Mail Server" checkbox, the sending to google then works, but then mail for [email protected] get bounced.
Has anyone got a solution to get around this? The reasoning behind the client not having all email accounts with google is cost ($50/yr per user)
Regards