Re: Mailbox Formates (was: Expiring mail)

2000-08-14 Thread Rogerio Brito
On Aug 13 2000, Nate Duehr wrote:
 Just out of curiosity, anyone ever seen any good documentation on
 the advantages/disadvantages (even if it's biased, since we're *ALL*
 biased...) of the different mailbox formats?

You can see something in this direction in the following
homepage: http://cr.yp.to/maildir.html

The closest to a comparison that I have seen are the man pages
provided with qmail, maildir(5) and mbox(5).

In essence: Maildir is, with a very small cost of performance
(depending on your setup), the safest choice, with the added
bonus of being extremely flexible (since all the messages are
stored in individual files), so that messages can be
manipulated by scripts (and, thus, do the expiring that the
original poster wanted).

As far as I know, Maildir was invented by Dan J. Bernstein,
http://cr.yp.to/djb.html.


[]s, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
 Nectar homepage: http://www.linux.ime.usp.br/~rbrito/nectar/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Re: Mailbox Formates (was: Expiring mail)

2000-08-14 Thread Nate Duehr
On Sun, Aug 13, 2000 at 07:02:52PM -0300, Rogerio Brito wrote:
 On Aug 13 2000, Nate Duehr wrote:
  Just out of curiosity, anyone ever seen any good documentation on
  the advantages/disadvantages (even if it's biased, since we're *ALL*
  biased...) of the different mailbox formats?
 
   You can see something in this direction in the following
   homepage: http://cr.yp.to/maildir.html
 
   The closest to a comparison that I have seen are the man pages
   provided with qmail, maildir(5) and mbox(5).
 
   In essence: Maildir is, with a very small cost of performance
   (depending on your setup), the safest choice, with the added
   bonus of being extremely flexible (since all the messages are
   stored in individual files), so that messages can be
   manipulated by scripts (and, thus, do the expiring that the
   original poster wanted).
 
   As far as I know, Maildir was invented by Dan J. Bernstein,
   http://cr.yp.to/djb.html.

Thanks, I'll take a look.

-- 
Nate Duehr [EMAIL PROTECTED]

GPG Key fingerprint = DCAF 2B9D CC9B 96FA 7A6D AAF4 2D61 77C5 7ECE C1D2
Public Key available upon request, or at wwwkeys.pgp.net and others.


pgpKymhNX8cLn.pgp
Description: PGP signature


RE: Mailbox Formates (was: Expiring mail)

2000-08-13 Thread Nate Duehr
On Sun, Aug 13, 2000 at 12:43:26PM -0400, Christopher Mosley wrote:
 This would be quite easy if your mail is in Maildir format. Since you
 say mailbox I assume this is not the case. Qmail used to create mbox by
 default with the option to compile with Maildir. I imagine most mail
 user agents can be compiled or configured to use Maildir. Since Maildir
 uses a separate file for each post, you can see how easily this could
 accomplished independent of the capabilities of mail user agent. Info on
 Maildir format might be found at qmail but I really don't know. Perhaps
 there is info there on how to do this, it seems to be something people
 would be in need of - I mean -  something for which there is a need.
 Why on earth shouldn't a sentence end with a preposition? 
   cmos

Just out of curiosity, anyone ever seen any good documentation on the
advantages/disadvantages (even if it's biased, since we're *ALL*
biased...) of the different mailbox formats?

-- 
Nate Duehr [EMAIL PROTECTED]

GPG Key fingerprint = DCAF 2B9D CC9B 96FA 7A6D AAF4 2D61 77C5 7ECE C1D2
Public Key available upon request, or at wwwkeys.pgp.net and others.


pgp0ESUT5rffu.pgp
Description: PGP signature


Re: Mailbox Formates (was: Expiring mail)

2000-08-13 Thread Eric Gillespie, Jr.
On Sun, Aug 13, 2000 at 01:26:49PM -0600,
Nate Duehr [EMAIL PROTECTED] wrote:
 Just out of curiosity, anyone ever seen any good documentation on the
 advantages/disadvantages (even if it's biased, since we're *ALL*
 biased...) of the different mailbox formats?

In my experience, Maildir is best for spooling new messages and
mbox is best for large message archives. 1000 messages in a
Maildir isn't pretty :) Maildir is great for spooling because no
locking is necessary, making it perfect for NFS. It's slower (on
very large mailboxes only) because MUAs must stat every single
file in the directory, which is quite slow.

I use Postfix as MTA which hands messages off to maildrop, which
drops messages into various Maildirs in ~/Maildir. I read these
over IMAP with courier-imap. When a mailbox gets to be about 200
messages, i convert it to an mbox in my archive directory.

-- 
Eric Gillespie, Jr. * [EMAIL PROTECTED]

When I give food to the poor I am called a saint, when I ask why
 they go hungry I am called a communist
 --Bishop Helder Camara


pgpQFaQK7Iqki.pgp
Description: PGP signature