you can put ./ into defaultdelivery, so: echo -n ./ > /var/qmail/control/defaultdelivery
-----Original Message----- From: Jared Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2008 1:51 AM To: [email protected] Subject: How does Maildir directory get created? This is my first attempt at installing a qmail-ldap+courier IMAP email server. I am trying to set it up identical to to our current working qmail-ldap+courier IMAP email server (built by admin before me). I have things working pretty good except for one behavior. On my old server as mail came in for a new user it would create a new directory under /var/qmail/users with there username and then create the sub folders cur, tmp, and new under that. So it would look like this /var/qmail/users/newuser /var/qmail/users/newuser/tmp /var/qmail/users/newuser/cur /var/qmail/users/newuser/new on my new system as mail comes in qmail (I assume it is qmail that does it) creates another subfolder called Maildir. So the directory structure on the new system looks like this /var/qmail/users/newuser /var/qmail/users/newuser/Maildir /var/qmail/users/newuser/Maildir/new /var/qmail/users/newuser/Maildir/cur /var/qmail/users/newuser/Maildir/tmp this throws courier imap off and actually fails to authenticate the user. It gives an error saying * BYE Clock skew detected. Check the clock on the file server in searching the net for that answer I came across something saying courier IMAP is trying to create a file in tmp folder and compare its time stamp to the servers time. Turns out that if it can't create the file in tmp dir it throws the clock skew error. So I decided to get rid of the Maildirs directory and manually move cur, tmp, and new up one directory and rm -rf the Maildirs directory. After I did that courier would authenticate and I could see the mail in the cur using Evolution imap client. I know it was probably a step in the setup I forgot to do but I can't seem to figure this one out. How do I get qmail to deliver to /var/qmail/users/newuser rather than /var/qmail/users/newuser/Maildir I have this set [EMAIL PROTECTED] control]# cat ldapmessagestore /var/qmail/users Any one have an idea where I went wrong? Thanks, Jared
