# HG changeset patch # User Paul Boddie # Date 1446155735 -3600 # Node ID c332f87f8a173f258b926ad39e9897737cc16ba3 # Parent 5ffd38e7b5fd123aa842c6c6dca970aef20753c9 Fixed the prefix, removed inapplicable options, formatted the LDAP query. diff -r 5ffd38e7b5fd -r c332f87f8a17 conf/exim/ldap/020_exim4-config_ldap_people_outgoing_recipients --- a/conf/exim/ldap/020_exim4-config_ldap_people_outgoing_recipients Thu Oct 29 22:54:12 2015 +0100 +++ b/conf/exim/ldap/020_exim4-config_ldap_people_outgoing_recipients Thu Oct 29 22:55:35 2015 +0100 @@ -1,15 +1,14 @@ -PEOPLE_OUTGOING = ${strlen:people-outgoing:} +PEOPLE_OUTGOING = ${strlen:people-outgoing+} -LDAP_PERSON_OUTGOING_RECIPIENT_QUERY = (&(|(mail=${quote_ldap:${substr{PEOPLE_OUTGOING}{${local_part}}}@${domain})(alias=${quote_ldap:${substr{PEOPLE_OUTGOING}{${local_part}}}@${domain}))(objectclass=inetorgperson)) +LDAP_PERSON_OUTGOING_RECIPIENT_QUERY = (&(|(mail=${quote_ldap:${substr{PEOPLE_OUTGOING}{${local_part}}}@${domain}})\ + (alias=${quote_ldap:${substr{PEOPLE_OUTGOING}{${local_part}}}@${domain}}))\ + (objectclass=inetorgperson)) ldap_person_outgoing_recipient: debug_print = "R: ldap_person_outgoing_recipient for $local_part@$domain" driver = accept - unseen - no_expn - no_verify condition = ${if and { \ - {eq {people-outgoing:}{${substr{0}{PEOPLE_OUTGOING}{${local_part}}}}} \ + {eq {people-outgoing+}{${substr{0}{PEOPLE_OUTGOING}{${local_part}}}}} \ {!eq {}{${lookup ldap{ \ user="LDAP_SERVICE_BIND_DN" \ pass=LDAP_SERVICE_PASSWORD \