# -----Original Message-----
# From: dinesh.parbate [mailto:dinesh.parbate@tatainfotech.com]
# Sent: Friday, 19 July 2002 14:24
# To: openldap-software@OpenLDAP.org
# Cc: OpenLdap-Software@OpenLDAP.org
# Subject: LDAP mail routing
#
#
[snip]
#
# I have added an ldif file containing following lines:
#
# dn: uid=rahul,dc=nemesis,dc=atg
# objectclass: person
# objectclass: organizationalPerson
# objectclass: inetOrgPerson
# objectclass: inetLocalMailRecipient
# cn: rahul
# sn: raje
# uid: rahul
# mailLocalAddress: rahul@nemesis.atg
# mailRoutingAddress: dinesh@nemesis.atg
# mailHost: nemesis.atg
# mail: rahul@nemesis.atg
#
OpenLDAP is the trouble:
If you search your sendmail.cf, you'll see that you search for a
mailRoutingAddress AND and an objectclass. OpenLDAP doesn't seem to
understand that more than one objectclass can be searched on. You can try
putting the "objectclass: inetLocalMailRecipient" on top of the list.