Hello,
I am running a mail server (postfix) which uses courier-maildrop to
deliver mails in the home directories of my users and courier-imap for
remote access to the mailboxes.
Both courier-maildrop and courier-imap access authdaemond for retrieving
the home directories and verifying the user's credentials when they log in
using imap.
Now the problem is that courier-maildrop and courier-imap need to query a
different field on my ldap directory: maildrop needs to query on the email
adress, and imapd should query the uid.
At the moment, the LDAP_MAIL property in /etc/authlib/authldaprc is set to
"mail". Using this setting, courier-maildrop is able to query for the
e-mail adress when delivering a mail.
However, I can't login with my userid through imapd. I can use my email
adress as login name but it's easier for my users when they have to enter
just a (short) user id.
When I change the LDAP_MAIL property to "uid", I can log in with my user
id but my e-mails don't get delivered.
So how can I have courier-maildrop and courier-imap query different fields
in my ldap directory?
Thanks in advance,
[Stijn Lamens] - [ICT]