|
Prev: How to set client not to use IPv6?
Next: Queue retry backoff (was Re: MailWise's 'Sender Authentication Layer')
From: henders254 on 7 May 2008 00:19 I am trying to query AD and sendmail is not giving me the address back. Here's the relevant part of my sendmail.cf LDAPDefaultSpec=-h"ad1.domain.tld" Kstaff ldap -1 -T<TMPF> -b "ou=staff,dc=ad1,dc=domain,dc=tld" -v mail -k (proxyAddresses=SMTP:%0) I am testing from the sendmail -bt mode. I guess I am doing something wrong in my rule. Any help on this would be much appreciated. Thanks.
From: Erich Titl on 7 May 2008 06:59
henders254(a)gmail.com wrote: > I am trying to query AD and sendmail is not giving me the address > back. Here's the relevant part of my sendmail.cf > > LDAPDefaultSpec=-h"ad1.domain.tld" > Kstaff ldap -1 -T<TMPF> -b "ou=staff,dc=ad1,dc=domain,dc=tld" -v > mail -k (proxyAddresses=SMTP:%0) > > I am testing from the sendmail -bt mode. Please post the entries from your .mc file. These are my entries dnl dnl LDAP Configuration dnl define(`confLDAP_DEFAULT_SPEC', `-h "srvd-dc01-shl.foo.bar" -b "DC=FOO,DC=BAR" -d "CN=query,OU=ressourcen,DC=FOO,DC=BAR" -MLDAP_AUTH_SIMPLE -P/etc/mail/ldap_pass')dnl LDAPROUTE_DOMAIN_FILE(`/etc/mail/ldap_route_domains')dnl FEATURE(`ldap_routing', `null', `ldap -1 -T<TMPF> -v mail -k (&(|(objectclass=user)(objectclass=group))(proxyAddresses=smtp:%0))', `bounce')dnl cheers Erich |