Browse Source

Minimal config with only mail and web and git hosting. So disable z-push backend CalDav and CardDav integration for now.

Thomas Buck 5 years ago
parent
commit
14c4c800ba
2 changed files with 36 additions and 25 deletions
  1. 16
    16
      roles/mailserver/templates/usr_share_z-push_backend_combined_config.php.j2
  2. 20
    9
      site.yml

+ 16
- 16
roles/mailserver/templates/usr_share_z-push_backend_combined_config.php.j2 View File

47
                 'i' => array(
47
                 'i' => array(
48
                     'name' => 'BackendIMAP',
48
                     'name' => 'BackendIMAP',
49
                 ),
49
                 ),
50
-                'd' => array(
51
-                    'name' => 'BackendCardDAV',
52
-                ),
53
-                'c' => array(
54
-                    'name' => 'BackendCalDAV',
55
-                ),
50
+                //'d' => array(
51
+                //    'name' => 'BackendCardDAV',
52
+                //),
53
+                //'c' => array(
54
+                //    'name' => 'BackendCalDAV',
55
+                //),
56
             ),
56
             ),
57
             'delimiter' => '/',
57
             'delimiter' => '/',
58
             //force one type of folder to one backend
58
             //force one type of folder to one backend
63
                 SYNC_FOLDER_TYPE_WASTEBASKET => 'i',
63
                 SYNC_FOLDER_TYPE_WASTEBASKET => 'i',
64
                 SYNC_FOLDER_TYPE_SENTMAIL => 'i',
64
                 SYNC_FOLDER_TYPE_SENTMAIL => 'i',
65
                 SYNC_FOLDER_TYPE_OUTBOX => 'i',
65
                 SYNC_FOLDER_TYPE_OUTBOX => 'i',
66
-                SYNC_FOLDER_TYPE_TASK => 'c',
67
-                SYNC_FOLDER_TYPE_APPOINTMENT => 'c',
68
-                SYNC_FOLDER_TYPE_CONTACT => 'd',
69
-                SYNC_FOLDER_TYPE_NOTE => 'c',
70
-                SYNC_FOLDER_TYPE_JOURNAL => 'c',
66
+                //SYNC_FOLDER_TYPE_TASK => 'c',
67
+                //SYNC_FOLDER_TYPE_APPOINTMENT => 'c',
68
+                //SYNC_FOLDER_TYPE_CONTACT => 'd',
69
+                //SYNC_FOLDER_TYPE_NOTE => 'c',
70
+                //SYNC_FOLDER_TYPE_JOURNAL => 'c',
71
                 SYNC_FOLDER_TYPE_OTHER => 'i',
71
                 SYNC_FOLDER_TYPE_OTHER => 'i',
72
                 SYNC_FOLDER_TYPE_USER_MAIL => 'i',
72
                 SYNC_FOLDER_TYPE_USER_MAIL => 'i',
73
-                SYNC_FOLDER_TYPE_USER_APPOINTMENT => 'c',
74
-                SYNC_FOLDER_TYPE_USER_CONTACT => 'd',
75
-                SYNC_FOLDER_TYPE_USER_TASK => 'c',
76
-                SYNC_FOLDER_TYPE_USER_JOURNAL => 'c',
77
-                SYNC_FOLDER_TYPE_USER_NOTE => 'c',
73
+                //SYNC_FOLDER_TYPE_USER_APPOINTMENT => 'c',
74
+                //SYNC_FOLDER_TYPE_USER_CONTACT => 'd',
75
+                //SYNC_FOLDER_TYPE_USER_TASK => 'c',
76
+                //SYNC_FOLDER_TYPE_USER_JOURNAL => 'c',
77
+                //SYNC_FOLDER_TYPE_USER_NOTE => 'c',
78
                 SYNC_FOLDER_TYPE_UNKNOWN => 'i',
78
                 SYNC_FOLDER_TYPE_UNKNOWN => 'i',
79
             ),
79
             ),
80
             //creating a new folder in the root folder should create a folder in one backend
80
             //creating a new folder in the root folder should create a folder in one backend

+ 20
- 9
site.yml View File

6
   become: True
6
   become: True
7
   gather_facts: True
7
   gather_facts: True
8
 
8
 
9
+  # This is what I'm using on my minimal web & mail server
9
   roles:
10
   roles:
10
     - common
11
     - common
11
     - blog
12
     - blog
12
     - mailserver
13
     - mailserver
13
     - webmail
14
     - webmail
14
-    - news
15
-    - nextcloud
16
     - gitea
15
     - gitea
17
-    - ircbouncer
18
-    - xmpp
19
-    - matrix
20
-    - mastodon
21
-    - iot
22
-    - vpn
23
-    - monitoring  # Monitoring role should be last. See roles/monitoring/README.md
16
+  #  - vpn
17
+    - monitoring
18
+
19
+  # These are all roles in one
20
+  #roles:
21
+  #  - common
22
+  #  - blog
23
+  #  - mailserver
24
+  #  - webmail
25
+  #  - news
26
+  #  - nextcloud
27
+  #  - gitea
28
+  #  - ircbouncer
29
+  #  - xmpp
30
+  #  - matrix
31
+  #  - mastodon
32
+  #  - iot
33
+  #  - vpn
34
+  #  - monitoring  # Monitoring role should be last. See roles/monitoring/README.md

Loading…
Cancel
Save