Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 2004 21:29:39 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Lucas Holt <luke@foolishgames.com>
Cc:        questions@freebsd.org
Subject:   Re: What's the best possible email failover solution
Message-ID:  <20040621212939.6fff7b49.wmoran@potentialtech.com>
In-Reply-To: <A3C847CC-C3EA-11D8-88C6-000A95EFF4CA@foolishgames.com>
References:  <20040621132006.2b1a296f.wmoran@potentialtech.com> <a22ff294040621115173bad2e0@mail.gmail.com> <20040621172520.3544d6fe.wmoran@potentialtech.com> <20040621214348.GB63857@happy-idiot-talk.infracaninophile.co.uk> <20040621175626.3e762448.wmoran@potentialtech.com> <40D76DA3.9090809@mac.com> <20040621203245.1f0e7444.wmoran@potentialtech.com> <A3C847CC-C3EA-11D8-88C6-000A95EFF4CA@foolishgames.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Lucas Holt <luke@foolishgames.com> wrote:

> Keep in mind that storing mail in a RDBMS as a backup requires an 
> efficient method to restore mail into your mail server's format.

I'm looking at RDBMS _being_ the native format.  Dovecot has this
on the TODO list, but it's low priority for that project.

If we use SQL as the native storage, then we duplicate the config
on both machines (i.e. the Postfix config and the IMAP server
config) and in the case of hardware failure, we just switch IP
addresses.  That can even be automated to happen without manual
intervention!

> Would it be possible to have a second mail server internal to your 
> network that would receive copies of the mail from the primary mail 
> server to store them as a backup?  This would be closer to real time 
> and for the most part would beat the 30 minute interval to do an rsync. 
>   In addition, if the system proved reliable you could rsync the 
> secondary at night and not have the primary down at all.

Doesn't really accomplish the goal.  The point is to have the IMAP
folders in two places at all times.  That way, when a user deletes
an email, its deleted in both places, when Postfix delivers an email,
it's delivered to both places, if a user moves an email from one
folder to another ... you get the idea.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040621212939.6fff7b49.wmoran>