imip-agent

conf/exim/ldap/020_exim4-config_ldap_people

1354:102a5f873a8b
2017-10-20 Paul Boddie Made a function that obtains all period instances for a recurrence rule.
     1 LDAP_PERSON_QUERY = (&(|(mail=${quote_ldap:${local_part}@${domain}})\     2                         (alias=${quote_ldap:${local_part}@${domain}}))\     3                       (objectclass=inetorgperson))     4      5 ldap_person:     6   debug_print = "R: ldap_person for $local_part@$domain"     7   driver = accept     8   condition = ${if eq {}{${lookup ldap{ \     9     user="$LDAP_SERVICE_BIND_DN" \    10     pass=$LDAP_SERVICE_PASSWORD \    11     $LDAP_SCHEME://$LDAP_HOST:$LDAP_PORT/$LDAP_BASE_DN?mail?sub?LDAP_PERSON_QUERY} \    12     }}{no}{yes}}    13   transport = people_transport    14   cannot_route_message = Unknown user