Title: Message
Amit,
 
When you create users in your LDAP directory, make sure you DO NOT set mailMessageStore.
 
For more help, you should post one ldif export and the results of /var/qmail/bin/qmail-showctl
 
Russ
-----Original Message-----
From: Amit [mailto:[EMAIL PROTECTED]
Sent: Monday, June 27, 2005 6:54 AM
To: [email protected]
Subject: about qmail mail delivery directory

 
I have struggled a lot on this, posted this same question on qmail-ldap list sometime back, but still no clue on to why mails dont end up in /var/qmail/maildirs/<user> directory.
 
I unchecked the AUTOHOMEDIRMAKE and AUTOMAILDIRMAKE options during qmail-ldap compilation.
 
1. user:group = vmail:vmail
2. vmail home directory = /var/qmail/maildirs
3. Control files
    (a)    ldapmessagestore = /var/qmail/maildirs
    (b)    defaultdelivery = ./Maildir/
    (c)    ldapdefaultdotmode = both
    (d)    ldaplocaldelivery = 0
4.  Create the maildirs for appropriate users through the command
        /var/qmail/bin/maildirmake /var/qmail/maildirs/<user>
        for i in Trash Drafts Sent; do
                /var/qmail/bin/maildirmake -f $i user
        done
5.   I am using supervise and tcpserver to run qmail.
 
when i send a mail to any user on the local machine, lets say [EMAIL PROTECTED], or [EMAIL PROTECTED]
This mail ends up being stuck in the queue....for that matter all local mails remain in the queue..In the logs for qmail-send, I get a unable to chdir /home/<user>, no such file or directory error message.  My question is....I have set up the vmail home directory as /var/qmail/maildirs, then why is qmail looking for /home/user/Maildir ??? How can I get qmail to deliver messages to /var/qmail/maildirs/<user> ?
 
I have a sincere request to make...may be many of u guys will shout at me for these questions to be too silly, or becos it has been previously asked, but I have not been able to find the solution for this problem even after so much struggle. Hope u will understand and extend ur help...
 
Regards,
 
Amit

Reply via email to