It is my assumption and also the way I do it is by using a complete
and separate ldap record. One with
dn: mail=chri...@kdd.de,ou=people,o=kdd.de
objectClass: posixAccount
objectClass: CourierDomainAlias
objectClass: CourierMailAccount
cn: Christian
mail: chri...@kdd.de
uid: christian
userPassword:: e1NIQX15czY1Qml1TWozbnlvbjc3anR5YWRxZW5zcXM9
homeDirectory: /usr/home/virtual/christian
And another with:
dn: mail=chri...@kdd.de,ou=people,o=kdd.de
objectClass: posixAccount
objectClass: CourierDomainAlias
objectClass: CourierMailAccount
cn: Christian
mail: chri...@kdd.de
uid: christian2
userPassword:: e1NIQX15czY1Qml1TWozbnlvbjc3anR5YWRxZW5zcXM9
homeDirectory: /usr/home/virtual/christian2
This works well for me.
ed
Quoting Christian <prof...@kdd.de>:
At 18:20 06.02.2002 -0500, Sam Varshavchik wrote:
Christian writes:
If a user try to login than I will also allow to authenticate not only by
"mail" Address also by "mailAlternateAddress".
default/actual config
/etc/courier-imap/authldaprc -->
# Here's the field on which we query
LDAP_MAIL mail
Is there a possibility to do that with mail & mailAlternateAddress?
No. Use a second LDAP record instead.
thank you for the answer, but
sorry I don't understand this ;-((.
I've mail AND mailAlternateAddress for many users. How could I use an
second LDAP entry with this information??
LDAP_MAIL mail
LDAP_MAIL mailAlternateAddress
because some users don't klnow his primary mail address (only
mailAlternateAddress).