2 messages in net.sourceforge.lists.courier-users[courier-users] how expand aliases co...
FromSent OnAttachments
Fernando GozaloMay 15, 2003 12:38 pm 
Sam VarshavchikMay 15, 2003 1:17 pm 
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] how expand aliases courier+ldap?Actions...
From:Fernando Gozalo (fgoz@csi.uned.es)
Date:May 15, 2003 12:38:44 pm
List:net.sourceforge.lists.courier-users

Hello all:

I think I have to ask this to the list. I have a working courier-mta with a
hosteddomain (alumno.uned.es) and users defined in openlap (courier.schema). Aliases are
defined in ldap.

- If I redirect in ldap use@alumno.uned.es -> us@otro.domain.com the mail is
delivered to us@otro.domain.com without problem. - If I redirect in ldap use@alumno.uned.es -> othe@alumno.uned.es the
mail is not delivered and the sender receive a "550 User unknown.".

I think that courier in later case use othe@alumno.uned.es as if it was the
uid of the recipient and not a mail address that need to resolv looking for the maildrop.
Item est courier doesn't expand aliases a second time.

Is this the right/expected behavior of courier-mta? or, maybe, I have something
misconfigured?

TIA, Fernando.

/usr/lib/courier/etc/ldapaliasrc

LDAP_ALIAS 1 LDAP_NUMPROCS 5 LDAP_BASEDN ou=Personas,dc=uned,dc=es LDAP_TIMEOUT 5 LDAP_MAIL mail LDAP_MAILDROP maildrop

/usr/lib/courier/etc/authldaprc

LDAP_TIMEOUT 30 LDAP_BASEDN ou=Personas,dc=uned,dc=es LDAP_AUTHBIND 1 LDAP_MAIL uid LDAP_GLOB_UID cartero LDAP_GLOB_GID cartero LDAP_HOMEDIR homeDirectory LDAP_MAILROOT /home/buzones LDAP_MAILDIRQUOTA quota LDAP_FULLNAME cn LDAP_CRYPTPW userPassword LDAP_DEREF never LDAP_TLS 0

An example of a ldap entry

dn: uid=postmaster,ou=Personas,dc=uned,dc=es objectClass: top objectClass: person objectClass: CourierMailAccount objectClass: CourierMailAlias sn: Postmaster cn: Postmaster uid: postmaster uidNumber: 512 gidNumber: 512 homeDirectory: /x/x/postmaster mail: post@alumno.uned.es userPassword: ************** maildrop: postmaster