Mailinglist Archive: opensuse (818 mails)

< Previous Next >
[opensuse] Re: (Dovecot is faster and supports multiple formats -- unlike Cyrus


Adam Tauno Williams wrote:
On Mon, 2011-08-29 at 19:37 -0700, Linda Walsh wrote:
James Knott wrote:
Linda Walsh wrote:
Bingo!... That's a reason why I avoided 'Cyrus' like plague, and why I moved to dovecot... Dovecot is
much better about handling multiple accesses.

False. Cyrus handles concurrent access *VERY* well. And recent 2.4.x
releases have dramatically improved performance beyond what was
available in 2.3.x
----
Well, depends on your definition of 'well', mine is 'perfect' or not.
there is no 'well'.


W/mbox, I have 458 mail folders under 29 dirs with 212638 messages
dating back to about 1995...**

I don't think what you are describing is mbox.
MBOX: "All messages in an mbox mailbox are concatenated and stored as
plain text in a single file"

What you are describing is maildir or maildir+ or maybe MH
----
Before you comment on these matters too much, you might want to get your d
definitions down:


Mbox Mailbox Format

Usually UNIX systems are configured by default to deliver mails to /var/mail/username or /var/spool/mail/username mboxes. In IMAP world these files are called INBOX mailboxes. IMAP protocol supports multiple mailboxes however, so there needs to be a place for them as well. Typically they're stored in ~/mail/ or ~/Mail/ directories.

The mbox file contains all the messages of a single mailbox. Because of this, the mbox format is typically thought of as a slow format. However with Dovecot's indexing this isn't true. Only expunging messages from the beginning of a large mbox file is slow with Dovecot, most other operations should be fast. Also because all the mails are in a single file, searching is much faster than with maildir.

-------------------


Maildir

This format debuted with the qmail server in the mid-1990s. Each mailbox folder is a directory and each message a file. This improves efficiency because individual emails can be modified, deleted and added without affecting the mailbox or other emails, and makes it safer to use on networked file systems such as NFS.
----------------


MH Mailbox Format

The MH mailbox format originated with a system developed by the RAND corporation and the University of California. Each email message is stored in a single file, with directories indicating folders and subfolders. The index or order of the messages in the folder determine what each message is named (which may not correspond to the inode index). The "safe" way to guarantee a message gets written to a mail folder is to first write the message out to a randomly chosen temporary file name, then link or rename the file to the number LAST+1, where LAST is the last sequential message in the folder. If the rename fails, increment the counter and try again.

-------

According to the above... I have mbox.

Ref: http://wiki.dovecot.org/MailboxFormat/


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References