ansible-role-mailserver/defaults/main.yml

44 lines
1.8 KiB
YAML

---
mailserver_mail_domain: "sum7.eu"
mailserver_mail_hostdomain: "mail.{{mailserver_mail_domain}}"
mailserver_mx_domain: "{{ inventory_hostname }}"
mailserver_cert_domains: "{{ mailserver_mx_domain }} {{ mailserver_mail_hostdomain }}"
mailserver_dovecot_enabled: true # would not install postfixadmn either
mailserver_db_type: "pgsql"
mailserver_db_host: "localhost"
mailserver_db_name: "mailserver"
mailserver_db_user: "mailserver"
mailserver_db_password: "{{ lookup('password', 'credentials/' + inventory_hostname + '/mailserver/db_password length=15') }}"
#mailserver_postfixadmin_setup_password: "" # after postfixadmin-setup
mailserver_postfixadmin_domain: ""
mailserver_postfixadmin_mail_admin: "admin@{{ mailserver_mail_domain }}"
mailserver_postfixadmin_setup: ""
mailserver_postfixadmin_default_aliases:
abuse: "abuse@{{ mailserver_mail_domain }}"
hostmaster: "hostmaster@{{ mailserver_mail_domain }}"
postmaster: "postmaster@{{ mailserver_mail_domain }}"
webmaster: "webmaster@{{ mailserver_mail_domain }}"
mailserver_rspamd_enabled: true
mailserver_rspamd_domain: ""
#mailserver_rspamd_webui_password: "" # run `rspamadm pw` for it
mailserver_rspamd_dkim_selector: "2020"
mailserver_mailman_enabled: true
mailserver_mailman_web: true
mailserver_mailman_domains:
- mail: "lists.{{ mailserver_mail_domain }}"
web: "lists.{{ mailserver_mail_domain }}"
mailserver_roundcubemail_enabled: true
mailserver_roundcubemail_domain: ""
mailserver_roundcubemail_enabled_installer: false
mailserver_roundcubemail_db_type: "pgsql"
mailserver_roundcubemail_db_host: "localhost"
mailserver_roundcubemail_db_name: "roundcubemail"
mailserver_roundcubemail_db_user: "roundcubemail"
mailserver_roundcubemail_db_password: "{{ lookup('password', 'credentials/' + inventory_hostname + '/mailserver/roundcubemail_db_password length=15') }}"