Hello all,
I have been working on getting qmail-ldap working for 3 days now. I
have setup ldap based email in the past using netscape messaging, so I
know how ldap works, but I can't seem to get qmail-ldap to work.
First, I can see the directory just fine, and I can confirm that my user
is in the directory:
# ./qmail-ldaplookup -u schu
init_ldap: passwords are not compared via rebind
localdelivery: off
clustering: off
ldapobjectclass:
homedirmaker: /var/qmail/bin/dirmaker.sh
defaultDotMode: ldaponly
defaultQuota: 10000000S, 3000C
QuotaWarning:
------
If you have any questions contact the mail administer at
[EMAIL PROTECTED]
------
ldap_lookup: searching with (uid=schu)
ldap_lookup: succeeded, found:
uid: schu
qmailUID: 151
qmailGID: 151
accountStatus: undefined
mailMessageStore: /var/qmail/maildirs/schu
homeDirectory: (null pointer)
mailHost: mail1.aptalaska.net
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
But I can't send mail to this user using the qmail-inject syntax
outlined in TEST.deliver.
When I run:
# echo echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject
I get:
Sep 26 14:16:23 mail1 qmail: 1001542583.291126 status: local 0/10 remote
0/20
Sep 26 14:16:31 mail1 qmail: 1001542591.580306 new msg 52962
Sep 26 14:16:31 mail1 qmail: 1001542591.580691 info msg 52962: bytes 243
from <[EMAIL PROTECTED]> qp 17469 uid 0
Sep 26 14:16:31 mail1 qmail: 1001542591.620149 end msg 52962
in my maillog.
It doesn't matter if the ldap server is running or not, I get the same
thing.
I can't figure out where this email is going, or why it is sending it to
root.
I tried setting the DEBUGLEVEL to 3 and 255 but I still get the same
messages above.
How can I make qmail send the email to the users Maildir?
I am using the virutal user configuration outlined in
www.lifewithqmail.com/ldap
I should note that DNS is not an issue because I installed a name server
on the local machine and made it so that it will only resolve against
itself so that it would work on my bench outside of the real internet.
Thanks for any help you can send,
schu