Guy Barrette, Microsoft, Regional Director, Montreal, Canada, Visual Studio, .NET Expertise Using Gmail as a backup mail server - Guy Barrette

Guy Barrette

Microsoft Regional Director, Montreal, Canada

Using Gmail as a backup mail server

Let's face it, if you're a small shop, building a redundant Exchange infrastructure is way too hard and way too expensive.  So what if you have a simple Exchange setup with just a few users?  You can prey that you server will never go down and you can plan the reboots after the critical updates installs on Sunday mornings.

But why not leverage Gmail itself?  Yep, why not use Google's Gmail as the backup email server?  Sounds wacky?  It is but it works AND it's free!!!

OK, how you I do that?

First, you must have access to the domain's DNS entries because you'll have to modify them.

Point your browser to www.google.com/a, do a little reading and discover what is Google Apps.

Next, create an a free account.

Use your existing domain

Follow the steps that let Google verify that you really own the domain name.  That will involve either putting a text file in the root directory of your Website or adding a CNAME.

I use GoDaddy to register my domain names and they let you tweak the domain settings using their Total DNS Control Panel.  Check if your registrar let you do this.

After the domain ownership has been verified, you need to change the MX records (Mail Exchange).  Gmail lists instructions for a few registrars.

Basically, you need to add Gmail's MX records to the domain's MX records list.

The trick is to leave the one with PriorityValue 0 (zero) pointing to YOUR email server.

This way, mail will flow to your email server and Gmail will catch them only if your server is down.

The downside:
You'll have to create a Gmail account for each users.
You'll have to ask them to check their Google apps Gmail account when you have downtime.
The accounts are not synched.

To simplify this, you can add a CNAME to point directly to Google apps Gmail.  Something like gmail.mydomain.com
 

This is a great solution for small shops, best of all, it's free!

Posted: May 25 2008, 08:08 AM by guybarrette | with 5 comment(s)
Filed under:

Comments

ooglek said:

Excellent!  The Priority 0 for my mail server is the winner.  

# June 17, 2008 11:42 AM

gmail cname said:

Pingback from  gmail cname

# July 16, 2008 8:07 AM

check mx records said:

Pingback from  check mx records

# July 24, 2008 10:43 PM

Ayande said:

Hi!

When I try to set my priority to "0" it doesnt work with the control panel Im using. I can only set it to "1". Will it still work setting that valu instead?

PS: Very nice tutorial

# September 14, 2008 11:55 PM

guybarrette said:

Never tried a value of 1 but if it's a valid value for your provider, I guess that it should work.

# September 15, 2008 7:02 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)