imip-agent

Annotated conf/exim/ldap/020_exim4-config_ldap_people_local_system

1439:02d8d279f84a
2018-01-16 Paul Boddie Parameterised user interface commands and values, employing a function to help generate suitable help text strings. client-editing-simplification
paul@976 1
LDAP_LOCAL_PERSON_SYSTEM_QUERY = (&(|(mail=${quote_ldap:${local_part}}@${domain})\
paul@976 2
                              (alias=${quote_ldap:${local_part}}@${domain}))\
paul@967 3
                            (&(objectclass=posixAccount)(objectclass=inetorgperson)))
paul@967 4
paul@976 5
ldap_local_person_system:
paul@976 6
  debug_print = "R: ldap_local_person_system for $local_part@$domain"
paul@967 7
  driver = redirect
paul@976 8
  local_part_prefix = local+
paul@967 9
  data = ${lookup ldap{ \
paul@1109 10
    user="$LDAP_SERVICE_BIND_DN" \
paul@1109 11
    pass=$LDAP_SERVICE_PASSWORD \
paul@1109 12
    $LDAP_SCHEME://$LDAP_HOST:$LDAP_PORT/$LDAP_BASE_DN?uid?sub?LDAP_LOCAL_PERSON_SYSTEM_QUERY} \
paul@967 13
    }
paul@967 14
  cannot_route_message = Unknown user