Gregory Ruiz-Ade said:
> On Mar 3, 2005, at 7:39 AM, JD Runyan wrote:
>
>> Neil Schneider wrote:
>>> Except for the NFS part, cyrus IMAP has all the same features, and
>>> is
>>> not maildir. There are a lot of arguments about why you should
>>> NEVER
>>> store mail in NFS, but that's another discussion. Oh, and did I
>>> mention that cyrus imap is really fast!
>> Cyrus' mail storage has all the advantages that they have mentioned
>> for maildir, and I think a few more.
>
> However, Cyrus' mail store is only accessible via cyrus-imap.
> Maildirs
> are usable by a number of mail clients, directly writable by a number
> of MTAs and MDAs (i.e., postfix, procmail), and several alternative
> IMAP servers (dovecot, courier).
It's a file in a directory, just like maildir. So any application that
has permission can read the files in the directory. I use Postfix with
cyrus just fine. Procmail is not necessary or desirable, since postfix
talks to cyrus through an lmtp socket on my systems. I filter mail
with sieve, which does everything that procmail does for cyrus-imap.
Cyrus is generally chosen for one of two reasons. If you have a large
number of mail accounts, say 15,000 and need high performance or
distributed systems, you choose cyrus. If you need or want a
"black-box" mail system designed for mail only, not shell accounts,
you use cyrus-imap.
> So, one can argue that you get more choice with Maildirs.
>
> Now, after having poked around for a while in a cyrus mail server, I
> did notice one very very interesting thing. Cyrus uses the Maildir
> idea (each message in its own file, folders containing both messages
> and folders), but implemented in its own way, and with binary indexes
> built of all the mailboxes for faster searching. I learned this when
> I
> found that you can rebuild the indexes from the raw messages if there
> is index corruption.
Yep.
> Cyrus is fast, presumably because of the pre-indexed messages in a
> binary db format (likely BerkeleyDB).
>
Actually they're moving away from BerkelyDB because it isn't fast
enough and has some problems. My system uses skiplist.
--
Neil Schneider pacneil_at_linuxgeek_dot_net
http://www.paccomp.com
Key fingerprint = 67F0 E493 FCC0 0A8C 769B 8209 32D7 1DB1 8460 C47D
Sometimes I wonder whether the world is being run by smart people who
are putting us on, or by imbeciles who really mean it - Mark Twain
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list