imip-agent

Annotated conf/exim/ldap/020_exim4-config_ldap_people

1094:863601b6e11a
2016-04-01 Paul Boddie Added database store prerequisites. freebusy-collections
paul@964 1
LDAP_PERSON_QUERY = (&(|(mail=${quote_ldap:${local_part}@${domain}})\
paul@964 2
                        (alias=${quote_ldap:${local_part}@${domain}}))\
paul@964 3
                      (objectclass=inetorgperson))
paul@90 4
paul@90 5
ldap_person:
paul@95 6
  debug_print = "R: ldap_person for $local_part@$domain"
paul@90 7
  driver = accept
paul@90 8
  condition = ${if eq {}{${lookup ldap{ \
paul@950 9
    user="LDAP_SERVICE_BIND_DN" \
paul@950 10
    pass=LDAP_SERVICE_PASSWORD \
paul@950 11
    ldap://LDAP_HOST:LDAP_PORT/LDAP_BASE_DN?mail?sub?LDAP_PERSON_QUERY} \
paul@90 12
    }}{no}{yes}}
paul@90 13
  transport = people_transport
paul@90 14
  cannot_route_message = Unknown user