Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2004 08:31:34 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Jan Grant <Jan.Grant@bristol.ac.uk>
Cc:        questions@freebsd.org
Subject:   Re: [OT] Re: What's the best possible email failover solution
Message-ID:  <20040622083134.4b8e28df.wmoran@potentialtech.com>
In-Reply-To: <Pine.GSO.4.58.0406221039470.8600@mail.ilrt.bris.ac.uk>
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> <20040621204111.6e684d45.wmoran@potentialtech.com> <Pine.GSO.4.58.0406221039470.8600@mail.ilrt.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Jan Grant <Jan.Grant@bristol.ac.uk> wrote:

> On Mon, 21 Jun 2004, Bill Moran wrote:
> 
> > During my research of the IMAP protocol, I determined that _the_best_
> > way to store email for high-performance would be to put them in a
> > database.  This is because IMAP doesn't see email as a big blob of
> > text like POP does.  It sees the headers as one thing, and the
> > different MIME parts of the email each as a seperate thing that can
> > be fetched independently of the other MIME parts.  This is a pretty
> > good layout for a one -> many relationship in a database.  Fact is,
> > every current IMAP server that I'm aware of has to break emails
> > apart on the fly in order to server IMAP.
> 
> Have a closer look at the cyrus layout. Each message is in a single
> file, true, but they are also preparsed to extract the data required for
> common IMAP operations. The index files contain things like preformed
> bodystructure responses and offsets to each mime piece.

That would explain why Cyrus is so fast then.

If only there was a way to do replication ... it'd be the perfect IMAP
server.

-- 
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?20040622083134.4b8e28df.wmoran>