imip-agent

Annotated conf/exim/ldap/020_exim4-config_ldap_people_local_system

1153:967f8a54ef75
2016-04-22 Paul Boddie Allow scheduling methods to return result descriptions for inclusion in message parts. Improved the showmail tool to handle the multipart messages now produced by resource-scheduling operations. Fixed various aspects of the tests.
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