On Monday 15 July 2002 10:39 pm, Sudhakar Chandra wrote: > From: "Sameer D. Sahasrabuddhe" <[EMAIL PROTECTED]> > > > What all do I need to take care of, to shift the entire set of users > > from mbox to Maildir? > > 1. Take the machine into single user mode. > 2. Configure your MDA to deliver into user's Maildir repository. > 3. Mass convert existing mbox to Maildir using available scripts. > 4. Go into multi user mode.
Thaths, why do you recommend taking the system down to single user mode? Isn't stopping the mail subsystem enough? It might be impractical to take a colocated server down to single user mode. > > Is it true that shifting to Maildir will greatly improve IMAP > > performance? Currently, the delay in opening a mailbox with a few > > thousand messages is noticeable in minutes. Will that improve with > > Maildirs? > > It totally depends on which overhead - opening one mbox file and parsing it > or opening multiple Maildir files - is slower. IMO, both are slow when > dealing with especially huge folders. You might consider looking into Is it? Consider a mailbox with 10,000 mails. With mbox, when the client does a STAT command, the POP server needs to open mbox, parse it, and then send the response. Whereas with maildirs, the server just needs to run stat() in a loop. Or if a single mail is requested, its serial no (in the STAT command) is mapped to the filename in Maildir/new, so a comparatively smaller file needs to be opened and sent across the network. Maybe CRLF translation requirement would make it necessary to open all files in a Maildir to be opened before their sizes can be determined. Also, it seems to me that memory usage etc. of a POP/IMAP server serving Maildir mailboxes would be lesser compared to one serving mbox mailboxes. I'd like to know what your reasons are in saying both would be equally (?) slow when dealing with large mailboxes. Thinking about it, are there any benchmarks on the relative performance of these two systems out there? Didn't find any on DJB's home page. > Cyrus IMAP as well. It has a non-standard format of storing mail that is > sort of like Maildir. But the problem there would be user's can only read > mail through the IMAP (i.e you cannot use mutt locally on the machine to > read off /var/spool/mail or ~/Mail). The problem with Cyrus would be one of migration - both to and from. Does it ship with tools that migrate mbox/Maildir to its database format? Or vice versa? Binand ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
