Files @ 9fa438ee34c0
Branch filter:

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

branko
MAR-5: Added another example to role reference for running PHP websites. Allow duplicates of roles php_website and wsgi_website. Use parameter in handler for restarting WSGI website (to have them website-specific). Updated test site to force handler execution in order to avoid being in undefined state.
# Connection settings.
server_host = {{ mail_ldap_url }}
start_tls = yes
tls_require_cert = yes
tls_ca_cert_file = {{ mail_ldap_tls_truststore }}
bind = yes
bind_dn = cn=postfix,ou=services,{{ mail_ldap_root_dn }}
bind_pw = {{ mail_ldap_postfix_password }}
version = 3

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