Hmm.. I'm trying to get qmail working with LDAP and I'm seeing something
strange. The system acount users are getting mail in Maildir format but
the LDAP users are getting mail in mbox format. It's creating a Maildir
file (which contains the email) inside the mailMessageStore dir.


example:
mailMessageStore: /var/mail/test/Maildir/ creates
/var/mail/test/Maildir/Maildir


I think I obviously have something wrong in the LDAP record but I'm not
sure what it is. Maybe someone can point out where I'm going wrong. Any
help is greatly appreciated. Here's the ldif from the example user:

dn: uid=test, dc=qmail, dc=org
cn: Mike Cantrell
sn: Cantrell
objectClass: top
objectClass: person
objectClass: inetOrgperson
objectClass: qmailUser
mail: [EMAIL PROTECTED]
mailHost: bender.grantownbey.com
mailMessageStore: /var/mail/test/Maildir/
mailQuota: 1000000S,100C
qmailUID: 501
qmailGID: 501
uid: test
userPassword: {crypt}YJbWlya3zU6Tk



One other thing I should note is that I enabled
MDIRMAKE=-DAUTOMAILDIRMAKE and HDIRMAKE=-DAUTOHOMEDIRMAKE in the
Makefile but it doesn't seem to create either of the directories (I
created a shell script and added it's path to the ~control/dirmaker
file). The example dir I'm using was created manually with
/var/qmail/bin/maildirmake.

The parent dir for the mailMessageStore has the following .qmail file:

./Maildir/

Reply via email to