Hello all,
I have a working production environment running qmail/cyrus. Have also
got an LDAP server with my user data in it for use as an addressbook.
Ultimately I'd like to use the ldap lookups instead of cdb I have now,
just to get everything in one place, and reduce maintenance efforts.
Cyrus will authenticate out of ldap without any problems at all, which
is also convienient.
Currently am setting up a test box with qmail-ldap and openldap 1.2.10
and cyrus 1.6.22. Qmail will deliver to cyrus, without the ldap
lookups, but I cannot seem to make it deliver with the ldap lookups on.
For some reason it is reading a .qmail file with an empty line, or at
least that is what the log is suggesting:
@400000003909daad17c3947c starting delivery 1: msg 87094 to local
[EMAIL PROTECTED]
@400000003909daad17c3b7a4 status: local 1/10 remote 0/20
@400000003909daae04d55bac delivery 1: deferral:
Uh-oh:_first_line_of_.qmail_file_is_blank._(#4.2.1)/
@400000003909daae04d58a8c status: local 0/10 remote 0/20
The user object (crutan) in the ldap database has the following for
relevant fields:
mail: [EMAIL PROTECTED]
mailHost: cronus.detroit.fahnestock.com
deliveryMode: normal
deliveryProgramPath: /usr/cyrus/bin/qmail_deliver_wrapper crutan
These are all of the /control/ldap* files:
ldapuid: 501 (uid of user cyrus)
ldapgid: 12 (gid of group mail)
ldapbasedn: ou=branches, dc=fahnestock, dc=com
ldapdefaultdotmode: ldapwithprog
ldapserver: cronus.detroit.fahnestock.com
I know the ldap lookup is taking place, I can see that in the log, it's
successfully looking up the user and getting the address, but I don't
know what .qmail file it's using, or why it's even using one. It
doesn't look like it should be, at least as far as I can tell. There is
a .qmail in ~cyrus, just to be safe, it has
|/usr/cyrus/bin/qmail_deliver_wrapper $LOCAL in it.
Any help would be much appreciated.
thanks,
caleb
--
----------------------->
Caleb Rutan | [EMAIL PROTECTED] | Office phone:(313)566-2371
Manager, Information Systems - First of Michigan
You're everywhere. You're omnivorous.
-- Homer Simpson, to God
There's No Disgrace Like Home
<-------------------------