Hi,
>
> I'm hoping for some help in getting this right
>
These are the settings I tried which worked well
ldap_default_servers = 10.1.1.1::3268 :: 10.1.1.3::3268
LDAP_AD_BINDDN =
"CN=ldapuser,CN=Users,DC=twi,DC=co,DC=uk"
LDAP_AD_PASS = "Password"
LDAP_AD_BASE_DN = DC=twi,DC=co,DC=uk
LDAP_AD_MAIL_RCPT = user=LDAP_AD_BINDDN pass=LDAP_AD_PASS
\
ldap:///LDAP_AD_BASE_DN?mail?sub?\
(&(|(objectClass=user)(objectClass=publicFolder)(objectClass=group))(pro
xyAddresses=SMTP:${quote_ldap:${local_part}@${domain}}))
Then inside my router config I had
in_twidomains_ldap_lookup:
driver = redirect
domains = +twi_domains
allow_fail
allow_defer
forbid_file
forbid_pipe
redirect_router = in_twidomains
data = ${lookup ldap {LDAP_AD_MAIL_RCPT}\
{${local_part}@${domain}}{:fail: User
unknown}}
> ldap_parse_result yielded 34: Invalid DN syntax
> lookup failure forced
> LDAP search failed - error 34: Invalid DN syntax/0000208F: LdapErr:
> DSID-0C090654, comment: Error processing name, data 0, vece
>
>
> this might be helpful from the debug, i can send the whole debug info
if
> needed
>
> perform_ldap_search: ldap URL =
>
"ldap:///"dc=mfe,dc=ca"?mail?sub?(&(|(objectClass=user)(objectClass=publ
ic
>
Folder)(objectClass=group))(proxyAddresses=SMTP:dmacpherson%40mainframe.
ca
> ))" server=172.16.132.71 port=0 sizelimit=0 timelimit=0 tcplimit=0
>
>
I have since changed and I'm using recipient verification.
Gareth