Hi, The last problem was, although the auto homedir/maildir maker is working, its not following the default delivery method that was written in /var/qmail/control/defaultdelivery which was:
./Maildir/ The qmail logs says that it can't deliver to the /var/vmail/bani which was set to user's mailMessageStore, because its a directory(it's trying to write the mail in mbox format). Its hard to describe the actual logs but anyway, for users who will encounter the same problem or any problem in the future, here are the details of a working qmai-ldap setup: First and most important of all, as suggested by Syahid: Before building the qmail-ldap, set the: #define LDAP_HOMEDIR "homeDirectory" to #define LDAP_HOMEDIR "nohomeDirectory" in qmail-ldap.h (inside the qmail source dir) or else you will encounter that last problem I have encountered above. In ldap, make sure the user has at least the following entries: objectClass: qmailUser mail: [EMAIL PROTECTED] mailMessageStore: /var/vmail/bani And lastly, if you are just trying to start a clean installation of qmal-ldap, you should read the docs here over and over again. http://www.lifewithqmail.org/ldap/ and this one: I find this the most helpful http://www.proscrutiny.com/howtos/qmail-ldap.html lastly, this is the brief and concise, official install instruction: http://www.nrg4u.com/qmail/QLDAPINSTALL But if you haven't experienced configuring qmail before, like me, I suggest you start reading this: http://www.lifewithqmail.org/lwq.html and try setting up a qmail(not qmail-ldap) first. Make sure you made them all work(qmail pop3d, and an imap server, e.g; courier). Also, make sure that you have understood the various components of ldap before diving into a qmail-ldap installation. With that, even with a huge difference in the installation process between the two(qmail and qmail-ldap) I'm sure you'll have a working qmail-ldap in less than three days. That's all folks!!! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
