|
@@ -17,8 +17,29 @@ mail_header_privacy: 1
|
17
|
17
|
friendly_networks:
|
18
|
18
|
- ""
|
19
|
19
|
|
20
|
|
-virtual_domains: []
|
21
|
|
-mail_virtual_users: []
|
22
|
|
-mail_virtual_aliases: []
|
|
20
|
+virtual_domains:
|
|
21
|
+ - name: "{{ domain }}"
|
|
22
|
+ pk_id: 1
|
|
23
|
+ doc_root: "/var/www/{{ domain }}"
|
|
24
|
+
|
|
25
|
+mail_virtual_users:
|
|
26
|
+ - account: "{{ main_user_name }}"
|
|
27
|
+ domain: "{{ domain }}"
|
|
28
|
+ password: "{{ lookup('password', secret + '/' + 'mail_main_user_password length=20') | doveadm_pw_hash }}"
|
|
29
|
+ domain_pk_id: 1
|
|
30
|
+
|
|
31
|
+mail_virtual_aliases:
|
|
32
|
+ - source: "root@{{ domain }}"
|
|
33
|
+ destination: "{{ admin_email }}"
|
|
34
|
+ domain_pk_id: 1
|
|
35
|
+ - source: "postmaster@{{ domain }}"
|
|
36
|
+ destination: "{{ admin_email }}"
|
|
37
|
+ domain_pk_id: 1
|
|
38
|
+ - source: "webmaster@{{ domain }}"
|
|
39
|
+ destination: "{{ admin_email }}"
|
|
40
|
+ domain_pk_id: 1
|
|
41
|
+ - source: "abuse@{{ domain }}"
|
|
42
|
+ destination: "{{ admin_email }}"
|
|
43
|
+ domain_pk_id: 1
|
23
|
44
|
|
24
|
45
|
zpush_timezone: "{{ common_timezone | default('Etc/UTC') }}"
|