HP-UX Mailing Services Administrator's Guide
Configuring and Administering Sendmail
Sendmail and the LDAP Protocol
Chapter 272
The BindDN parameter used to specify the DN value for the LDAP
bind request. For example:
-d”cn=ldap://:389,dc=edat104,dc=atl,dc=hp,dc=com”
• -h – LDAP servers
Space-separated string of servers that support LDAP at your site.
For example:
-h “ldap1.hp.com ldap2.hp.com”
• -p – Port numbers
Port numbers where LDAP service is available. For example:
-p 33333
• -k – LDAP search string (key)
String that defines how an LDAP map takes its input value and
initiates an LDAP search. For example:
-k (&(ObjectClass=mailrecipient) (mail=%0))
• -v – LDAP attribute
Value that replaces the origin string in the map. In most cases, this is
the RFC822 e-mail address. For example:
-v mailroutingaddress
The LDAP maps are defined in the configuration file as follows:
Kldap -1 -v mailHost -k (&(objectClass=inetLocalMailRecipient)
(mailLocalAddress=%0))
Kldapmra ldap -1 -v mailRoutingAddress -k (&(objectClass=inetL
ocalMailRecipient) (mailLocalAddress=%0))
mailLocalAddress is the RFC 2822-compliant e-mail address of the
recipient.
mailHost is the fully qualified host name of the MTA that is the final
SMTP destination of the message to the recipient.
mailRoutingAddress is the RFC 822 address to be used when routing
messages to the SMTP MTA of the recipient.