imip-agent

Annotated conf/exim/890_exim4-config_ldap_people

158:bb9494547de1
2015-01-22 Paul Boddie Introduced a common DTSTAMP update method.
paul@144 1
LDAP_PERSON_QUERY = (&(|(mail=${quote_ldap:${local_part}}@${domain})(alias=${quote_ldap:${local_part}}@${domain}))(objectclass=inetorgperson))
paul@90 2
paul@90 3
ldap_person:
paul@95 4
  debug_print = "R: ldap_person for $local_part@$domain"
paul@90 5
  driver = accept
paul@90 6
  condition = ${if eq {}{${lookup ldap{ \
paul@90 7
    user="$ldap_service_bind_dn" \
paul@90 8
    pass=$ldap_service_password \
paul@90 9
    ldap://$ldap_host:$ldap_port/$ldap_base_dn?mail?sub?LDAP_PERSON_QUERY} \
paul@90 10
    }}{no}{yes}}
paul@90 11
  transport = people_transport
paul@90 12
  cannot_route_message = Unknown user