With all users in the ldap database, you must tell sendmail to use this database to find users for receiving mail. To do this, add the following lines to /etc/mail/sendmail.mc, generate a new cf file (make sendmail.cf) and restart sendmail.


dnl ### Ldap
define(`confLDAP_DEFAULT_SPEC’,`-h servername.uchicago.edu -b dc=servername,dc=uchicago,dc=edu’)dnl
LDAPROUTE_DOMAIN(‘servername.uchicago.edu’)dnl
FEATURE(`ldap_routing’)dnl