OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: 2 redundant mail servers

From: Ondrej Sury (ondrejsury.org)
Date: Tue Jul 26 2005 - 09:27:31 CDT


On Tue, 2005-07-26 at 16:10 +0300, Petre Bandac wrote:
> I have 2 postfix servers running in parallel, each one with different
> virtual users/domains
>
> the whole point of the situation below is redundancy in case if mx1/mx2
> has a hardware failure (which happened 2 weeks ago)
>
> I want to replicate the postfix users, so an user added to mx1 will
> also be found on mx2 - this can be easily made by replicating the mysql
> table; however, I want to also have the _current_ maildir on both
> servers, so in case one fails (physically), the user won't notice, as
> he will find the inbox intact
>
> rsync is out of the question, I have already tried

Well, it depends how much money you are willing to spend :-). But you
need to spend some.

Most obvious solution is using NFS+Maildirs, but then NFS is SPOF, but
this can be handled. I know that some companies do clustered NFS
solutions.

Another solution could be using Cyrus as backend and use 2.3 development
branch, where "replicated" murder can server user mailboxes from
"shared" storage.

Ondrej.
--
Ondrej Sury <ondrejsury.org>