On Wed Feb 05, 2003 at 08:08:24PM +0100, Chmouel wrote:

> > Maybe you still don't want to add these, but remember Maildir isn't just a
> > qmail issue:
> >
> > courier-imap must use Maildir, and postfix can use Maildir. You do support
> > those packages. =)
> 
> so why theses programs doen't do a mkdir() inside ?

Because they don't.  You might as well ask why bash doesn't create
~/.bash_profile and ~/.bashrc the first time you run it.  Or why every
program that uses ~/tmp doesn't create it first.

You're adding four directories: ~/Maildir/{cur,new,tmp}.  Many programs
use Maildir now, not just qmail.  I've gotten around this in the past
with adding this stuff to /etc/skel via my qmail rpms, but this doesn't
help users that exist prior to installing the qmail rpm... an admin
still has to add all these dirs themself.

I don't think it's unrealistic to add.  If nothing else, it's extremely
simple for a user to remove if they don't want it (rm -rf ~/Maildir).

Alternatively, we could configure postfix out of the box to use
Maildirs instead of mboxes...  Maildirs are far more reliable than
traditional mboxes anyways.  People use journalling filesystems now to
prevent fs corruption, but what happens with mail corruption?  If
/var/spool/mail/username is corrupt, all the mail in it is useless.  At
least with Maildir, each message is it's own file; one corrupt file
doesn't corrupt the entire folder.

Don't dismiss this out of hand just because djb invented it... =)  The
only MTA I know of that doesn't support Maildir is sendmail, and I
could be wrong.  postfix, qmail, exim... they all can use Maildirs.

-- 
MandrakeSoft Security; http://www.mandrakesecure.net/
"lynx -source http://linsec.ca/vdanen.asc | gpg --import"
{FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD}

Attachment: msg90045/pgp00000.pgp
Description: PGP signature

Reply via email to