[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: LDAP mail routing



# -----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.

I had the same trouble, so I started to perform a normal ldapsearch,
querying like sendmail would do, and it didn't give me any results either.

I fixed this by changing the query from sendmail (read the FAQ) by not
searching it for objectclasses.

Kind regards,

Peter

Disclaimer
1. This e-mail is for the intended recipient only. If you have received it
by mistake please let us know by reply and then delete it from your system;
access, disclosure, copying, distribution or reliance on any of it by anyone
else is prohibited.

2. If you as intended recipient have received this e-mail incorrectly,
please notify the sender (via e-mail) immediately. This e-mail is
confidential and may be legally privileged. DSM does not guarantee that the
information sent and/or received by or with this e-mail is correct and does
not accept any liability for damages related thereto.