1 message in net.sourceforge.lists.courier-users[courier-users] Courier-maildrop, cou...
FromSent OnAttachments
Stij...@sintlukas.beSep 20, 2006 8:09 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Courier-maildrop, courier-imap and ldap authorization through authlibActions...
From:Stij...@sintlukas.be (Stij@sintlukas.be)
Date:Sep 20, 2006 8:09:20 am
List:net.sourceforge.lists.courier-users

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]