On Thu Feb 06, 2003 at 09:18:33PM +0100, Pixel wrote:

[...]
> > I'm tired of debating this. I presented a simple workaround to ease future 
> > strain on the support department. No one at MandrakeSoft will ever fix this 
> > permantly, it's a totally ignored issue. I thought you, of all would 
> > understand the purpose of this package, I must have been mistaking.
> 
> as for me i'm still waiting for an answer:
> 
> http://archives.mandrakelinux.com/cooker/2003-01/msg04580.php

Wierd.  Never even saw that message.

Ok, yes, you have valid points.  So we have to patch these programs to
make the maildirs then.  I suppose that could be done.  Kind of a PITA,
but I suppose making a call to mkdir() before delivering mail would be
ok.

No, wait... these are IMAP clients.  Now here's a problem...
courier-imap doesn't deliver mail.  Do we do the mkdir() when they
check for POP3 mail?  So what happens to the mail before they do a POP3
check?  Where does it go if no Maildir.

I guess we patch postfix to make this then (maybe it already does, I
don't know).

The difference with things like ~/Desktop or ~/Mail or ~/nsmail, or
even ~/.bash_history, is they are not required before an application
needs them.  Nothing else depends on .bash_history but bash.  Nothing
needs ~/nsmail other than Netscape and similiar proggies.  Postfix will
not deliver to ~/nsmail, so it doesn't need to exist.

If a sysadmin wants to use maildirs, the MTA will deliver to a Maildir
before the program we're talking about (courier-imap, etc.) does
anything about it.  The ~/Maildir/ needs to exist before it is accessed
by a program.  Ideally, to reduce work for the sysadmin, it should be
part of the base system.

Now, should it be done for some contribs apps?  Probably not.  But I
think we should configure procmail/postfix/etc. to default to maildirs. 
It's better, no matter how you look at it.

Another, better, question to ask is: do we pre-create /var/spool/mail? 
Absolutely we do.  It's provided by filesystem.

So why doesn't postfix or sendmail or (insert favourite program here)
do a mkdir() on /var/spool/mail first?

-- 
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: msg90607/pgp00000.pgp
Description: PGP signature

Reply via email to