Sin descripción
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.yml 1.2KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # must match values in roles/common
  2. db_admin_username: 'postgres'
  3. db_admin_password: "{{ lookup('password', secret + '/' + 'db_admin_password length=32') }}"
  4. mail_db_username: 'mailuser'
  5. mail_db_password: "{{ lookup('password', secret + '/' + 'mail_db_password length=32') }}"
  6. mail_db_database: 'mailserver'
  7. mail_server_subdomain: "mail"
  8. mail_server_hostname: "{{ mail_server_subdomain }}.{{ domain }}"
  9. mail_server_autoconfig_hostname: "autoconfig.{{ domain }}"
  10. mail_header_privacy: 1
  11. friendly_networks:
  12. - ""
  13. virtual_domains:
  14. - name: "{{ domain }}"
  15. doc_root: "/var/www/{{ domain }}"
  16. mail_virtual_users:
  17. - account: "{{ main_user_name }}"
  18. domain: "{{ domain }}"
  19. password: "{{ lookup('password', secret + '/' + 'mail_main_user_password length=20') | doveadm_pw_hash }}"
  20. sendonly: 0
  21. mail_virtual_aliases:
  22. - source: "root@{{ domain }}"
  23. destination: "{{ admin_email }}"
  24. - source: "postmaster@{{ domain }}"
  25. destination: "{{ admin_email }}"
  26. - source: "webmaster@{{ domain }}"
  27. destination: "{{ admin_email }}"
  28. - source: "abuse@{{ domain }}"
  29. destination: "{{ admin_email }}"
  30. zpush_timezone: "{{ common_timezone | default('Etc/UTC') }}"