imip-agent

Annotated conf/exim/010_exim4-config_people_outgoing

462:287659e8dc82
2015-03-31 Paul Boddie Added a values_from_items function and tidied up naming.
paul@144 1
LDAP_PERSON_OUTGOING_QUERY = (&(|(mail=${quote_ldap:${sender_address_local_part}}@${sender_address_domain})(alias=${quote_ldap:${sender_address_local_part}}@${sender_address_domain}))(objectclass=inetorgperson))
paul@96 2
paul@96 3
people_outgoing:
paul@96 4
  debug_print = "R: person_outgoing for $sender_address_local_part@$sender_address_domain"
paul@96 5
  driver = accept
paul@96 6
  unseen
paul@96 7
  no_expn
paul@96 8
  no_verify
paul@96 9
  condition = ${if eq {}{${lookup ldap{ \
paul@96 10
    user="$ldap_service_bind_dn" \
paul@96 11
    pass=$ldap_service_password \
paul@96 12
    ldap://$ldap_host:$ldap_port/$ldap_base_dn?mail?sub?LDAP_PERSON_OUTGOING_QUERY} \
paul@96 13
    }}{no}{yes}}
paul@96 14
  transport = people_outgoing_transport