1 | ############################################################## |
---|
2 | # SERVER SETTINGS |
---|
3 | |
---|
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 |
---|
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 | |
---|
19 | # Name for identifying the server in a multi-server environment |
---|
20 | server_name = Kopano |
---|
21 | |
---|
22 | # Database engine (mysql) |
---|
23 | database_engine = mysql |
---|
24 | |
---|
25 | # Allow connections from normal users through the unix socket |
---|
26 | allow_local_users = yes |
---|
27 | |
---|
28 | # local admin users who can connect to any store (use this for the kopano-dagent) |
---|
29 | # field is SPACE separated |
---|
30 | # eg: local_admin_users = root vmail |
---|
31 | local_admin_users = root alias |
---|
32 | |
---|
33 | # e-mail address of the Kopano System user |
---|
34 | system_email_address = postmaster@localhost |
---|
35 | |
---|
36 | # drop privileges and run the process as this user |
---|
37 | run_as_user = kopano |
---|
38 | |
---|
39 | # drop privileges and run the process as this group |
---|
40 | run_as_group = kopano |
---|
41 | |
---|
42 | |
---|
43 | # run server in this path (when not using the -F switch) |
---|
44 | running_path = / |
---|
45 | |
---|
46 | # session timeout for clients. Values lower than 300 will be upped to 300 |
---|
47 | # automatically. If the server hears nothing from a client in session_timeout |
---|
48 | # seconds, then the session is killed. |
---|
49 | 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 |
---|
58 | |
---|
59 | ############################################################## |
---|
60 | # LOG SETTINGS |
---|
61 | |
---|
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 |
---|
65 | |
---|
66 | # Logfile (for log_method = file, '-' for stderr) |
---|
67 | log_file = /var/log/kopano/server.log |
---|
68 | |
---|
69 | # Loglevel (0=no logging, 5=full logging) |
---|
70 | log_level = 2 |
---|
71 | |
---|
72 | # Log timestamp - prefix each log line with timestamp in 'file' logging mode |
---|
73 | log_timestamp = 1 |
---|
74 | |
---|
75 | ############################################################## |
---|
76 | # MYSQL SETTINGS (for database_engine = mysql) |
---|
77 | |
---|
78 | # MySQL hostname to connect to for database access |
---|
79 | #mysql_host = localhost |
---|
80 | mysql_socket = /var/run/mysql/mysql.sock |
---|
81 | |
---|
82 | # MySQL port to connect with (usually 3306) |
---|
83 | mysql_port = 3306 |
---|
84 | |
---|
85 | # The user under which we connect with MySQL |
---|
86 | mysql_user = kopano |
---|
87 | |
---|
88 | # The password for the user (leave empty for no password) |
---|
89 | mysql_password = %mysql_passwd% |
---|
90 | |
---|
91 | # Database to connect to |
---|
92 | mysql_database = kopano |
---|
93 | |
---|
94 | # Where to place attachments. Value can be 'database' or 'files' |
---|
95 | attachment_storage = files |
---|
96 | |
---|
97 | # When attachment_storage is 'files', use this path to store the files |
---|
98 | attachment_path = /home/system/kopano |
---|
99 | |
---|
100 | # Compression level for attachments when attachment_storage is 'files'. |
---|
101 | # Set compression level for attachments disabled=0, max=9 |
---|
102 | attachment_compression = 6 |
---|
103 | |
---|
104 | ############################################################## |
---|
105 | # SSL SETTINGS |
---|
106 | |
---|
107 | # enable SSL support in server |
---|
108 | server_ssl_enabled = no |
---|
109 | |
---|
110 | # Listen for SSL connections on this port |
---|
111 | server_ssl_port = 237 |
---|
112 | |
---|
113 | # Required Server certificate, contains the certificate and the private key parts |
---|
114 | server_ssl_key_file = /usr/webint/ssl/server.pem |
---|
115 | |
---|
116 | # Password of Server certificate |
---|
117 | server_ssl_key_pass = |
---|
118 | |
---|
119 | # Required Certificate Authority of server |
---|
120 | server_ssl_ca_file = /etc/kopano/ssl/server.crt |
---|
121 | |
---|
122 | # Path with CA certificates, e.g. /etc/ssl/certs |
---|
123 | server_ssl_ca_path = |
---|
124 | |
---|
125 | # Path of SSL Public keys of clients |
---|
126 | sslkeys_path = /etc/kopano/sslkeys |
---|
127 | |
---|
128 | ############################################################## |
---|
129 | # THREAD SETTINGS |
---|
130 | |
---|
131 | # Number of server threads |
---|
132 | # default: 8 |
---|
133 | threads = 16 |
---|
134 | |
---|
135 | # Watchdog frequency. The number of watchdog checks per second. |
---|
136 | # default: 1 |
---|
137 | watchdog_frequency = 1 |
---|
138 | |
---|
139 | # Watchdog max age. The maximum age in ms of a task before a |
---|
140 | # new thread is started. |
---|
141 | # default: 500 |
---|
142 | watchdog_max_age = 500 |
---|
143 | |
---|
144 | # Maximum SOAP keep_alive value |
---|
145 | # default: 100 |
---|
146 | server_max_keep_alive_requests = 100 |
---|
147 | |
---|
148 | # SOAP recv timeout value |
---|
149 | # default: 5 |
---|
150 | server_recv_timeout = 5 |
---|
151 | |
---|
152 | # SOAP send timeout value |
---|
153 | # default: 60 |
---|
154 | server_send_timeout = 60 |
---|
155 | |
---|
156 | ############################################################## |
---|
157 | # OTHER SETTINGS |
---|
158 | |
---|
159 | # Softdelete clean cycle (in days) 0=never running |
---|
160 | # (SYN-3 uses a cronjob) |
---|
161 | softdelete_lifetime = 0 |
---|
162 | |
---|
163 | # Sync lifetime, removes all changes remembered for a client after x days of inactivity |
---|
164 | sync_lifetime = 90 |
---|
165 | |
---|
166 | # Set to 'yes' if all changes (for synchronization) to messages should be logged to the database |
---|
167 | sync_log_all_changes = yes |
---|
168 | |
---|
169 | |
---|
170 | # Set to 'yes' if you want to show the GAB to your users |
---|
171 | enable_gab = yes |
---|
172 | |
---|
173 | # Synchronize GAB users on every open of the GAB (otherwise, only on |
---|
174 | # kopano-admin --sync) |
---|
175 | sync_gab_realtime = yes |
---|
176 | |
---|
177 | # Authentication can be through plugin (default, recommended), pam or kerberos |
---|
178 | auth_method = plugin |
---|
179 | |
---|
180 | # If auth_method is set to pam, you should provide the pam service name |
---|
181 | pam_service = passwd |
---|
182 | |
---|
183 | |
---|
184 | ############################################################# |
---|
185 | # CACHE SETTINGS |
---|
186 | |
---|
187 | #SYN-3 caching config for around 1000 users. |
---|
188 | |
---|
189 | # around 25% of total RAM size |
---|
190 | cache_cell_size = 1G |
---|
191 | |
---|
192 | # about 100kb per user |
---|
193 | cache_object_size = 100M |
---|
194 | |
---|
195 | # about 512kb per user |
---|
196 | cache_indexedobject_size = 512M |
---|
197 | |
---|
198 | cache_store_size=512M |
---|
199 | |
---|
200 | # Lifetime for userquota details |
---|
201 | cache_quota_lifetime = 1 |
---|
202 | |
---|
203 | # 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 |
---|
209 | |
---|
210 | ############################################################## |
---|
211 | # QUOTA SETTINGS |
---|
212 | |
---|
213 | # The default Warning Quota Level. Set to 0 to disable this level. |
---|
214 | # The user will receive an email when this level is reached. Value is in Mb. Default value is 0. |
---|
215 | quota_warn = 0 |
---|
216 | |
---|
217 | # The default Soft Quota Level. Set to 0 to disable this level. |
---|
218 | # The user will still receive mail, but sending new mail is prohibited, until objects are removed from the store. |
---|
219 | # VALUE is in Mb. Default value is 0. |
---|
220 | quota_soft = 0 |
---|
221 | |
---|
222 | # The default Hard Quota Level. Set to 0 to disable this level. |
---|
223 | # The user can not receive and send mail, until objects are removed from the store. |
---|
224 | # Value is in Mb. Default value is 0. |
---|
225 | quota_hard = 0 |
---|
226 | |
---|
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. |
---|
229 | companyquota_warn = 0 |
---|
230 | |
---|
231 | ############################################################## |
---|
232 | # USER PLUGIN SETTINGS |
---|
233 | |
---|
234 | # Name of the plugin that handles users |
---|
235 | # Required, default = ldap |
---|
236 | # Values: ldap, unix, db |
---|
237 | #user_plugin = db |
---|
238 | user_plugin = ldap |
---|
239 | |
---|
240 | # configuration file of the user plugin, examples can be found in /usr/share/kopano/example-config |
---|
241 | user_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 |
---|
246 | |
---|
247 | # scripts which create stores for users from an external source |
---|
248 | # used for ldap and unix plugins only |
---|
249 | createuser_script = /etc/kopano/userscripts/createuser |
---|
250 | deleteuser_script = /etc/kopano/userscripts/deleteuser |
---|
251 | creategroup_script = /etc/kopano/userscripts/creategroup |
---|
252 | deletegroup_script = /etc/kopano/userscripts/deletegroup |
---|
253 | createcompany_script = /etc/kopano/userscripts/createcompany |
---|
254 | deletecompany_script = /etc/kopano/userscripts/deletecompany |
---|
255 | |
---|
256 | ############################################################## |
---|
257 | # MISC SETTINGS |
---|
258 | |
---|
259 | # Enable multi-company environment |
---|
260 | # When set to true it is possible to create companies within the |
---|
261 | # kopano instance and assign all users and groups to particular |
---|
262 | # companies. |
---|
263 | # When set to false, the normal single-company environment is created. |
---|
264 | enable_hosted_kopano = false |
---|
265 | |
---|
266 | # Enable multi-server environment |
---|
267 | # When set to true it is possible to place users and companies on |
---|
268 | # specific servers. |
---|
269 | # When set to false, the normal single-server environment is created. |
---|
270 | enable_distributed_kopano = false |
---|
271 | |
---|
272 | # Display format of store name |
---|
273 | # Allowed variables: |
---|
274 | # %u Username |
---|
275 | # %f Fullname |
---|
276 | # %c Companyname |
---|
277 | # default: %f |
---|
278 | storename_format = %f |
---|
279 | |
---|
280 | # Loginname format (for Hosted installations) |
---|
281 | # When the user does not login through a system-wide unique |
---|
282 | # username (like the email address) a unique name is created |
---|
283 | # by combining the username and the companyname. |
---|
284 | # With this configuration option you can set how the |
---|
285 | # loginname should be built up. |
---|
286 | # |
---|
287 | # Note: Do not use the = character in the format. |
---|
288 | # |
---|
289 | # Allowed variables: |
---|
290 | # %u username |
---|
291 | # %c companyname |
---|
292 | # |
---|
293 | # default: %u |
---|
294 | loginname_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 |
---|
308 | |
---|
309 | # Everyone is a special internal group, which contains every user and group |
---|
310 | # You may want to disable this group from the Global Addressbook by setting |
---|
311 | # this option to 'yes'. Administrators will still be able to see the group. |
---|
312 | hide_everyone = no |
---|
313 | |
---|
314 | # System is a special internal user, which has super-admin privileges |
---|
315 | # You may want to disable this user from the Global Addressbook by setting |
---|
316 | # this option to 'yes'. Administrators will still be able to see the user. |
---|
317 | hide_system = yes |
---|
318 | |
---|
319 | # Allow enhanced ICS operations to speedup synchronization with cached profiles. |
---|
320 | # default: yes |
---|
321 | enable_enhanced_ics = yes |
---|
322 | |
---|
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 | |
---|
350 | # SQL Procedures allow for some optimized queries when streaming with enhanced ICS. |
---|
351 | # This is default disabled because you must set 'thread_stack = 256k' in your |
---|
352 | # MySQL server config under the [mysqld] tag and restart your MySQL server. |
---|
353 | enable_sql_procedures = yes |
---|
354 | |
---|
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 |
---|
359 | |
---|
360 | # Restrict the permissions that admins receive to folder permissions only. Please |
---|
361 | # read the server.cfg manpage before enabling this option so you really understand |
---|
362 | # the implications |
---|
363 | restrict_admin_permissions = no |
---|
364 | |
---|
365 | # The maximum level of attachment recursion; Defines the number of |
---|
366 | # attachment-in-attachment in-attachment levels are allowed when saving and |
---|
367 | # replicating objects in the database. If you really want a higher level of |
---|
368 | # recursion than about 20, you probably have to increase MySQL's stack_size |
---|
369 | # to allow replication to work properly. |
---|
370 | embedded_attachment_limit = 20 |
---|
371 | |
---|
372 | # Header to detect whether a connection has been received through a proxy. The |
---|
373 | # value of the header is not inspected. If the header exists then the connection |
---|
374 | # is taken to be received via a proxy. An empty value disables proxy detection |
---|
375 | # and the value of '*' is used to indicate that all connections are proxied |
---|
376 | proxy_header = |
---|
377 | |
---|
378 | |
---|
379 | |
---|
380 | |
---|