Hi,

I got around this by adding a couple of extra mkdir's to my
control/dirmaker script, to make the Maildir too...

bash-2.05$ cat /var/qmail/control/dirmaker
/var/qmail/bin/dirmaker
bash-2.05$ cat /var/qmail/bin/dirmaker
#!/bin/sh
/bin/mkdir -m 700 -p $1
/bin/mkdir -m 700 $1/Maildir
/bin/mkdir -m 700 $1/Maildir/tmp
/bin/mkdir -m 700 $1/Maildir/new
/bin/mkdir -m 700 $1/Maildir/cur
#EOF
bash-2.05$

HTH...

Cheers,

James.

----- Original Message ----- 
From: "Dan Melomedman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 08, 2002 3:52 PM
Subject: Re: courier-imap + dirmaker


Henning Brauer writes: 

> Send the user a welcome message. The Maildir is created upon receiving the
> first message if you have AUTHOHOMEDIRMAKE and ATUMAILDIRMAKE enabled.

I always thought of this as a hack. Either IMAP server or auth-imap really 
need to create the directory on the first use, or have it created by other 
means at the time of user entry creation without sending any messages. 

--  



Reply via email to