imip-agent

Changeset

965:c332f87f8a17
2015-10-29 Paul Boddie raw files shortlog changelog graph Fixed the prefix, removed inapplicable options, formatted the LDAP query.
conf/exim/ldap/020_exim4-config_ldap_people_outgoing_recipients (file)
     1.1 --- a/conf/exim/ldap/020_exim4-config_ldap_people_outgoing_recipients	Thu Oct 29 22:54:12 2015 +0100
     1.2 +++ b/conf/exim/ldap/020_exim4-config_ldap_people_outgoing_recipients	Thu Oct 29 22:55:35 2015 +0100
     1.3 @@ -1,15 +1,14 @@
     1.4 -PEOPLE_OUTGOING = ${strlen:people-outgoing:}
     1.5 +PEOPLE_OUTGOING = ${strlen:people-outgoing+}
     1.6  
     1.7 -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))
     1.8 +LDAP_PERSON_OUTGOING_RECIPIENT_QUERY = (&(|(mail=${quote_ldap:${substr{PEOPLE_OUTGOING}{${local_part}}}@${domain}})\
     1.9 +                                           (alias=${quote_ldap:${substr{PEOPLE_OUTGOING}{${local_part}}}@${domain}}))\
    1.10 +                                         (objectclass=inetorgperson))
    1.11  
    1.12  ldap_person_outgoing_recipient:
    1.13    debug_print = "R: ldap_person_outgoing_recipient for $local_part@$domain"
    1.14    driver = accept
    1.15 -  unseen
    1.16 -  no_expn
    1.17 -  no_verify
    1.18    condition = ${if and { \
    1.19 -    {eq {people-outgoing:}{${substr{0}{PEOPLE_OUTGOING}{${local_part}}}}} \
    1.20 +    {eq {people-outgoing+}{${substr{0}{PEOPLE_OUTGOING}{${local_part}}}}} \
    1.21      {!eq {}{${lookup ldap{ \
    1.22        user="LDAP_SERVICE_BIND_DN" \
    1.23        pass=LDAP_SERVICE_PASSWORD \