From owner-freebsd-questions Thu Jun 14 7:10:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 0845037B403 for ; Thu, 14 Jun 2001 07:10:54 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 91215 invoked by uid 100); 14 Jun 2001 14:10:50 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15144.50666.530025.411934@guru.mired.org> Date: Thu, 14 Jun 2001 09:10:50 -0500 To: Cc: questions@freebsd.org Subject: Re: postfix && Maildir In-Reply-To: <129215819@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG scanner@jurai.net types: > > >And understand the negatives of using the Maildir format? > > No. Could you please point me to some documentation on that? > Go look through the postfix mail list archives at www.postfix.org for > Maildir. Basically what it boils down to is if you have very little mail > Maildir is just as good as mail box format. But the more mail you have the > suckier Maildir performs. It's *alot* easier to deal with one large file > then a directory with tons of smaller files. Especially for searching. So > basically if you never go above a handfull of mail it won't matter to > much. But the more you throw at Maildir the worse it gets. My experience is just the opposite. Once you start having lots of mail - more than a few megabytes - to deal with, maildir is much easer to deal with than one large file. Trying to manipulate single messages in files with a few thousand messages in them is a major pain; doing anything but appending a message to the end of the mailbox means copying large chunks - if not all - of the mailbox. All operations - moving, deleting, and appending - are about the same speed on a maildir. That speed depends on the speed of the underlying directory system, I'm it's generally better than the time taken to copy all the data in the directory. You are also forced to use special tools to search such an mbox formatted file, as the standard unix tools - or even specialized ones, like WAIS - can't really do much more than pin things down to a single file. That's obviously pretty pointless if you've only got one file. On the other hand, it's pretty trivial to use standard Unix tools to locate all the messages in a maildir that match patterns like "have 'foo' in the From line and 'bar' in the subject line." If you have real references about problems - as opposed to "look at the site of an organization with a bias against the format" - I'd be interested in hearing about them. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message