No Description
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.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. - account: "noreply"
  22. domain: "{{ domain }}"
  23. password: "{{ lookup('password', secret + '/' + 'mail_noreply_password length=20 chars=ascii_lowercase,ascii_uppercase,digits') | doveadm_pw_hash }}"
  24. sendonly: 1
  25. mail_virtual_aliases:
  26. - source: "root@{{ domain }}"
  27. destination: "{{ admin_email }}"
  28. - source: "postmaster@{{ domain }}"
  29. destination: "{{ admin_email }}"
  30. - source: "webmaster@{{ domain }}"
  31. destination: "{{ admin_email }}"
  32. - source: "abuse@{{ domain }}"
  33. destination: "{{ admin_email }}"
  34. zpush_timezone: "{{ common_timezone | default('Etc/UTC') }}"