ansible-role-mailserver/defaults/main.yml

34 lines
1.3 KiB
YAML

---
mailserver_mail_domain: "sum7.eu"
mailserver_mx_domain: "{{ inventory_hostname }}"
mailserver_cert_domains: "{{ mailserver_mx_domain }} mail.{{ mailserver_mail_domain }}"
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 }}"