Files @ 9fa438ee34c0
Branch filter:

Location: majic-ansible-roles/testsite/group_vars/mail.yml

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.
---

ldap_client_config:
  - comment: Set the base DN
    option: BASE
    value: dc=example,dc=com
  - comment: Set the default URI
    option: URI
    value: ldap://ldap.example.com/
  - comment: Set the LDAP TLS truststore
    option: TLS_CACERT
    value: /etc/ssl/certs/example_ca_chain.pem

mail_ldap_url: ldap://ldap.example.com/
mail_ldap_tls_truststore: /etc/ssl/certs/example_ca_chain.pem
mail_ldap_root_dn: dc=example,dc=com
mail_ldap_postfix_password: postfix
mail_ldap_dovecot_password: dovecot

mail_user: vmail
mail_user_uid: 5000
mail_user_gid: 5000

imap_tls_certificate: "{{ inventory_dir }}/tls/mail.example.com_imap.pem"
imap_tls_key: "{{ inventory_dir }}/tls/mail.example.com_imap.key"
smtp_tls_certificate: "{{ inventory_dir }}/tls/mail.example.com_smtp.pem"
smtp_tls_key: "{{ inventory_dir }}/tls/mail.example.com_smtp.key"
imap_folder_separator: /
smtp_rbl:
  - bl.spamcop.net
  - zen.spamhaus.org

mail_postmaster: postmaster@example.com

smtp_allow_relay_from:
  - ldap.example.com
  - xmpp.example.com
  - web.example.com