You will want to have something similar to this for ldap_routing. FEATURE(`ldap_routing', `ldap -1 -T<TMPF> -v mailHost -k (mailLocalAddress=%0)', `ldap -1 -T<TMPF> -v mailRoutingAddress -k (mailRoutingAddress=%0)', `bounce', `preserve')dnl
http://www.sendmail.org/m4/ldap_routing.html > # LDAP Related > FEATURE(`ldap_routing') > LDAPROUTE_DOMAIN(`panther.mydomain.com') > define(`confLDAP_DEFAULT_SPEC', `-h localhost -b ou=Users,dc=mydomain,dc=com') -- John Andrews Systems Administrator NPG Cable, Inc. (816) 273-0337 [EMAIL PROTECTED] --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html