Hi,
I know this is a typical problem but searching into the previous threads
about this matter haven't helped me :-(
(Have followed life with qmail and life with qmailldap books)
My setup is the following (I'm including only the ones I think could
help to diagnose the problem):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/qmail/control/ldapmessagestore :
/var/qmail/maildirs
/var/qmail/control/dirmaker :
/var/qmail/bin/custom_dirmaker
/var/qmail/control/ldapuid :
508
/var/qmail/control/ldapgid :
508
(Both two id's above are for the "vmail" user, owner of
/var/qmail/maildirs)
If I run a test with qmail-ldaplookup everything goes fine, but when I
send an e-mail to the user i get the famous error. Here is the proof of
concept.
[root@server03 bin]# ./qmail-ldaplookup -u dummy
init_ldap: passwords are not compared via rebind
localdelivery: off
clustering: off
ldapobjectclass:
homedirmaker: /var/qmail/bin/custom_dirmaker
defaultDotMode: ldaponly
defaultQuota:
QuotaWarning:
------
undefined
------
qldap_lookup: searching with (uid=dummy)
qldap_lookup: succeeded, found:
uid: dummy
qmailUID: 508
qmailGID: 508
accountStatus: undefined
mailMessageStore: /var/qmail/maildirs/dummy/Maildir
homeDirectory: (null pointer)
mailHost: (null pointer)
mail: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailQuota: no entry in the database
mailForwardingAddress: no entry in the database
deliveryProgramPath: no entry in the database
qmailDotMode: no entry in the database
deliveryMode: no entry in the database
mailReplyText: no entry in the database
Does anybody knows what the hell is going on ?
Is it not supposed to work right if the ldaplookup returns the correct
answer ?
:-(
Putting "1" into /var/qmail/control/ldaplocaldelivery and adding a real
user "dummy" into the system with his homedir set to
/var/qmail/maildirs/dummy didn't help either.
Any hints ?
Thank you very much in advance,
Best Regards, Marc.