imip-agent

Annotated conf/exim/ldap/020_exim4-config_ldap_people_outgoing_recipients

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_PERSON_OUTGOING_RECIPIENT_QUERY = (&(|(mail=${quote_ldap:${local_part}}@${domain})\
paul@976 2
                                           (alias=${quote_ldap:${local_part}}@${domain}))\
paul@965 3
                                         (objectclass=inetorgperson))
paul@899 4
paul@899 5
ldap_person_outgoing_recipient:
paul@899 6
  debug_print = "R: ldap_person_outgoing_recipient for $local_part@$domain"
paul@899 7
  driver = accept
paul@976 8
  local_part_prefix = people-outgoing+
paul@976 9
  condition = ${if !eq {} \
paul@976 10
    {${lookup ldap{ \
paul@1109 11
      user="$LDAP_SERVICE_BIND_DN" \
paul@1109 12
      pass=$LDAP_SERVICE_PASSWORD \
paul@1109 13
      $LDAP_SCHEME://$LDAP_HOST:$LDAP_PORT/$LDAP_BASE_DN?mail?sub?LDAP_PERSON_OUTGOING_RECIPIENT_QUERY}}} \
paul@976 14
    }
paul@899 15
  transport = people_outgoing_transport