Ignore:
Timestamp:
11/30/17 00:15:29 (7 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
gcc484, master, perl-5.22
Children:
94b5bc1
Parents:
6165e17
Message:

migrated settings to new default configs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • npl/mailserver/kopano_conf/root/etc/kopano/server.cfg

    r6165e17 r2c1b61a  
    22# SERVER SETTINGS
    33
    4 # IP Address to bind to (0.0.0.0 for ANY)
    5 # Set to 127.0.0.1 if connections should only come from localhost
     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
    66# and through the webserver proxy
    7 server_bind             = 0.0.0.0
     7#server_bind            =
    88
    99# Accept normal TCP connections (not recommended to disable)
     
    1313server_tcp_port         = 236
    1414
    15 # Accept unix pipe connections (not recommended to disable)
     15# Accept Unix pipe connections (not recommended to disable)
    1616server_pipe_enabled     = yes
    1717
     18# Unix socket location
     19server_pipe_name        = /var/run/kopano/server.sock
     20
     21# Priority Unix socket location
     22server_pipe_priority    = /var/run/kopano/prio.sock
    1823
    1924# Name for identifying the server in a multi-server environment
    2025server_name = Kopano
    2126
     27# Override the hostname of this server, used by Kerberos SSO if enabled
     28server_hostname =
     29
    2230# Database engine (mysql)
    2331database_engine         = mysql
    2432
    25 # Allow connections from normal users through the unix socket
     33# Allow connections from normal users through the Unix socket
    2634allow_local_users       = yes
    2735
     
    2937# field is SPACE separated
    3038# eg: local_admin_users = root vmail
     39#local_admin_users      = root kopano
    3140local_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
     44owner_auto_full_access = true
    3245
    3346# e-mail address of the Kopano System user
     
    3548
    3649# drop privileges and run the process as this user
    37 run_as_user             = kopano
     50#run_as_user            = kopano
    3851
    3952# 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
    4257
    4358# 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
    4567
    4668# session timeout for clients. Values lower than 300 will be upped to 300
     
    4870# seconds, then the session is killed.
    4971session_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)
     76tmp_path = /tmp
    5877
    5978##############################################################
    6079# LOG SETTINGS
    6180
    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'
     82log_method              = file
    6583
    6684# Logfile (for log_method = file, '-' for stderr)
    6785log_file                = /var/log/kopano/server.log
    6886
    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
    7189
    7290# Log timestamp - prefix each log line with timestamp in 'file' logging mode
    7391log_timestamp           = 1
    7492
     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
     100audit_log_enabled       = no
     101
     102# Audit logging method (syslog, file), syslog facility is 'authpriv'
     103audit_log_method        = syslog
     104
     105# Audit logfile (for log_method = file, '-' for stderr)
     106audit_log_file          = /var/log/kopano/audit.log
     107
     108# Audit loglevel (0=no logging, 1=full logging)
     109audit_log_level         = 1
     110
     111# Audit log timestamp - prefix each log line with timestamp in 'file' logging mode
     112audit_log_timestamp     = 1
     113
    75114##############################################################
    76115# MYSQL SETTINGS (for database_engine = mysql)
    77116
    78117# MySQL hostname to connect to for database access
    79 #mysql_host             = localhost
    80 mysql_socket            = /var/run/mysql/mysql.sock
     118mysql_host              = localhost
    81119
    82120# MySQL port to connect with (usually 3306)
     
    89127mysql_password          = %mysql_passwd%
    90128
     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           =
     132mysql_socket            = /var/run/mysql/mysql.sock
     133
    91134# Database to connect to
    92135mysql_database          = zarafa
    93136
    94 # Where to place attachments. Value can be 'database' or 'files'
     137# Where to place attachments. Value can be 'database', 'files' or 's3'
    95138attachment_storage      = files
    96139
     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.
     145attachment_files_fsync  = yes
     146
    97147# 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'
    98150attachment_path         = /home/system/kopano
    99151
     
    103155
    104156##############################################################
     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##############################################################
    105183#  SSL SETTINGS
    106184
    107185# enable SSL support in server
    108 server_ssl_enabled      = no
     186server_ssl_enabled      = yes
    109187
    110188# Listen for SSL connections on this port
     
    115193
    116194# Password of Server certificate
    117 server_ssl_key_pass     =
     195server_ssl_key_pass     = replace-with-server-cert-password
    118196
    119197# Required Certificate Authority of server
    120 server_ssl_ca_file      = /etc/kopano/ssl/server.crt
     198server_ssl_ca_file      = /usr/webint/ssl/server.crt
    121199
    122200# Path with CA certificates, e.g. /etc/ssl/certs
    123201server_ssl_ca_path      =
    124202
     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
     208server_ssl_ciphers = ALL:!LOW:!SSLv2:!EXP:!aNULL
     209
     210# Prefer the server's order of SSL ciphers over client's
     211server_ssl_prefer_server_ciphers = no
     212
    125213# Path of SSL Public keys of clients
    126214sslkeys_path            = /etc/kopano/sslkeys
     
    131219# Number of server threads
    132220# default: 8
     221#threads                                =       8
    133222threads                         =       16
    134223
     
    146235server_max_keep_alive_requests  =       100
    147236
    148 # SOAP recv timeout value
     237# SOAP recv timeout value (time between requests)
    149238# default: 5
    150239server_recv_timeout     =       5
     240
     241# SOAP read timeout value (time during requests)
     242# default: 60
     243server_read_timeout     =       60
    151244
    152245# SOAP send timeout value
     
    158251
    159252# Softdelete clean cycle (in days) 0=never running
     253# softdelete_lifetime   = 30
    160254# (SYN-3 uses a cronjob)
    161255softdelete_lifetime     = 0
     
    164258sync_lifetime           = 90
    165259
    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
     261enable_sso = no
    169262
    170263# Set to 'yes' if you want to show the GAB to your users
    171264enable_gab = yes
    172265
    173 # Synchronize GAB users on every open of the GAB (otherwise, only on
    174 # kopano-admin --sync)
    175 sync_gab_realtime = yes
    176 
    177266# Authentication can be through plugin (default, recommended), pam or kerberos
    178267auth_method = plugin
     
    184273#############################################################
    185274# CACHE SETTINGS
    186 
     275#
     276# To see the live cache usage, use 'kopano-stats --system'.
    187277#SYN-3 caching config for around 1000 users.
    188278
     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
    189281# around 25% of total RAM size
    190282cache_cell_size                 = 1G
    191283
     284# Size in bytes of the 'object' cache
     285#cache_object_size = 16M
    192286#  about 100kb per user
    193287cache_object_size               = 100M
    194288
     289# Size in bytes of the 'indexed object' cache
     290#cache_indexedobject_size = 32M
    195291# about 512kb per user
    196292cache_indexedobject_size        = 512M
    197293
    198 cache_store_size=512M
     294
     295# Size in bytes of the userquota details
     296cache_quota_size                        = 1M
    199297
    200298# Lifetime for userquota details
    201299cache_quota_lifetime            = 1
    202300
     301# Size in bytes of the acl cache
     302cache_acl_size                          = 1M
     303
     304# Size in bytes of the store id/guid cache
     305#cache_store_size                       = 1M
     306cache_store_size=512M
     307
     308# Size in bytes of the 'user id' cache (this is allocated twice)
     309cache_user_size                         = 1M
     310
     311# Size in bytes of the 'user details' cache
     312cache_userdetails_size          = 25M
     313
    203314# 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
     315cache_userdetails_lifetime      = 0
     316
     317# Size in bytes of the server details (multiserver setups only)
     318cache_server_size                       = 1M
     319
     320# Lifetime for server details (multiserver setups only)
     321cache_server_lifetime   = 30
     322
    209323
    210324##############################################################
     
    225339quota_hard              = 0
    226340
    227 # The default Warning Quota Level. Set to 0 to disable this level.
    228 # The company administrator 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.
    229343companyquota_warn      = 0
    230344
     345
    231346##############################################################
    232347#  USER PLUGIN SETTINGS
    233348
    234349# Name of the plugin that handles users
    235 # Required, default = ldap
     350# Required, default = db
    236351# Values: ldap, unix, db
    237 #user_plugin            = db
    238352user_plugin             = ldap
    239353
    240 # configuration file of the user plugin, examples can be found in /usr/share/kopano/example-config
     354# configuration file of the user plugin, examples can be found in /usr/share/doc/kopano/example-config
    241355user_plugin_config      = /etc/kopano/ldap.cfg
    242 
    243 # location of the kopano plugins
    244 # if you have a 64bit distribution, this probably should be changed to /usr/lib64/kopano
    245 plugin_path             = /usr/lib/kopano
    246356
    247357# scripts which create stores for users from an external source
     
    254364deletecompany_script    =       /etc/kopano/userscripts/deletecompany
    255365
     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.
     369user_safe_mode = no
     370
    256371##############################################################
    257372# MISC SETTINGS
    258373
    259 # Enable multi-company environment
    260 # When set to true it is possible to create companies within the
     374# Enable multi-tenancy environment
     375# When set to true it is possible to create tenants within the
    261376# 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.
    264379enable_hosted_kopano = false
    265380
    266381# Enable multi-server environment
    267 # When set to true it is possible to place users and companies on
     382# When set to true it is possible to place users and tenants on
    268383# specific servers.
    269384# When set to false, the normal single-server environment is created.
     
    273388# Allowed variables:
    274389#  %u Username
    275 #  %f Fullname
    276 #  %c Companyname
     390#  %f Full name
     391#  %c Tenant's name
    277392# default: %f
    278393storename_format = %f
    279394
    280 # Loginname format (for Hosted installations)
     395# Loginname format (for Multi-tenancy installations)
    281396# When the user does not login through a system-wide unique
    282397# 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.
    284399# With this configuration option you can set how the
    285400# loginname should be built up.
     
    288403#
    289404# Allowed variables:
    290 #  %u username
    291 #  %c companyname
     405#  %u Username
     406#  %c Teantname
    292407#
    293408# default: %u
    294409loginname_format = %u
    295 
    296 # Set to yes for Windows clients to be able to download the latest
    297 # Kopano Outlook client from the Kopano server
    298 client_update_enabled = false
    299 
    300 # Place the correct Kopano Outlook Client in this directory for
    301 # Windows clients to download through the Kopano server
    302 client_update_path = /var/lib/kopano/client
    303 
    304 # Recieve update information from the client (0 = disabled, 1 = only on error, 2 = log always)
    305 #client_update_log_level = 1
    306 # Log location for the client auto update files
    307 #client_update_log_path = /var/log/kopano/autoupdate
    308410
    309411# Everyone is a special internal group, which contains every user and group
     
    317419hide_system = yes
    318420
     421# Use Indexing service for faster searching.
     422# Enabling this option requires the kopano-search service to
     423# be running.
     424search_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.
     428search_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.
     432search_timeout = 10
     433
    319434# Allow enhanced ICS operations to speedup synchronization with cached profiles.
    320435# default: yes
    321436enable_enhanced_ics = yes
    322437
    323 # AUDIT LOG SETTINGS
    324 # Audit logging is by default not enabled
    325 audit_log_enabled     = no
    326 # Audit logging method (syslog, file), syslog facility is 'authpriv'
    327 audit_log_method      = syslog
    328 # Audit logfile (for log_method = file, '-' for stderr)
    329 audit_log_file                = /var/log/kopano/audit.log
    330 # Audit loglevel (0=no logging, 1=full logging)
    331 audit_log_level               = 1
    332 # Audit log timestamp - prefix each log line with timestamp in 'file' logging mode
    333 audit_log_timestamp   = 1
    334 
    335 # Disable features for users. Default all features are enabled. This
    336 # list is space separated. Currently valid values: imap
    337 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 to
    347 # be running.
    348 search_enabled = yes
    349 
    350438# SQL Procedures allow for some optimized queries when streaming with enhanced ICS.
    351439# This is default disabled because you must set 'thread_stack = 256k' in your
    352440# MySQL server config under the [mysqld] tag and restart your MySQL server.
     441#enable_sql_procedures = no
    353442enable_sql_procedures = yes
    354443
    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)
     446sync_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
     451disabled_features =
     452
     453# Maximum number of deferred records in total
     454max_deferred_records = 0
     455
     456# Maximum number of deferred records per folder
     457max_deferred_records_folder = 20
    359458
    360459# Restrict the permissions that admins receive to folder permissions only. Please
     
    375474# and the value of '*' is used to indicate that all connections are proxied
    376475proxy_header =
     476
     477# Enable/disable reminders for shared stores
     478shared_reminders = yes
Note: See TracChangeset for help on using the changeset viewer.