Subversion Repositories configs

Rev

Rev 154 | Details | Compare with Previous | Last modification | View Log | RSS feed

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