Files @ 298c0dbe1698
Branch filter:

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

branko
MAR-4: Updated documentation for the mail server role, adding information about rsync installation, set-up of chroot for Postfix, and the smtp_allow_relay_from option. Updated mail_server role implementation, fixing rsync command for deploying the truststore to preserve truststore permissions and adding support for specifying networks from which unauthenticated relaying should be allowed.
---

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/truststore.pem

mail_ldap_url: ldap://ldap.example.com/
mail_ldap_tls_truststore: /etc/ssl/certs/truststore.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: /etc/ssl/certs/mail.example.com_imap.pem
imap_tls_key: /etc/ssl/private/mail.example.com_imap.pem
smtp_tls_certificate: /etc/ssl/certs/mail.example.com_smtp.pem
smtp_tls_key: /etc/ssl/private/mail.example.com_smtp.pem
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