Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I have 2 mailservers running ZIMBRA (primary - site1) and (secondary - site2) in two separated locations (sites).

When my primary mailserver in AVAILABLE the seconray are just syncing (rsync) with his zimbra services down. Just when the primary goes down is that my secondary mailserver starts the Zimbra services and became available to receiving email messages.

How my internal users (webmail and clients like thunderbird/outlook) in the primary location (site1) will send the messages to secondary server if my Primary MailServer at SITE1 goes down? An email coming from outside it's OK, because we have 2 MX entries (primary and secondary mailservers), but the internal users in the same network dont send the email messages to MX server, they deliver the message directly to mailserver.

This is how my setup looks like:

Any thoughts?

Many Tks!

share|improve this question
up vote 0 down vote accepted

You change the DNS records for (or whatever your clients use for SMTP/IMAP addresses) to point to the secondary server until the problem is fixed.

That's assuming both servers have the same accounts, same mailbox contents, etc.

share|improve this answer
But how can I do this automaticamente? I wouldnt like to every time that a failure happen the need to manualy do that. – Tiago Soares May 31 '13 at 13:28
That completely depends on how your DNS is setup, what software it uses, what you have monitoring for failures, etc. But the changes can be scripted and triggered by a monitoring system. Though if it fails often enough that doing it manually is a large concern...I'd work on making the server more reliable in the first place. – Grant May 31 '13 at 14:07
Sure! I will take a look at KeepAlived, as well. ( – Tiago Soares May 31 '13 at 14:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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