1 | ############################################################## |
---|
2 | # ARCHIVER SETTINGS |
---|
3 | |
---|
4 | # Server Unix socket location |
---|
5 | #server_socket = file:///var/run/kopano/server.sock |
---|
6 | |
---|
7 | # Disable archiving momentarily by setting this to 'no' |
---|
8 | archive_enable = yes |
---|
9 | |
---|
10 | # Archive messages older than N days |
---|
11 | archive_after = 30 |
---|
12 | |
---|
13 | # Stubbing messages requires a multi-server environment |
---|
14 | stub_enable = no |
---|
15 | |
---|
16 | # Unread messages can be skipped in the stubbing process |
---|
17 | stub_unread = no |
---|
18 | |
---|
19 | # Only stub messages after N days, 0 for the same as archive_after |
---|
20 | stub_after = 0 |
---|
21 | |
---|
22 | # Delete archives messages from the original server. Only archived messages can be deleted. |
---|
23 | delete_enable = no |
---|
24 | |
---|
25 | # Also delete unread messages from the original server |
---|
26 | delete_unread = no |
---|
27 | |
---|
28 | # Only delete messages after N days, 0 for the same as archive_after |
---|
29 | delete_after = 0 |
---|
30 | |
---|
31 | # Purge messages from the archive server(s). |
---|
32 | purge_enable = no |
---|
33 | |
---|
34 | # Only purge messages after N days, 0 for the same as archive_after |
---|
35 | # Default: 2555 (7 years) |
---|
36 | purge_after = 2555 |
---|
37 | |
---|
38 | # Specify what action should be taken on archive messages whose primary message |
---|
39 | # has been deleted. The normal options are 'store' and 'delete', meaning store the |
---|
40 | # archived message in a special 'Deleted' folder or delete the archived messages |
---|
41 | # respectively. A third option 'none' skips the entire cleanup_action, and therefore |
---|
42 | # effectively turns off archiver cleanup, leaving archived messages as they are. |
---|
43 | # Default: store |
---|
44 | cleanup_action = store |
---|
45 | |
---|
46 | # Specify if items that are cleaned up from the archive are at least the age |
---|
47 | # that is specified in the purge_after setting. This is to avoid messages |
---|
48 | # being deleted from the archive when they where deleted from the primary |
---|
49 | # store by a delete operation. |
---|
50 | # Note that setting to yes, will cause a cleanup run to seemingly do nothing. |
---|
51 | # A rule of thumb is to set this to the same value as delete_enable. So when |
---|
52 | # delete_enable is set to yes, make sure cleanup_follow_purge_after is also |
---|
53 | # set to yes. |
---|
54 | # Default: no |
---|
55 | cleanup_follow_purge_after = no |
---|
56 | |
---|
57 | # Specify whether on each archive run an auto-attach run is performed in order |
---|
58 | # to match the attached archives to the requested state as specified in LDAP or |
---|
59 | # ADS. |
---|
60 | # Default: no |
---|
61 | enable_auto_attach = no |
---|
62 | |
---|
63 | # Specify whether an auto attached archive will be granted write permissions |
---|
64 | # for the user it's attached to. |
---|
65 | # Default: yes |
---|
66 | auto_attach_writable = yes |
---|
67 | |
---|
68 | ############################################################## |
---|
69 | # ARCHIVER LOG SETTINGS |
---|
70 | |
---|
71 | # Logging method (syslog, file) |
---|
72 | log_method = file |
---|
73 | |
---|
74 | # Loglevel (0(none), 1(crit), 2(err), 3(warn), 4(notice), 5(info), 6(debug)) |
---|
75 | #log_level = 3 |
---|
76 | |
---|
77 | # Logfile for log_method = file, use '-' for stderr |
---|
78 | log_file = /var/log/kopano/archiver.log |
---|
79 | |
---|
80 | # Log timestamp - prefix each log line with timestamp in 'file' logging mode |
---|
81 | log_timestamp = 1 |
---|
82 | |
---|
83 | # Buffer logging in what sized blocks. 0 for line-buffered (syslog-style). |
---|
84 | #log_buffer_size = 0 |
---|
85 | |
---|
86 | ############################################################## |
---|
87 | # ARCHIVER SSL LOGIN SETTINGS |
---|
88 | # |
---|
89 | # Note: server_socket must be set to https://servername:portname/ |
---|
90 | # to use this type of login method |
---|
91 | |
---|
92 | # Login to the storage server using this SSL Key |
---|
93 | #sslkey_file = /etc/kopano/ssl/archiver.pem |
---|
94 | |
---|
95 | # The password of the SSL Key |
---|
96 | #sslkey_pass = replace-with-archiver-cert-password |
---|
97 | |
---|
98 | ############################################################## |
---|
99 | # ARCHIVER INSTANCE PROTECTION SETTINGS |
---|
100 | |
---|
101 | # Control pid file |
---|
102 | # Default: /var/run/kopano/archiver.pid |
---|
103 | #pid_file = /var/run/kopano/archiver.pid |
---|
104 | |
---|
105 | ############################################################## |
---|
106 | # ARCHIVER MYSQL SETTINGS |
---|
107 | |
---|
108 | # MySQL hostname to connect to for database access |
---|
109 | mysql_host = localhost |
---|
110 | |
---|
111 | # MySQL port to connect with (usually 3306) |
---|
112 | mysql_port = 3306 |
---|
113 | |
---|
114 | # The user under which we connect with MySQL |
---|
115 | mysql_user = root |
---|
116 | |
---|
117 | # The password for the user (leave empty for no password) |
---|
118 | mysql_password = |
---|
119 | |
---|
120 | # Override the default MySQL socket to access mysql locally |
---|
121 | # Works only if the mysql_host value is empty or 'localhost' |
---|
122 | mysql_socket = |
---|
123 | |
---|
124 | # Database to connect to |
---|
125 | mysql_database = kopano_archiver |
---|