Internet Services Delta Manual for HP-UX 11i Version 1.6

IMPORTANT: 'Virtual Hosting' feature provides better support for ISPs that offer queueing
services to dial-up customers as queue-runs no longer wait for the dial-up server connection
attempts to time out.
LDAP-based Routing
This feature can be used to implement the LDAP-based re-routing. This provides a method to re-route
addresses with a domain portion in class {LDAPRoute} to either a different mail host or a different
address. The domains can be added to the class {LDAPRoute} as given in the examples below.
Ensure that you set up a domain for LDAP routing. Assume that your domain is "yyy.com". Add
the following line in the sendmail.cf file:
C{LDAPRoute}yyy.com
or
F{LDAPRoute}/etc/mail/ldap-domain-file
where /etc/mail/ldap-domain-file contains the domains.
The LDAPDefaultSpec option in the sendmail.cf file sets the default LDAP map specification. This
needs to be set before defining LDAP maps. The settings will be used for all LDAP maps unless they
are specified in the individual map specification ('K' command). By default, it appears in sendmail.cf
file as follows:
O LDAPDefaultSpec=-h localhost
localhost can be replaced by your LDAP server name.
The following are the switches commonly used by most applications:
'-b' - ldap search base
"Directory" in ldap "tree" where the search begins. For example,
-b "o=hp.com"
'-d' - bindDN
The BindDN parameter is 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 which 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 a 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 will be the rfc822 email
address. For example,
-v mailroutingaddress
The ldap maps are defined in the configuration file as:
12 Sendmail 8.11.1