Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to configure MX zones to utilize Gmail/Outlook as stand-by incoming mail server with my active Exchane to provide reliability?

Gmail/Outlook should only be used in case of Exchange is unavaliable.

What DNS settings work and what is possible issues with such a configuration?

mail.mycompany.com.     A       x.y.z.v 
gmail.mycompany.com.    CNAME   ghs.google.ru 
mycompany.com.          MX      10 mail.mycompany.com. 
mycompany.com.          MX      20 ASPMX.L.GOOGLE.COM 
mycompany.com.          MX      30 ALT1.ASPMX.L.GOOGLE.COM 
mycompany.com.          MX      40 ALT2.ASPMX.L.GOOGLE.COM 
share|improve this question

It can work as a poor man's resilience strategy, sure. Assuming that Gmail is setup to receive email for your domain as well. It will get a little clunky if it happens often since the "mailboxes" wouldn't be synced so messages going to Gmail would be on their servers and mailboxes, and the users would have to login to their "mycompany" mailboxes on Gmail to even see the new emails...which would mean in essence you'll have 2 different mailboxes per user with most of their mail in Exchange and some "failover" mail in Gmail.

Backup MX records of a higher metric are supposed to be used after the lowest metric. However, there's nothing preventing a sending mail server from sending mail directly to any of your MX servers. In fact, some spam/mass mailers often will use a higher metric MX target because it can often lack the same spam filtering power (an example would be companies that set their primary MX record for a spam appliance with a "backup" MX record of their Exchange server in case the spam appliance is offline).

You also run into the issue of "what does unavailable mean?". If the Exchange server is completely offline that's one thing. But if it isn't and is just having "issues" sending servers may still try to connect to that server regardless.

Google Apps (postini) does/did have some continuity features built-in that could be incorporated with Exchange though. If I remember right they had 2 different options, one for "mail queuing" in case Exchange was down, and when it came back up it would deliver it on to the Exchange server...and then actual continuity where you could dual deliver and if the Exchange server was down you could still get your email in Gmail.

share|improve this answer
    
We can configure all mails to go to one email box at google, then I suppose it is possible to fetch emails from this gmail box by Exchange, sort it then and put to end users' mail boxes. – BBK Mar 28 '14 at 14:12
    
> In fact, some spam/mass mailers often will use a higher metric MX. So I will not mind if spam will go to gmail first :) – BBK Mar 28 '14 at 14:59
    
What else possible issues for such a configuration? – BBK Mar 28 '14 at 15:00
    
That's hard to say without knowing your exact setup and need. At this point it is "plan/test/implement/maintenance". – TheCleaner Mar 28 '14 at 15:19

I suggest you try to use backup mail server that'll relay the mail back once your email server's back.

I used DNSMadeEasy in the past for that service, but there are other alternatives.

share|improve this answer

protected by HopelessN00b Feb 22 at 10:13

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.