source: npl/mailserver/kopano_conf/root/etc/kopano/server.cfg

Last change on this file was fe3434a, checked in by Edwin Eefting <edwin@datux.nl>, 6 years ago

kopano upgrade to 8.7.5. also upgraded zpush and webapp to latest stable

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