Google Mail for Business Problem

Kimosabi

Verified User
Joined
May 13, 2010
Messages
7
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
 
Has anyone got a solution to get around this?

You can try to use a smart-host then: DA exim will send all emails via a mail relay, and the relay in this case would try first Google; or make a deep exim.conf tunning.

Send me a PM if you need my hands to help you.
 
You can try to use a smart-host then: DA exim will send all emails via a mail relay, and the relay in this case would try first Google; or make a deep exim.conf tunning.

Send me a PM if you need my hands to help you.

Thanks for the pointer, I have another DA box in the same network, I should be able to relay all mail through that and it will work. Both DA boxes are linked (zones files wise) but I don't think that will affect it, its basically just sending mail through a smart host that doesn't want to deliver mail for that domain locally.

Cheers.
 
Back
Top