Files @ a5d38f30094b
Branch filter:

Location: majic-ansible-roles/roles/mail_server/templates/ldap-virtual-mailbox-domains.cf.j2

branko
MAR-132: Workarounds for wsgi_website Python virtual environment in Debian Stretch:

- Manually install setuptools in Python virtual environment on Debian
Stretch, otherwise the pkg-resources==0.0.0 package will mess with
pip freeze etc.
- Add back installation of futures package, even on Python 3 (since it
does not cause any harm).
- A small cleanup of how requirements are treated will be done in
separate ticket.
# Connection settings.
server_host = {{ mail_ldap_url }}
start_tls = yes
tls_require_cert = yes
tls_ca_cert_file = /etc/ssl/certs/mail_ldap_tls_truststore.pem
bind = yes
bind_dn = cn=postfix,ou=services,{{ mail_ldap_base_dn }}
bind_pw = {{ mail_ldap_postfix_password }}
version = 3

# Query settings.
search_base = ou=domains,ou=mail,ou=services,{{ mail_ldap_base_dn }}
scope = one
query_filter = dc=%s
result_attribute = dc