Hi all,

I patched qmail with qmail-ldap, qmail-control, smtp_auth and configured
it with dirmaker.

When a user has no Maildir the directory isn't created and the mail
stays in the queue.
When I make the directory manualy (/mailroot/<company>/<user>) the mail
is delivered.

When I logon to pop3 in both situations I get the error:

-ERR this user has no $HOME/Maildir


I have a localmessage store in ldap's controlcn that holds: /mailroot
I have a mailMessagestore in the user entry that holds:
<companynaam>/<user>

When I do:

lnx3:/var/qmail/bin # ./qmail-ldaplookup -m <user>@<company>.com

I get:

init_ldap:      passwords are not compared via rebind
                localdelivery:   on
                clustering:      off
                ldapobjectclass:
                homedirmaker:    /var/qmail/control/dirmake
                defaultDotMode:  ldaponly
                defaultQuota:
                QuotaWarning:
------
undefined
------
qldap_lookup:   searching with
(|(mail=<user>@<company>.com)(mailAlternateAddress=<user>@<company>.com)
)
qldap_lookup:   succeeded, found:
                uid: <user>
                qmailUID: <uid>
                qmailGID: <gid>
                accountStatus: active
                mailMessageStore: /mailroot/<company>/<user>
                homeDirectory: (null pointer)
                mailHost: mail.<company>.com
                mail: <user_account>@<company>.com
                mailAlternateAddress: <user>@<company>.com
                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: localdelivery
                mailReplyText: no entry in the database

Why isn't this working? Please help!!!!!!

Regards,

Didier





Reply via email to