From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 18:51:07 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C86216A4CE for ; Mon, 21 Jun 2004 18:51:07 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by mx1.FreeBSD.org (Postfix) with SMTP id 1EC5543D41 for ; Mon, 21 Jun 2004 18:51:07 +0000 (GMT) (envelope-from aharrison@gmail.com) Received: by mproxy.gmail.com with SMTP id 62so338422rni for ; Mon, 21 Jun 2004 11:51:03 -0700 (PDT) Received: by 10.38.92.49 with SMTP id p49mr167699rnb; Mon, 21 Jun 2004 11:51:03 -0700 (PDT) Message-ID: Date: Mon, 21 Jun 2004 14:51:03 -0400 From: Andy Harrison To: Bill Moran In-Reply-To: <20040621132006.2b1a296f.wmoran@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20040621132006.2b1a296f.wmoran@potentialtech.com> cc: questions@freebsd.org Subject: Re: What's the best possible email failover solution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 18:51:07 -0000 On Mon, 21 Jun 2004 13:20:06 -0400, Bill Moran wrote: > > Hey, > > I know questions like this get asked a lot, but I'm going to be really specific. > > I know how to set up failover with a backup MX. That's not what I'm looking > for. We have a cyrus-imap server with lots of users connecting via IMAP, > while everything gets backed up, this only happens once a night. Thus, if the > server were to go up in smoke right before the backup occurred, we'd lose > something like 23 hours worth of emails. > > Does anyone have a solution to provide real-time mirroring of IMAP folders? > I don't mind manual intervention to get the thing running again, I just want > to ensure that if an email is received, it's on both machines and can't get > lost. Is there a way to get real-time replication of cyrus (I'm no cyrus > guru, another fellow set this up) > > I'm not tied to Cyrus either, if there's another solution, I'd be happy to > implement it. > > I have an idea ... by using Dovecot with PostgreSQL storing the actual mail > folders, with Slony installed to provide real-time replication of the Postgres > database ... I don't know if Dovecot is able to store the actual mail folders > in Postgres yet, though ... Anyone? Real time mirroring would be a looooong way to go for very little return. You'd be much better off with some sort of NAS in a raid config, even if it were home grown, to store the spools. Then you can have as many front-ends as you want, just auth with LDAP or something. -- Andy Harrison