Files @ 277c561f3f52
Branch filter:

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

branko
MAR-28: Impelmented general and SMTP-related tests for mail_server:

- Increased amount of memory in test instances to 768MB.
- Fixed playbook for runs against client test instances.
- Fixed typos and invalid settings in test playbook.
- Switched to expanded syntax in tasks used for deploying TLS keys and
certificates in order to avoid mangling of TAB characters.
- Fixed missing permissions set-up for Postfix main configuration file.
- Fixed deployment of Postfix master.cf configuration file to take into account
configurable virtual mail user.
- Implemented tests covering SMTP functionality.
# 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=people,{{ mail_ldap_base_dn }}
scope = one
query_filter = (&(mail=%s)(memberOf=cn=mail,ou=groups,{{mail_ldap_base_dn}}))
result_attribute = mail