Changeset 2c1b61a for npl/mailserver/kopano_conf/root/etc/kopano/server.cfg
- Timestamp:
- 11/30/17 00:15:29 (7 years ago)
- Branches:
- gcc484, master, perl-5.22
- Children:
- 94b5bc1
- Parents:
- 6165e17
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
npl/mailserver/kopano_conf/root/etc/kopano/server.cfg
r6165e17 r2c1b61a 2 2 # SERVER SETTINGS 3 3 4 # IP Address to bind to ( 0.0.0.0for ANY)5 # Set to 127.0.0.1 if connections should only come from localhost4 # 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 6 # and through the webserver proxy 7 server_bind = 0.0.0.0 7 #server_bind = 8 8 9 9 # Accept normal TCP connections (not recommended to disable) … … 13 13 server_tcp_port = 236 14 14 15 # Accept unix pipe connections (not recommended to disable)15 # Accept Unix pipe connections (not recommended to disable) 16 16 server_pipe_enabled = yes 17 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 18 23 19 24 # Name for identifying the server in a multi-server environment 20 25 server_name = Kopano 21 26 27 # Override the hostname of this server, used by Kerberos SSO if enabled 28 server_hostname = 29 22 30 # Database engine (mysql) 23 31 database_engine = mysql 24 32 25 # Allow connections from normal users through the unix socket33 # Allow connections from normal users through the Unix socket 26 34 allow_local_users = yes 27 35 … … 29 37 # field is SPACE separated 30 38 # eg: local_admin_users = root vmail 39 #local_admin_users = root kopano 31 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 32 45 33 46 # e-mail address of the Kopano System user … … 35 48 36 49 # drop privileges and run the process as this user 37 run_as_user = kopano50 #run_as_user = kopano 38 51 39 52 # drop privileges and run the process as this group 40 run_as_group = kopano 41 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 42 57 43 58 # run server in this path (when not using the -F switch) 44 running_path = / 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 45 67 46 68 # session timeout for clients. Values lower than 300 will be upped to 300 … … 48 70 # seconds, then the session is killed. 49 71 session_timeout = 300 50 session_ip_check = yes 51 52 # Socket to connect to for license server 53 license_socket = /var/run/kopanod/kopano-licensed 54 55 # Time (in seconds) to wait for a connection to the license server before 56 # terminating the request. 57 license_timeout = 10 72 73 # for temporary files 74 # consider mounting a `tmpfs' underneath this path (wherever you 75 # point it to) 76 tmp_path = /tmp 58 77 59 78 ############################################################## 60 79 # LOG SETTINGS 61 80 62 # Logging method (syslog, file) 63 # (DatuX: use syslog for now, because file seems to triggers a glibc locking bug in __pthread_rwlock_rdlock_slow, at least in 2.21) 64 log_method = syslog 81 # Logging method (syslog, file), syslog facility is 'mail' 82 log_method = file 65 83 66 84 # Logfile (for log_method = file, '-' for stderr) 67 85 log_file = /var/log/kopano/server.log 68 86 69 # Loglevel (0 =no logging, 5=full logging)70 log_level = 2 87 # Loglevel (0(none), 1(crit), 2(err), 3(warn), 4(notice), 5(info), 6(debug)) 88 #log_level = 3 71 89 72 90 # Log timestamp - prefix each log line with timestamp in 'file' logging mode 73 91 log_timestamp = 1 74 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 75 114 ############################################################## 76 115 # MYSQL SETTINGS (for database_engine = mysql) 77 116 78 117 # MySQL hostname to connect to for database access 79 #mysql_host = localhost 80 mysql_socket = /var/run/mysql/mysql.sock 118 mysql_host = localhost 81 119 82 120 # MySQL port to connect with (usually 3306) … … 89 127 mysql_password = %mysql_passwd% 90 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 91 134 # Database to connect to 92 135 mysql_database = zarafa 93 136 94 # Where to place attachments. Value can be 'database' or 'files'137 # Where to place attachments. Value can be 'database', 'files' or 's3' 95 138 attachment_storage = files 96 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 97 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' 98 150 attachment_path = /home/system/kopano 99 151 … … 103 155 104 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 ############################################################## 105 183 # SSL SETTINGS 106 184 107 185 # enable SSL support in server 108 server_ssl_enabled = no186 server_ssl_enabled = yes 109 187 110 188 # Listen for SSL connections on this port … … 115 193 116 194 # Password of Server certificate 117 server_ssl_key_pass = 195 server_ssl_key_pass = replace-with-server-cert-password 118 196 119 197 # Required Certificate Authority of server 120 server_ssl_ca_file = / etc/kopano/ssl/server.crt198 server_ssl_ca_file = /usr/webint/ssl/server.crt 121 199 122 200 # Path with CA certificates, e.g. /etc/ssl/certs 123 201 server_ssl_ca_path = 124 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 125 213 # Path of SSL Public keys of clients 126 214 sslkeys_path = /etc/kopano/sslkeys … … 131 219 # Number of server threads 132 220 # default: 8 221 #threads = 8 133 222 threads = 16 134 223 … … 146 235 server_max_keep_alive_requests = 100 147 236 148 # SOAP recv timeout value 237 # SOAP recv timeout value (time between requests) 149 238 # default: 5 150 239 server_recv_timeout = 5 240 241 # SOAP read timeout value (time during requests) 242 # default: 60 243 server_read_timeout = 60 151 244 152 245 # SOAP send timeout value … … 158 251 159 252 # Softdelete clean cycle (in days) 0=never running 253 # softdelete_lifetime = 30 160 254 # (SYN-3 uses a cronjob) 161 255 softdelete_lifetime = 0 … … 164 258 sync_lifetime = 90 165 259 166 # Set to 'yes' if all changes (for synchronization) to messages should be logged to the database 167 sync_log_all_changes = yes 168 260 # Set to 'yes' if you have Kerberos or NTLM correctly configured for single sign-on 261 enable_sso = no 169 262 170 263 # Set to 'yes' if you want to show the GAB to your users 171 264 enable_gab = yes 172 265 173 # Synchronize GAB users on every open of the GAB (otherwise, only on174 # kopano-admin --sync)175 sync_gab_realtime = yes176 177 266 # Authentication can be through plugin (default, recommended), pam or kerberos 178 267 auth_method = plugin … … 184 273 ############################################################# 185 274 # CACHE SETTINGS 186 275 # 276 # To see the live cache usage, use 'kopano-stats --system'. 187 277 #SYN-3 caching config for around 1000 users. 188 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 189 281 # around 25% of total RAM size 190 282 cache_cell_size = 1G 191 283 284 # Size in bytes of the 'object' cache 285 #cache_object_size = 16M 192 286 # about 100kb per user 193 287 cache_object_size = 100M 194 288 289 # Size in bytes of the 'indexed object' cache 290 #cache_indexedobject_size = 32M 195 291 # about 512kb per user 196 292 cache_indexedobject_size = 512M 197 293 198 cache_store_size=512M 294 295 # Size in bytes of the userquota details 296 cache_quota_size = 1M 199 297 200 298 # Lifetime for userquota details 201 299 cache_quota_lifetime = 1 202 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 203 314 # Lifetime for user details 204 cache_userdetails_lifetime = 5 205 206 # Thread size in KB, default is 512 207 # WARNING: Do not set too small, your server WILL crash 208 thread_stacksize = 512 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 209 323 210 324 ############################################################## … … 225 339 quota_hard = 0 226 340 227 # The default Warning Quota Level . Set to 0 to disable this level.228 # The companyadministrator will receive an email when this level is reached. Value is in Mb. Default value is 0.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. 229 343 companyquota_warn = 0 230 344 345 231 346 ############################################################## 232 347 # USER PLUGIN SETTINGS 233 348 234 349 # Name of the plugin that handles users 235 # Required, default = ldap350 # Required, default = db 236 351 # Values: ldap, unix, db 237 #user_plugin = db238 352 user_plugin = ldap 239 353 240 # configuration file of the user plugin, examples can be found in /usr/share/ kopano/example-config354 # configuration file of the user plugin, examples can be found in /usr/share/doc/kopano/example-config 241 355 user_plugin_config = /etc/kopano/ldap.cfg 242 243 # location of the kopano plugins244 # if you have a 64bit distribution, this probably should be changed to /usr/lib64/kopano245 plugin_path = /usr/lib/kopano246 356 247 357 # scripts which create stores for users from an external source … … 254 364 deletecompany_script = /etc/kopano/userscripts/deletecompany 255 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 256 371 ############################################################## 257 372 # MISC SETTINGS 258 373 259 # Enable multi- company environment260 # When set to true it is possible to create companies within the374 # Enable multi-tenancy environment 375 # When set to true it is possible to create tenants within the 261 376 # kopano instance and assign all users and groups to particular 262 # companies.263 # When set to false, the normal single- company environment is created.377 # tenants. 378 # When set to false, the normal single-tenancy environment is created. 264 379 enable_hosted_kopano = false 265 380 266 381 # Enable multi-server environment 267 # When set to true it is possible to place users and companies on382 # When set to true it is possible to place users and tenants on 268 383 # specific servers. 269 384 # When set to false, the normal single-server environment is created. … … 273 388 # Allowed variables: 274 389 # %u Username 275 # %f Full name276 # %c Companyname390 # %f Full name 391 # %c Tenant's name 277 392 # default: %f 278 393 storename_format = %f 279 394 280 # Loginname format (for Hostedinstallations)395 # Loginname format (for Multi-tenancy installations) 281 396 # When the user does not login through a system-wide unique 282 397 # username (like the email address) a unique name is created 283 # by combining the username and the companyname.398 # by combining the username and the tenantname. 284 399 # With this configuration option you can set how the 285 400 # loginname should be built up. … … 288 403 # 289 404 # Allowed variables: 290 # %u username291 # %c companyname405 # %u Username 406 # %c Teantname 292 407 # 293 408 # default: %u 294 409 loginname_format = %u 295 296 # Set to yes for Windows clients to be able to download the latest297 # Kopano Outlook client from the Kopano server298 client_update_enabled = false299 300 # Place the correct Kopano Outlook Client in this directory for301 # Windows clients to download through the Kopano server302 client_update_path = /var/lib/kopano/client303 304 # Recieve update information from the client (0 = disabled, 1 = only on error, 2 = log always)305 #client_update_log_level = 1306 # Log location for the client auto update files307 #client_update_log_path = /var/log/kopano/autoupdate308 410 309 411 # Everyone is a special internal group, which contains every user and group … … 317 419 hide_system = yes 318 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 319 434 # Allow enhanced ICS operations to speedup synchronization with cached profiles. 320 435 # default: yes 321 436 enable_enhanced_ics = yes 322 437 323 # AUDIT LOG SETTINGS324 # Audit logging is by default not enabled325 audit_log_enabled = no326 # Audit logging method (syslog, file), syslog facility is 'authpriv'327 audit_log_method = syslog328 # Audit logfile (for log_method = file, '-' for stderr)329 audit_log_file = /var/log/kopano/audit.log330 # Audit loglevel (0=no logging, 1=full logging)331 audit_log_level = 1332 # Audit log timestamp - prefix each log line with timestamp in 'file' logging mode333 audit_log_timestamp = 1334 335 # Disable features for users. Default all features are enabled. This336 # list is space separated. Currently valid values: imap337 disabled_features =338 339 340 #The server has a list of deferred writes to the tproperties table, to improve overall I/O performance. The number of deferred writes is kept below this value; setting it high will allow writes to be more efficient by grouping more writes together, but may slow down reading, and setting it low will force writes to complete directly, but speed up reading of tables.341 #max_deferred_records=342 #max_deferred_records_folder=343 344 345 346 # Enabling this option requires the kopano-search service to347 # be running.348 search_enabled = yes349 350 438 # SQL Procedures allow for some optimized queries when streaming with enhanced ICS. 351 439 # This is default disabled because you must set 'thread_stack = 256k' in your 352 440 # MySQL server config under the [mysqld] tag and restart your MySQL server. 441 #enable_sql_procedures = no 353 442 enable_sql_procedures = yes 354 443 355 356 # Time (in seconds) to wait for a connection to the kopano-search service 357 # before terminating the indexed search request. 358 search_timeout = 10 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 359 458 360 459 # Restrict the permissions that admins receive to folder permissions only. Please … … 375 474 # and the value of '*' is used to indicate that all connections are proxied 376 475 proxy_header = 476 477 # Enable/disable reminders for shared stores 478 shared_reminders = yes
Note: See TracChangeset
for help on using the changeset viewer.