Hi,
 
I'am using courier for quite a while now with success,
but i stumbled into a problem when using 2 domains.
 
i've created to entries in ldap like these,
 
mail=admin_xar.nl,ou=xar.nl,ou=mailaccounts,o=xar.nl
mail=admin_aequitas.dhs.org,ou=aequitas.dhs.org,ou=mailaccounts,o=xar.nl
 
only of the accounts can be seen, now i think courier only authenticates for all domains
only based on the mail attribuut.
 
mail=admin_xar.nl
mail=admin
 
if i remove the mail=admin attribuut i suddenly can't authenticate anymore.
 
is there a way to maintain two admin accounts for 2 different domains ?
i can send mail to both accounts and it gets deliverd as it should.
only the authentication fails when both accounts exist.
 
i thought this could be done, but can't seem to get it to work...
 
i've created a hosteddomains file with both domains in them.
 
aequitas.dhs.org
xar.nl
 
i have the same entries in esmtpacceptmailfor in addition to localhost.
 
my authldaprc looks like this,
 
LDAP_SERVER  localhost
LDAP_PORT  389
LDAP_BASEDN  ou=mailaccounts,o=xar.nl
LDAP_BINDDN  cn=root,o=xar.nl
LDAP_BINDPW  password
LDAP_TIMEOUT  5
# LDAP_AUTHBIND  0
LDAP_MAIL  mail
#LDAP_DOMAIN  xar.nl
LDAP_GLOB_UID  courier
LDAP_GLOB_GID  courier
LDAP_HOMEDIR  homeDirectory
# LDAP_MAILDIR  homeDirectory
LDAP_MAILDIRQUOTA quota
LDAP_FULLNAME  cn
LDAP_CLEARPW  clearPassword
LDAP_CRYPTPW  userPassword
# LDAP_UID  uidNumber
# LDAP_GID  gidNumber
# LDAP_DEREF  never
 
both user ldif's look like this
 
dn: mail=admin_aequitas.dhs.org, ou=aequitas.dhs.org, ou=mailaccounts, o=xar.nl
mail: admin_aequitas.dhs.org
mail: admin
userPassword: **********
objectClass: couriermailaccount
objectClass: hordePerson
homeDirectory: /usr/home/aequitas.dhs.org/admin
cn: admin
 
dn: mail=admin_xar.nl, ou=xar.nl, ou=mailaccounts, o=xar.nl
mail: admin_xar.nl
mail: admin
userPassword: ********
objectClass: couriermailaccount
objectClass: hordePerson
homeDirectory: /usr/home/xar.nl/admin
cn: admin
 
every help would be grately appreciated :-)
 
with kind regards,
 
Tjeerd van der Zee

Reply via email to