1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00
ansible_playbook_servers/roles/mailserver_preperation/defaults/main.yml

42 lines
1.1 KiB
YAML
Raw Normal View History

2021-01-02 21:24:29 +01:00
---
2021-01-09 04:28:13 +01:00
# which is the reverse dns and dns name of this mail server
mailserver_domain: "{{ ansible_fqdn }}"
# configure proper dns resolution
2021-01-02 21:24:29 +01:00
set_additional_nameserver: true
additional_v4nameserver: '46.182.19.48'
additional_v6nameserver: '2a02:2970:1002::18'
2021-01-03 01:01:18 +01:00
2021-01-09 04:28:13 +01:00
# add additional entrys do your local /etc/hosts for the localhost entry
additional_dns_maildomains: "{{ mailserver_domain }}"
# mailser settings
mailserver__user: 'vmail'
mailserver__group: 'vmail'
mailserver__home: '/var/vmail'
mailserver__shell: '/bin/false'
mailserver__domains: []
# - fqdn: example.com
mailserver__accounts: []
# - username: 'alice'
# domain: 'example.com'
# password_hash: # generate with $(doveadm pw -s SHA512-CRYPT)
# # or $ python -c 'import crypt,getpass; print(crypt.crypt(getpass.getpass(), crypt.mksalt(crypt.METHOD_SHA512)))'
# quota: '0'
# enabled: true
# sendonly: false
mailserver__alias:
# - src_username: 'bob' # null for catchall
# src_domain: 'example.com'
# dest_username: 'alice'
# dest_domain: 'example.com'
# enabled: true
# should we enable basic versionscheck (true is recomended)
submodules_versioncheck: false