1 | ############################################################## |
---|
2 | # SERVER SETTINGS |
---|
3 | |
---|
4 | # IP Address to bind to (empty for ANY) |
---|
5 | # Set to ::1 or 127.0.0.1 if connections should only come from localhost |
---|
6 | # and through the webserver proxy |
---|
7 | #server_bind = |
---|
8 | |
---|
9 | # Accept normal TCP connections (not recommended to disable) |
---|
10 | server_tcp_enabled = yes |
---|
11 | |
---|
12 | # Port to bind to |
---|
13 | server_tcp_port = 236 |
---|
14 | |
---|
15 | # Accept Unix pipe connections (not recommended to disable) |
---|
16 | server_pipe_enabled = yes |
---|
17 | |
---|
18 | # Unix socket location |
---|
19 | server_pipe_name = /var/run/kopano/server.sock |
---|
20 | |
---|
21 | # Priority Unix socket location |
---|
22 | server_pipe_priority = /var/run/kopano/prio.sock |
---|
23 | |
---|
24 | # Name for identifying the server in a multi-server environment |
---|
25 | server_name = Kopano |
---|
26 | |
---|
27 | # Override the hostname of this server, used by Kerberos SSO if enabled |
---|
28 | server_hostname = |
---|
29 | |
---|
30 | # Database engine (mysql) |
---|
31 | database_engine = mysql |
---|
32 | |
---|
33 | # Allow connections from normal users through the Unix socket |
---|
34 | allow_local_users = yes |
---|
35 | |
---|
36 | # local admin users who can connect to any store (use this for the kopano-dagent) |
---|
37 | # field is SPACE separated |
---|
38 | # eg: local_admin_users = root vmail |
---|
39 | #local_admin_users = root kopano |
---|
40 | local_admin_users = root alias |
---|
41 | |
---|
42 | # The user has full rights on a folder by default, uncomment the following line to disable this. |
---|
43 | # owner_auto_full_access = false |
---|
44 | owner_auto_full_access = true |
---|
45 | |
---|
46 | # e-mail address of the Kopano System user |
---|
47 | system_email_address = postmaster@localhost |
---|
48 | |
---|
49 | # drop privileges and run the process as this user |
---|
50 | #run_as_user = kopano |
---|
51 | |
---|
52 | # drop privileges and run the process as this group |
---|
53 | #run_as_group = kopano |
---|
54 | |
---|
55 | # create a pid file for stopping the service via the init.d scripts |
---|
56 | #pid_file = /var/run/kopano/server.pid |
---|
57 | |
---|
58 | # run server in this path (when not using the -F switch) |
---|
59 | #running_path = /var/lib/kopano |
---|
60 | |
---|
61 | # Use given allocator library. Values like libtcmalloc.so.4, |
---|
62 | # libtcmalloc_minimal.so.4 and libjemalloc.so.2 would work. |
---|
63 | #allocator_library = default |
---|
64 | |
---|
65 | # create memory coredumps upon crash [no, systemdefault, yes] |
---|
66 | #coredump_enabled = systemdefault |
---|
67 | |
---|
68 | # session timeout for clients. Values lower than 300 will be upped to 300 |
---|
69 | # automatically. If the server hears nothing from a client in session_timeout |
---|
70 | # seconds, then the session is killed. |
---|
71 | session_timeout = 300 |
---|
72 | |
---|
73 | # for temporary files |
---|
74 | # consider mounting a `tmpfs' underneath this path (wherever you |
---|
75 | # point it to) |
---|
76 | tmp_path = /tmp |
---|
77 | |
---|
78 | ############################################################## |
---|
79 | # LOG SETTINGS |
---|
80 | |
---|
81 | # Logging method (syslog, file), syslog facility is 'mail' |
---|
82 | log_method = file |
---|
83 | |
---|
84 | # Logfile (for log_method = file, '-' for stderr) |
---|
85 | log_file = /var/log/kopano/server.log |
---|
86 | |
---|
87 | # Loglevel (0(none), 1(crit), 2(err), 3(warn), 4(notice), 5(info), 6(debug)) |
---|
88 | #log_level = 3 |
---|
89 | |
---|
90 | # Log timestamp - prefix each log line with timestamp in 'file' logging mode |
---|
91 | log_timestamp = 1 |
---|
92 | |
---|
93 | # Buffer logging in what sized blocks. 0 for line-buffered (syslog-style). |
---|
94 | #log_buffer_size = 0 |
---|
95 | |
---|
96 | ############################################################## |
---|
97 | # AUDIT LOG SETTINGS |
---|
98 | |
---|
99 | # Audit logging is by default not enabled |
---|
100 | audit_log_enabled = no |
---|
101 | |
---|
102 | # Audit logging method (syslog, file), syslog facility is 'authpriv' |
---|
103 | audit_log_method = syslog |
---|
104 | |
---|
105 | # Audit logfile (for log_method = file, '-' for stderr) |
---|
106 | audit_log_file = /var/log/kopano/audit.log |
---|
107 | |
---|
108 | # Audit loglevel (0=no logging, 1=full logging) |
---|
109 | audit_log_level = 1 |
---|
110 | |
---|
111 | # Audit log timestamp - prefix each log line with timestamp in 'file' logging mode |
---|
112 | audit_log_timestamp = 1 |
---|
113 | |
---|
114 | ############################################################## |
---|
115 | # MYSQL SETTINGS (for database_engine = mysql) |
---|
116 | |
---|
117 | # MySQL hostname to connect to for database access |
---|
118 | mysql_host = localhost |
---|
119 | |
---|
120 | # MySQL port to connect with (usually 3306) |
---|
121 | mysql_port = 3306 |
---|
122 | |
---|
123 | # The user under which we connect with MySQL |
---|
124 | mysql_user = zarafa |
---|
125 | |
---|
126 | # The password for the user (leave empty for no password) |
---|
127 | mysql_password = %mysql_passwd% |
---|
128 | |
---|
129 | # Override the default MySQL socket to access mysql locally |
---|
130 | # Works only if the mysql_host value is empty or 'localhost' |
---|
131 | #mysql_socket = |
---|
132 | mysql_socket = /var/run/mysql/mysql.sock |
---|
133 | |
---|
134 | # Database to connect to |
---|
135 | mysql_database = zarafa |
---|
136 | |
---|
137 | # Where to place attachments. Value can be 'database', 'files' or 's3' |
---|
138 | attachment_storage = files |
---|
139 | |
---|
140 | # Enable fsync as method to make sure attachments are stored on disk where |
---|
141 | # supported and will not be buffered by OS and/or filesystem. Please note |
---|
142 | # this setting will lower attachment write performance depending on your |
---|
143 | # environment but enhances data safety with disaster recovery. |
---|
144 | # Only affects 'files' attachment storage backend. |
---|
145 | attachment_files_fsync = yes |
---|
146 | |
---|
147 | # When attachment_storage is 'files', use this path to store the files |
---|
148 | # When attachment_storage is 's3', use this path to set a prefix to all |
---|
149 | # attachment data of a certain cluster, for example 'attach' |
---|
150 | attachment_path = /home/system/kopano |
---|
151 | |
---|
152 | # Compression level for attachments when attachment_storage is 'files'. |
---|
153 | # Set compression level for attachments disabled=0, max=9 |
---|
154 | attachment_compression = 6 |
---|
155 | |
---|
156 | ############################################################## |
---|
157 | # S3 STORAGE SETTINGS (for attachment_storage = s3) |
---|
158 | |
---|
159 | # The hostname of the entry point to the S3 cloud where the bucket is located |
---|
160 | # If you are using miniio or an other S3 compatible implementation that |
---|
161 | # is using another port, you can specify the port with hostname:port. |
---|
162 | #attachment_s3_hostname = s3-eu-west-1.amazonaws.com |
---|
163 | |
---|
164 | # The region where the bucket is located |
---|
165 | #attachment_s3_region = eu-west-1 |
---|
166 | |
---|
167 | # The protocol that should be used to connect to S3, 'http' or 'https' (preferred) |
---|
168 | #attachment_s3_protocol = https |
---|
169 | |
---|
170 | # The URL style of the bucket, "virtualhost" or "path" |
---|
171 | #attachment_s3_uristyle = virtualhost |
---|
172 | |
---|
173 | # The access key id of your S3 account |
---|
174 | #attachment_s3_accesskeyid = |
---|
175 | |
---|
176 | # The secret access key of your S3 account |
---|
177 | #attachment_s3_secretaccesskey = |
---|
178 | |
---|
179 | # The bucket name in which the files will be stored |
---|
180 | #attachment_s3_bucketname = |
---|
181 | |
---|
182 | ############################################################## |
---|
183 | # SSL SETTINGS |
---|
184 | |
---|
185 | # enable SSL support in server |
---|
186 | server_ssl_enabled = no |
---|
187 | |
---|
188 | # Listen for SSL connections on this port |
---|
189 | server_ssl_port = 237 |
---|
190 | |
---|
191 | # Required Server certificate, contains the certificate and the private key parts |
---|
192 | server_ssl_key_file = /usr/webint/ssl/server.pem |
---|
193 | |
---|
194 | # Password of Server certificate |
---|
195 | server_ssl_key_pass = replace-with-server-cert-password |
---|
196 | |
---|
197 | # Required Certificate Authority of server |
---|
198 | server_ssl_ca_file = /usr/webint/ssl/server.crt |
---|
199 | |
---|
200 | # Path with CA certificates, e.g. /etc/ssl/certs |
---|
201 | server_ssl_ca_path = |
---|
202 | |
---|
203 | # SSL protocols to use, space-separated list of protocols |
---|
204 | # (SSLv3 TLSv1 TLSv1.1 TLSv1.2); prefix with ! to lock out a protocol. |
---|
205 | #server_ssl_protocols = |
---|
206 | |
---|
207 | # SSL ciphers to use, set to 'ALL' for backward compatibility |
---|
208 | server_ssl_ciphers = ALL:!LOW:!SSLv2:!EXP:!aNULL |
---|
209 | |
---|
210 | # Prefer the server's order of SSL ciphers over client's |
---|
211 | server_ssl_prefer_server_ciphers = no |
---|
212 | |
---|
213 | # Path of SSL Public keys of clients |
---|
214 | sslkeys_path = /etc/kopano/sslkeys |
---|
215 | |
---|
216 | ############################################################## |
---|
217 | # THREAD SETTINGS |
---|
218 | |
---|
219 | # Number of server threads |
---|
220 | # default: 8 |
---|
221 | #threads = 8 |
---|
222 | threads = 16 |
---|
223 | |
---|
224 | # Watchdog frequency. The number of watchdog checks per second. |
---|
225 | # default: 1 |
---|
226 | watchdog_frequency = 1 |
---|
227 | |
---|
228 | # Watchdog max age. The maximum age in ms of a task before a |
---|
229 | # new thread is started. |
---|
230 | # default: 500 |
---|
231 | watchdog_max_age = 500 |
---|
232 | |
---|
233 | # Maximum SOAP keep_alive value |
---|
234 | # default: 100 |
---|
235 | server_max_keep_alive_requests = 100 |
---|
236 | |
---|
237 | # SOAP recv timeout value (time between requests) |
---|
238 | # default: 5 |
---|
239 | server_recv_timeout = 5 |
---|
240 | |
---|
241 | # SOAP read timeout value (time during requests) |
---|
242 | # default: 60 |
---|
243 | server_read_timeout = 60 |
---|
244 | |
---|
245 | # SOAP send timeout value |
---|
246 | # default: 60 |
---|
247 | server_send_timeout = 60 |
---|
248 | |
---|
249 | ############################################################## |
---|
250 | # OTHER SETTINGS |
---|
251 | |
---|
252 | # Softdelete clean cycle (in days) 0=never running |
---|
253 | # softdelete_lifetime = 30 |
---|
254 | # (SYN-3 uses a cronjob) |
---|
255 | softdelete_lifetime = 0 |
---|
256 | |
---|
257 | # Sync lifetime, removes all changes remembered for a client after x days of inactivity |
---|
258 | sync_lifetime = 90 |
---|
259 | |
---|
260 | # Set to 'yes' if you have Kerberos or NTLM correctly configured for single sign-on |
---|
261 | enable_sso = no |
---|
262 | |
---|
263 | # Set to 'yes' if you want to show the GAB to your users |
---|
264 | enable_gab = yes |
---|
265 | |
---|
266 | # Authentication can be through plugin (default, recommended), pam or kerberos |
---|
267 | auth_method = plugin |
---|
268 | |
---|
269 | # If auth_method is set to pam, you should provide the pam service name |
---|
270 | pam_service = passwd |
---|
271 | |
---|
272 | |
---|
273 | ############################################################# |
---|
274 | # CACHE SETTINGS |
---|
275 | # |
---|
276 | # To see the live cache usage, use 'kopano-stats --system'. |
---|
277 | #SYN-3 caching config for around 1000 users. |
---|
278 | |
---|
279 | # Size in bytes of the 'cell' cache (should be set as high as you can afford to set it) |
---|
280 | #cache_cell_size = 256M |
---|
281 | # around 25% of total RAM size |
---|
282 | cache_cell_size = 1G |
---|
283 | |
---|
284 | # Size in bytes of the 'object' cache |
---|
285 | #cache_object_size = 16M |
---|
286 | # about 100kb per user |
---|
287 | cache_object_size = 100M |
---|
288 | |
---|
289 | # Size in bytes of the 'indexed object' cache |
---|
290 | #cache_indexedobject_size = 32M |
---|
291 | # about 512kb per user |
---|
292 | cache_indexedobject_size = 512M |
---|
293 | |
---|
294 | |
---|
295 | # Size in bytes of the userquota details |
---|
296 | cache_quota_size = 1M |
---|
297 | |
---|
298 | # Lifetime for userquota details |
---|
299 | cache_quota_lifetime = 1 |
---|
300 | |
---|
301 | # Size in bytes of the acl cache |
---|
302 | cache_acl_size = 1M |
---|
303 | |
---|
304 | # Size in bytes of the store id/guid cache |
---|
305 | #cache_store_size = 1M |
---|
306 | cache_store_size=512M |
---|
307 | |
---|
308 | # Size in bytes of the 'user id' cache (this is allocated twice) |
---|
309 | cache_user_size = 1M |
---|
310 | |
---|
311 | # Size in bytes of the 'user details' cache |
---|
312 | cache_userdetails_size = 25M |
---|
313 | |
---|
314 | # Lifetime for user details |
---|
315 | cache_userdetails_lifetime = 0 |
---|
316 | |
---|
317 | # Size in bytes of the server details (multiserver setups only) |
---|
318 | cache_server_size = 1M |
---|
319 | |
---|
320 | # Lifetime for server details (multiserver setups only) |
---|
321 | cache_server_lifetime = 30 |
---|
322 | |
---|
323 | |
---|
324 | ############################################################## |
---|
325 | # QUOTA SETTINGS |
---|
326 | |
---|
327 | # The default Warning Quota Level. Set to 0 to disable this level. |
---|
328 | # The user will receive an email when this level is reached. Value is in Mb. Default value is 0. |
---|
329 | quota_warn = 0 |
---|
330 | |
---|
331 | # The default Soft Quota Level. Set to 0 to disable this level. |
---|
332 | # The user will still receive mail, but sending new mail is prohibited, until objects are removed from the store. |
---|
333 | # VALUE is in Mb. Default value is 0. |
---|
334 | quota_soft = 0 |
---|
335 | |
---|
336 | # The default Hard Quota Level. Set to 0 to disable this level. |
---|
337 | # The user can not receive and send mail, until objects are removed from the store. |
---|
338 | # Value is in Mb. Default value is 0. |
---|
339 | quota_hard = 0 |
---|
340 | |
---|
341 | # The default Warning Quota Level for multitenant public stores. Set to 0 to disable this level. |
---|
342 | # The tenant administrator will receive an email when this level is reached. Value is in Mb. Default value is 0. |
---|
343 | companyquota_warn = 0 |
---|
344 | |
---|
345 | |
---|
346 | ############################################################## |
---|
347 | # USER PLUGIN SETTINGS |
---|
348 | |
---|
349 | # Name of the plugin that handles users |
---|
350 | # Required, default = db |
---|
351 | # Values: ldap, unix, db |
---|
352 | user_plugin = ldap |
---|
353 | |
---|
354 | # configuration file of the user plugin, examples can be found in /usr/share/doc/kopano/example-config |
---|
355 | user_plugin_config = /etc/kopano/ldap.cfg |
---|
356 | |
---|
357 | # scripts which create stores for users from an external source |
---|
358 | # used for ldap and unix plugins only |
---|
359 | createuser_script = /etc/kopano/userscripts/createuser |
---|
360 | deleteuser_script = /etc/kopano/userscripts/deleteuser |
---|
361 | creategroup_script = /etc/kopano/userscripts/creategroup |
---|
362 | deletegroup_script = /etc/kopano/userscripts/deletegroup |
---|
363 | createcompany_script = /etc/kopano/userscripts/createcompany |
---|
364 | deletecompany_script = /etc/kopano/userscripts/deletecompany |
---|
365 | |
---|
366 | # Set this option to 'yes' to skip the creation and deletion of new users |
---|
367 | # The action will be logged, so you can see if your changes to the plugin |
---|
368 | # configuration are correct. |
---|
369 | user_safe_mode = no |
---|
370 | |
---|
371 | ############################################################## |
---|
372 | # MISC SETTINGS |
---|
373 | |
---|
374 | # Enable multi-tenancy environment |
---|
375 | # When set to true it is possible to create tenants within the |
---|
376 | # kopano instance and assign all users and groups to particular |
---|
377 | # tenants. |
---|
378 | # When set to false, the normal single-tenancy environment is created. |
---|
379 | enable_hosted_kopano = false |
---|
380 | |
---|
381 | # Enable multi-server environment |
---|
382 | # When set to true it is possible to place users and tenants on |
---|
383 | # specific servers. |
---|
384 | # When set to false, the normal single-server environment is created. |
---|
385 | enable_distributed_kopano = false |
---|
386 | |
---|
387 | # Display format of store name |
---|
388 | # Allowed variables: |
---|
389 | # %u Username |
---|
390 | # %f Full name |
---|
391 | # %c Tenant's name |
---|
392 | # default: %f |
---|
393 | storename_format = %f |
---|
394 | |
---|
395 | # Loginname format (for Multi-tenancy installations) |
---|
396 | # When the user does not login through a system-wide unique |
---|
397 | # username (like the email address) a unique name is created |
---|
398 | # by combining the username and the tenantname. |
---|
399 | # With this configuration option you can set how the |
---|
400 | # loginname should be built up. |
---|
401 | # |
---|
402 | # Note: Do not use the = character in the format. |
---|
403 | # |
---|
404 | # Allowed variables: |
---|
405 | # %u Username |
---|
406 | # %c Teantname |
---|
407 | # |
---|
408 | # default: %u |
---|
409 | loginname_format = %u |
---|
410 | |
---|
411 | # Everyone is a special internal group, which contains every user and group |
---|
412 | # You may want to disable this group from the Global Addressbook by setting |
---|
413 | # this option to 'yes'. Administrators will still be able to see the group. |
---|
414 | hide_everyone = no |
---|
415 | |
---|
416 | # System is a special internal user, which has super-admin privileges |
---|
417 | # You may want to disable this user from the Global Addressbook by setting |
---|
418 | # this option to 'yes'. Administrators will still be able to see the user. |
---|
419 | hide_system = yes |
---|
420 | |
---|
421 | # Use Indexing service for faster searching. |
---|
422 | # Enabling this option requires the kopano-search service to |
---|
423 | # be running. |
---|
424 | search_enabled = yes |
---|
425 | |
---|
426 | # Path to the kopano-search service, this option is only required |
---|
427 | # if the server is going to make use of the indexing service. |
---|
428 | search_socket = file:///var/run/kopano/search.sock |
---|
429 | |
---|
430 | # Time (in seconds) to wait for a connection to the kopano-search service |
---|
431 | # before terminating the indexed search request. |
---|
432 | search_timeout = 10 |
---|
433 | |
---|
434 | # Allow enhanced ICS operations to speedup synchronization with cached profiles. |
---|
435 | # default: yes |
---|
436 | enable_enhanced_ics = yes |
---|
437 | |
---|
438 | # SQL Procedures allow for some optimized queries when streaming with enhanced ICS. |
---|
439 | # This is default disabled because you must set 'thread_stack = 256k' in your |
---|
440 | # MySQL server config under the [mysqld] tag and restart your MySQL server. |
---|
441 | #enable_sql_procedures = no |
---|
442 | enable_sql_procedures = yes |
---|
443 | |
---|
444 | # Synchronize GAB users on every open of the GAB (otherwise, only on |
---|
445 | # kopano-admin --sync) |
---|
446 | sync_gab_realtime = yes |
---|
447 | |
---|
448 | # Disable features for users. This list is space separated. |
---|
449 | # Currently valid values: imap pop3 mobile outlook |
---|
450 | #disabled_features = imap pop3 |
---|
451 | disabled_features = |
---|
452 | |
---|
453 | # Maximum number of deferred records in total |
---|
454 | max_deferred_records = 0 |
---|
455 | |
---|
456 | # Maximum number of deferred records per folder |
---|
457 | max_deferred_records_folder = 20 |
---|
458 | |
---|
459 | # Restrict the permissions that admins receive to folder permissions only. Please |
---|
460 | # read the server.cfg manpage before enabling this option so you really understand |
---|
461 | # the implications |
---|
462 | restrict_admin_permissions = no |
---|
463 | |
---|
464 | # The maximum level of attachment recursion; Defines the number of |
---|
465 | # attachment-in-attachment in-attachment levels are allowed when saving and |
---|
466 | # replicating objects in the database. If you really want a higher level of |
---|
467 | # recursion than about 20, you probably have to increase MySQL's stack_size |
---|
468 | # to allow replication to work properly. |
---|
469 | embedded_attachment_limit = 20 |
---|
470 | |
---|
471 | # Header to detect whether a connection has been received through a proxy. The |
---|
472 | # value of the header is not inspected. If the header exists then the connection |
---|
473 | # is taken to be received via a proxy. An empty value disables proxy detection |
---|
474 | # and the value of '*' is used to indicate that all connections are proxied |
---|
475 | proxy_header = |
---|
476 | |
---|
477 | # Enable/disable reminders for shared stores |
---|
478 | shared_reminders = yes |
---|