imip-agent

Annotated conf/exim/ldap/890_exim4-config_dovecot_lmtp_local_lmtp

1132:ec9fe77d9b9b
2016-04-19 Paul Boddie Merged changes from the default branch. freebusy-collections
paul@976 1
LDAP_LOCAL_LMTP_QUERY = (&(|(mail=${quote_ldap:${local_part}@${domain}})\
paul@976 2
                            (alias=${quote_ldap:${local_part}@${domain}}))\
paul@976 3
                          (objectclass=inetorgperson))
paul@976 4
paul@976 5
dovecot_lmtp_local_lmtp:
paul@976 6
  debug_print = "R: dovecot_lmtp_local_lmtp for $local_part@$domain"
paul@976 7
  driver = accept
paul@976 8
  local_part_prefix = local+
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_LOCAL_LMTP_QUERY}}} \
paul@976 14
    }
paul@976 15
  transport = dovecot_lmtp
paul@976 16
  cannot_route_message = Unknown user