1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/conf/exim/890_exim4-config_ldap_resources Tue Oct 28 23:09:03 2014 +0100
1.3 @@ -0,0 +1,12 @@
1.4 +LDAP_RESOURCE_QUERY = (&(|(mail=${quote_ldap:${local_part}}@${domain})(alias=${quote_ldap:${local_part}}@${domain}))(kolabFolderType=event))
1.5 +
1.6 +ldap_resource:
1.7 + debug_print = "R: ldap_user for $local_part@$domain"
1.8 + driver = accept
1.9 + condition = ${if eq {}{${lookup ldap{ \
1.10 + user="$ldap_service_bind_dn" \
1.11 + pass=$ldap_service_password \
1.12 + ldap://$ldap_host:$ldap_port/$ldap_base_dn?kolabtargetfolder?sub?LDAP_RESOURCE_QUERY} \
1.13 + }}{no}{yes}}
1.14 + transport = resources_transport
1.15 + cannot_route_message = Unknown user