kopano-server.cfg.5 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264
  1. '\" t
  2. .\" Title: kopano-server.cfg
  3. .\" Author: [see the "Author" section]
  4. .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
  5. .\" Date: November 2016
  6. .\" Manual: Kopano Core user reference
  7. .\" Source: Kopano 8
  8. .\" Language: English
  9. .\"
  10. .TH "KOPANO\-SERVER\&.CFG" "5" "November 2016" "Kopano 8" "Kopano Core user reference"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. kopano-server.cfg \- The Kopano configuration file
  32. .SH "SYNOPSIS"
  33. .PP
  34. \fBserver\&.cfg\fR
  35. .SH "DESCRIPTION"
  36. .PP
  37. The
  38. server\&.cfg
  39. is a configuration file for the kopano\-server process\&.
  40. server\&.cfg
  41. contains instructions for the software to set up the database environment, logging system and user backend\&.
  42. .SH "FILE FORMAT"
  43. .PP
  44. The file consists of one big section, but parameters can be grouped by functionality\&.
  45. .PP
  46. The parameters are written in the form:
  47. .PP
  48. \fBname\fR
  49. =
  50. \fIvalue\fR
  51. .PP
  52. The file is line\-based\&. Each newline\-terminated line represents either a comment, nothing, a parameter or a directive\&. A line beginning with `#\*(Aq is considered a comment, and will be ignored by Kopano\&. Parameter names are case sensitive\&. Lines beginning with `!\*(Aq are directives\&.
  53. .PP
  54. Directives are written in the form:
  55. .PP
  56. !\fBdirective\fR
  57. \fI[argument(s)] \fR
  58. .PP
  59. The following directives exist:
  60. .PP
  61. \fBinclude\fR
  62. .RS 4
  63. Include and process
  64. \fIargument\fR
  65. .sp
  66. Example: !include common\&.cfg
  67. .RE
  68. .SH "EXPLANATION OF THE SERVER SETTINGS PARAMETERS"
  69. .PP
  70. \fBserver_bind\fR
  71. .RS 4
  72. IP address to bind to\&. Leave empty to bind to all addresses\&. Keep in mind that both Webaccess and Outlook must be able to connect\&. The Webaccess normally connects on ::1/127\&.0\&.0\&.1, and Outlook from remote networks\&.
  73. .sp
  74. Default: (empty)
  75. .RE
  76. .PP
  77. \fBserver_tcp_enabled\fR
  78. .RS 4
  79. Enable direct TCP connections\&.
  80. .sp
  81. Default:
  82. \fIyes\fR
  83. .RE
  84. .PP
  85. \fBserver_tcp_port\fR
  86. .RS 4
  87. Port to listen on\&.
  88. .sp
  89. Default:
  90. \fI236\fR
  91. .RE
  92. .PP
  93. \fBserver_pipe_enabled\fR
  94. .RS 4
  95. Enable Unix pipe connections\&. Should not be disabled\&.
  96. .sp
  97. Default:
  98. \fIyes\fR
  99. .RE
  100. .PP
  101. \fBserver_recv_timeout\fR
  102. .RS 4
  103. TCP and SSL receive timeout in seconds\&. This is the time that a TCP connection may be idle (between requests) before the TCP connection is closed from the server\&. Settings this high makes it less necessary for clients to re\-connect, but increases the total number of concurrent open sockets in the server\&. You normally needn\*(Aqt change the default value\&.
  104. .sp
  105. Default:
  106. \fI5\fR
  107. .RE
  108. .PP
  109. \fBserver_read_timeout\fR
  110. .RS 4
  111. TCP and SSL read timeout in seconds\&. The read timeout is the amount of time that the server will wait to read more data from a socket, after processing of the request has started\&. This needn\*(Aqt be changed in most cases\&.
  112. .sp
  113. Default:
  114. \fI60\fR
  115. .RE
  116. .PP
  117. \fBserver_send_timeout\fR
  118. .RS 4
  119. TCP and SSL send timeout in seconds\&. The send timeout is the amount of time that the server will wait to write data to a socket, analogous to server_read_timeout\&.
  120. .sp
  121. Default:
  122. \fI60\fR
  123. .RE
  124. .PP
  125. \fBserver_max_keep_alive_requests\fR
  126. .RS 4
  127. Limits the number of requests allowed per connection\&.
  128. .sp
  129. Default:
  130. \fI100\fR
  131. .RE
  132. .PP
  133. \fBserver_pipe_name\fR
  134. .RS 4
  135. Unix socket to listen on\&.
  136. .sp
  137. Default:
  138. \fI/var/run/kopano/server\&.sock\fR
  139. .RE
  140. .PP
  141. \fBserver_pipe_priority\fR
  142. .RS 4
  143. Priority unix socket to listen on\&. This socket should only be used by prioritized services such as kopano\-stats\&.
  144. .sp
  145. Default:
  146. \fI/var/run/kopano/prio\&.sock\fR
  147. .RE
  148. .PP
  149. \fBserver_name\fR
  150. .RS 4
  151. Unique name for identifying the server in a multi\-server environment\&.
  152. .sp
  153. Default:
  154. \fIKopano\fR
  155. .RE
  156. .PP
  157. \fBserver_hostname\fR
  158. .RS 4
  159. DNS name of the server\&. This is used for the Kerberos single sign\-on environment\&. If empty (default), the FQDN or hostname will be used\&.
  160. .sp
  161. Default:
  162. .RE
  163. .PP
  164. \fBdatabase_engine\fR
  165. .RS 4
  166. The database engine to use\&. Values can be:
  167. .PP
  168. \fImysql\fR
  169. .RS 4
  170. Use MySQL\&.
  171. .RE
  172. .sp
  173. Default:
  174. \fImysql\fR
  175. .RE
  176. .PP
  177. \fBallow_local_users\fR
  178. .RS 4
  179. Named Unix users which connect through the unix socket (server_pipe_name) which are added here, those users will become the internal SYSTEM user in Kopano, and have administrative rights\&. Normally, this is only \*(Aqroot\*(Aq, so the unix root user can use the kopano\-admin tool\&. You can add a generic user to be used by the kopano\-dagent here\&. This user is most likely called \*(Aqvmail\*(Aq\&. Note that the field is SPACE separated\&.
  180. .sp
  181. Default:
  182. \fIroot\fR
  183. .RE
  184. .PP
  185. \fBsystem_email_address\fR
  186. .RS 4
  187. This is the e\-mail address of the SYSTEM user\&. When people receive mail from the quota monitor, or receive fallback deliveries from the kopano\-dagent, the From email address is this field\&. You might want to change this field so people can reply to this address\&.
  188. .sp
  189. Default:
  190. \fIpostmaster@localhost\fR
  191. .RE
  192. .PP
  193. \fBrun_as_user\fR
  194. .RS 4
  195. After correctly starting, the server process will become this user, dropping root privileges\&. Note that the log file needs to be writeable by this user, and the directory too to create new logfiles after logrotation\&. This can also be achieved by setting the correct group and permissions\&.
  196. .sp
  197. Default value is empty, not changing the user after starting\&.
  198. .RE
  199. .PP
  200. \fBrun_as_group\fR
  201. .RS 4
  202. After correctly starting, the server process will become this group, dropping root privileges\&.
  203. .sp
  204. Default value is empty, not changing the group after starting\&.
  205. .RE
  206. .PP
  207. \fBpid_file\fR
  208. .RS 4
  209. Write the process ID number to this file\&. This is used by the init\&.d script to correctly stop/restart the service\&.
  210. .sp
  211. Default:
  212. \fI/var/run/kopano/server\&.pid\fR
  213. .RE
  214. .PP
  215. \fBrunning_path\fR
  216. .RS 4
  217. Change directory to this path when running in daemonize mode\&. When using the \-F switch to run in the foreground the directory will not be changed\&.
  218. .sp
  219. Default:
  220. \fI/\fR
  221. .RE
  222. .PP
  223. \fBcoredump_enabled\fR
  224. .RS 4
  225. When a segfault occurs, a coredump file will be written in the running_path directory\&. This file should be sent along with the crash report\&.
  226. .sp
  227. Default:
  228. \fIyes\fR
  229. .RE
  230. .PP
  231. \fBsession_timeout\fR
  232. .RS 4
  233. The session timeout specifies how many seconds must elapse without any activity from a client before the server counts the session as dead\&. The client sends keepalive requests every 60 seconds, so the session timeout can never be below 60\&. In fact, if you specify a timeout below 300, 300 will be taken as the session timeout instead\&. This makes sure you can never timeout your session while the Kopano client is running\&.
  234. .sp
  235. Setting the session timeout low will keep the session count and therefore the memory usage on the server low, but may also timeout sessions of client that have lost network connectivity temporarily\&. For example, some clients with powersaving modes will disable the ethernet card during the screensaver\&. When this happens, you must set the session_timeout to a value that is higher than the time that it takes for the network connection to come back\&. This could be anything ranging up to several hours\&.
  236. .sp
  237. Default:
  238. \fI300\fR
  239. .RE
  240. .PP
  241. \fBsession_ip_check\fR
  242. .RS 4
  243. Normally, a session is linked to an IP\-address, so this check is enabled\&. You may want to disable this check when you have laptop\*(Aqs which can get multiple ip\-adresses through wired and wireless networks\&. It is highly recommended to leave this check enabled, since the session id can be used by other machines, and thus introduces a large security risc\&. The session id is 64 bits\&.
  244. .sp
  245. Default:
  246. \fIyes\fR
  247. .RE
  248. .PP
  249. \fBhide_everyone\fR
  250. .RS 4
  251. If this option is set to \*(Aqyes\*(Aq, the internal group Everyone (which always contains all users) will be hidden from the Global Addressbook\&. Thus, users will not be able to send e\-mail to this group anymore, and also will not be able to set access rights on folders for this group\&. Administrators will still be able to see and use the group\&.
  252. .sp
  253. Default:
  254. \fIno\fR
  255. .RE
  256. .PP
  257. \fBhide_system\fR
  258. .RS 4
  259. If this option is set to \*(Aqyes\*(Aq, the internal user SYSTEM will be hidden from the Global Addressbook\&. Thus, users will not be able to send e\-mail to this user anymore\&. Administrators will still be able to see and use the user\&.
  260. .sp
  261. Default:
  262. \fIyes\fR
  263. .RE
  264. .PP
  265. \fBthread_stacksize\fR
  266. .RS 4
  267. This setting might be useful on 32\-bit system with a lot of users\&. This setting should not be set too small, or your server will crash\&. The value set is in Kb\&.
  268. .sp
  269. Default:
  270. \fI512\fR
  271. .RE
  272. .PP
  273. \fBallocator_library\fR
  274. .RS 4
  275. This setting allows one to preload a special library (such as an allocator)\&. On startup, the server will set the LD_PRELOAD environment variable for itself and then re\-execute itself to get it loaded with high priority\&. If this option is empty, the default system allocator (from libc) will be used instead, which is probably a better choice when debugging with gdb, valgrind or ASAN/UBSAN\&. The environment variable KC_ALLOCATOR_DONE may also be set to a non\-empty value to disable re\-exec\&.
  276. .sp
  277. Default:
  278. \fIlibtcmalloc_minimal\&.so\&.4\fR
  279. .RE
  280. .SH "EXPLANATION OF THE LOGGING SETTINGS PARAMETERS"
  281. .PP
  282. \fBlog_method\fR
  283. .RS 4
  284. The method which should be used for logging\&. Valid values are:
  285. .PP
  286. \fIsyslog\fR
  287. .RS 4
  288. Use the Linux system log\&. All messages will be written to the mail facility\&. See also
  289. \fBsyslog.conf\fR(5)\&.
  290. .RE
  291. .PP
  292. \fIfile\fR
  293. .RS 4
  294. Log to a file\&. The filename will be specified in
  295. \fBlog_file\fR\&.
  296. .RE
  297. .sp
  298. Default:
  299. \fIfile\fR
  300. .RE
  301. .PP
  302. \fBlog_file\fR
  303. .RS 4
  304. When logging to a file, specify the filename in this parameter\&. Use
  305. \fI\-\fR
  306. (minus sign) for stderr output\&.
  307. .sp
  308. Default:
  309. \fI/var/log/kopano/server\&.log\fR
  310. .RE
  311. .PP
  312. \fBlog_level\fR
  313. .RS 4
  314. The level of output for logging in the range from 0 to 5\&. 0 means no logging, 5 means full logging\&.
  315. .sp
  316. Default:
  317. \fI2\fR
  318. .RE
  319. .PP
  320. \fBlog_timestamp\fR
  321. .RS 4
  322. Specify whether to prefix each log line with a timestamp in \*(Aqfile\*(Aq logging mode\&.
  323. .sp
  324. Default:
  325. \fI1\fR
  326. .RE
  327. .PP
  328. \fBlog_buffer_size\fR
  329. .RS 4
  330. Buffer logging in what sized blocks\&. The special value 0 selects line buffering\&.
  331. .sp
  332. Default:
  333. \fI0\fR
  334. .RE
  335. .SH "EXPLANATION OF THE SECURITY LOGGING SETTINGS PARAMETERS"
  336. .PP
  337. \fBaudit_log_enabled\fR
  338. .RS 4
  339. Whether the security logging feature should be enabled\&.
  340. .sp
  341. Default:
  342. \fIno\fR
  343. .RE
  344. .PP
  345. \fBaudit_log_method\fR
  346. .RS 4
  347. The method which should be used for logging\&. Valid values are:
  348. .PP
  349. \fIsyslog\fR
  350. .RS 4
  351. Use the Linux system log\&. All messages will be written to the authpriv facility\&. See also
  352. \fBsyslog.conf\fR(5)\&.
  353. .RE
  354. .PP
  355. \fIfile\fR
  356. .RS 4
  357. Log to a file\&. The filename will be specified in
  358. \fBlog_file\fR\&.
  359. .RE
  360. .sp
  361. Default:
  362. \fIsyslog\fR
  363. .RE
  364. .PP
  365. \fBaudit_log_file\fR
  366. .RS 4
  367. When logging to a file, specify the filename in this parameter\&. Use
  368. \fI\-\fR
  369. (minus sign) for stderr output\&.
  370. .sp
  371. Default:
  372. \fI\-\fR
  373. .RE
  374. .PP
  375. \fBaudit_log_level\fR
  376. .RS 4
  377. The level of output for logging in the range from 0 to 1\&. 0 means no logging, 1 means full logging\&.
  378. .sp
  379. Default:
  380. \fI1\fR
  381. .RE
  382. .PP
  383. \fBaudit_log_timestamp\fR
  384. .RS 4
  385. Specify whether to prefix each log line with a timestamp in \*(Aqfile\*(Aq logging mode\&.
  386. .sp
  387. Default:
  388. \fI1\fR
  389. .RE
  390. .SH "EXPLANATION OF THE MYSQL SETTINGS PARAMETERS"
  391. .PP
  392. \fBmysql_host\fR
  393. .RS 4
  394. The hostname of the MySQL server to use\&.
  395. .sp
  396. Default:
  397. \fIlocalhost\fR
  398. .RE
  399. .PP
  400. \fBmysql_port\fR
  401. .RS 4
  402. The port of the MySQL server to use\&.
  403. .sp
  404. Default:
  405. \fI3306\fR
  406. .RE
  407. .PP
  408. \fBmysql_user\fR
  409. .RS 4
  410. The user under which we connect with MySQL\&.
  411. .sp
  412. Default:
  413. \fIroot\fR
  414. .RE
  415. .PP
  416. \fBmysql_password\fR
  417. .RS 4
  418. The password to use for MySQL\&. Leave empty for no password\&.
  419. .sp
  420. Default:
  421. .RE
  422. .PP
  423. \fBmysql_socket\fR
  424. .RS 4
  425. The socket of the MySQL server to use\&. This option can be used to override the default mysql socket\&. To use the socket, the mysql_host value must be empty or \*(Aqlocalhost\*(Aq
  426. .sp
  427. Default:
  428. .RE
  429. .PP
  430. \fBmysql_database\fR
  431. .RS 4
  432. The MySQL database to connect to\&.
  433. .sp
  434. Default:
  435. \fIkopano\fR
  436. .RE
  437. .PP
  438. \fBmysql_group_concat_max_len\fR
  439. .RS 4
  440. The group_concat_max_len used to set for MySQL\&. If you have large distribution lists (more than 150 members), it is useful to set this value higher\&. On the other hand, some MySQL versions are known to break with a value higher than 21844\&.
  441. .sp
  442. Default:
  443. \fI21844\fR
  444. .RE
  445. .PP
  446. \fBattachment_storage\fR
  447. .RS 4
  448. The location where attachments are stored\&. This can be in the MySQL database, or as separate files\&. The drawback of \*(Aqdatabase\*(Aq is that the large data of attachment will push useful data from the MySQL cache\&. The drawback of separate files is that a mysqldump is not enough for a full disaster recovery\&.
  449. .sp
  450. Default:
  451. \fIfiles\fR
  452. .RE
  453. .PP
  454. \fBattachment_path\fR
  455. .RS 4
  456. When the attachment_storage option is \*(Aqfiles\*(Aq, this option sets the location of the attachments on disk\&. Note that the server runs as the \*(Aqrun_as_user\*(Aq user and \*(Aqrun_as_group\*(Aq group, which will require write access to this directory\&.
  457. .sp
  458. Default:
  459. \fI/var/lib/kopano/attachments\fR
  460. .RE
  461. .PP
  462. \fBattachment_compression\fR
  463. .RS 4
  464. When the attachment_storage option is \*(Aqfiles\*(Aq, this option controls the compression level for the attachments\&. Higher compression levels will compress data better, but at the cost of CPU usage\&. Lower compression levels will require less CPU but will compress data less\&. Setting the compression level to 0 will effectively disable compression completely\&.
  465. .sp
  466. Changing the compression level, or switching it on or off, will not affect any existing attachments, and will remain accessible as normal\&.
  467. .sp
  468. Set to
  469. \fI0\fR
  470. to disable compression completely\&. The maximum compression level is
  471. \fI9\fR
  472. .sp
  473. Default:
  474. \fI6\fR
  475. .RE
  476. .SH "EXPLANATION OF THE SSL SETTINGS PARAMETERS"
  477. .PP
  478. \fBserver_ssl_enabled\fR
  479. .RS 4
  480. Enable direct SSL connections\&. When this option is enabled, you must set the following ssl options correctly, otherwise the server may or will not start\&.
  481. .sp
  482. Default:
  483. \fIno\fR
  484. .RE
  485. .PP
  486. \fBserver_ssl_port\fR
  487. .RS 4
  488. The portnumber to accept SSL connections on\&.
  489. .sp
  490. Default:
  491. \fI237\fR
  492. .RE
  493. .PP
  494. \fBserver_ssl_key_file\fR
  495. .RS 4
  496. The file containing the private key and certificate\&. Please read the SSL section in the
  497. \fBkopano-server\fR(8)
  498. manual on how to create this file\&.
  499. .sp
  500. Default:
  501. \fI/etc/kopano/ssl/server\&.pem\fR
  502. .RE
  503. .PP
  504. \fBserver_ssl_key_pass\fR
  505. .RS 4
  506. Enter your password here when your key file contains a password to be readable\&.
  507. .sp
  508. No default set\&.
  509. .RE
  510. .PP
  511. \fBserver_ssl_ca_file\fR
  512. .RS 4
  513. The CA file which was used to sign client SSL certificates\&. This CA will be trusted\&. This value must be set for clients to login with an SSL Key\&. Their public key must be present in the sslkeys_path directory\&.
  514. .sp
  515. No default set\&.
  516. .RE
  517. .PP
  518. \fBserver_ssl_ca_path\fR
  519. .RS 4
  520. When you have multiple CA\*(Aqs to trust, you may use this option\&. Set this to a directory which contains all your trusted CA certificates\&. The name of the certificate needs to be the hash of the certificate\&. You can get the hash value of the certificate with the following command:
  521. .sp
  522. \fB openssl x509 \-hash \-noout \-in cacert\&.pem \fR
  523. .sp
  524. Create a symbolic link to the certificate with the hashname like this:
  525. .sp
  526. \fB ln \-s cacert\&.pem `openssl x509 \-hash \-noout \-in cacert\&.pem`\&.0 \fR
  527. .sp
  528. If you have several certificates which result in the same hash, use \&.1, \&.2, etc\&. in the end of the filename\&.
  529. .sp
  530. No default set\&.
  531. .RE
  532. .PP
  533. \fBsslkeys_path\fR
  534. .RS 4
  535. The path which contains public keys of clients which can login over SSL using their key\&. Please read the SSL section in the
  536. \fBkopano-server\fR(8)
  537. manual on how to create these files\&.
  538. .sp
  539. Default:
  540. \fI/etc/kopano/sslkeys\fR
  541. .RE
  542. .PP
  543. \fBserver_ssl_protocols\fR
  544. .RS 4
  545. Disabled or enabled protocol names\&. Supported protocol names are
  546. \fISSLv3\fR
  547. and
  548. \fITLSv1\fR\&. If Kopano was linked against OpenSSL 1\&.0\&.1 or later there is additional support for the new protocols
  549. \fITLSv1\&.1\fR
  550. and
  551. \fITLSv1\&.2\fR\&. To exclude both SSLv3 and TLSv1, set
  552. \fBserver_ssl_protocols\fR
  553. to
  554. \fI!SSLv3 !TLSv1\fR\&.
  555. .sp
  556. Default: SSLv2 being disabled
  557. .RE
  558. .PP
  559. \fBserver_ssl_ciphers\fR
  560. .RS 4
  561. SSL ciphers to use, set to
  562. \fIALL\fR
  563. for backward compatibility\&.
  564. .sp
  565. Default:
  566. \fIALL:!LOW:!SSLv2:!EXP:!aNULL\fR
  567. .RE
  568. .PP
  569. \fBserver_ssl_prefer_server_ciphers\fR
  570. .RS 4
  571. Prefer the server\*(Aqs order of SSL ciphers over client\*(Aqs\&.
  572. .sp
  573. Default:
  574. \fIno\fR
  575. .RE
  576. .SH "EXPLANATION OF THE THREADING PARAMETERS"
  577. .PP
  578. \fBthreads\fR
  579. .RS 4
  580. Number of server threads\&.
  581. .sp
  582. Default:
  583. \fI8\fR
  584. .RE
  585. .PP
  586. \fBwatchdog_frequency\fR
  587. .RS 4
  588. Watchdog frequency\&. The number of watchdog checks per second\&.
  589. .sp
  590. Default:
  591. \fI1\fR
  592. .RE
  593. .PP
  594. \fBwatchdog_max_age\fR
  595. .RS 4
  596. Watchdog max age\&. The maximum age in ms of a task before a new thread is started\&.
  597. .sp
  598. Default:
  599. \fI500\fR
  600. .RE
  601. .PP
  602. \fBserver_max_keep_alive_requests\fR
  603. .RS 4
  604. Maximum SOAP keep_alive value\&.
  605. .sp
  606. Default:
  607. \fI100\fR
  608. .RE
  609. .PP
  610. \fBserver_recv_timeout\fR
  611. .RS 4
  612. SOAP recv timeout value\&.
  613. .sp
  614. Default:
  615. \fI5\fR
  616. .RE
  617. .PP
  618. \fBserver_send_timeout\fR
  619. .RS 4
  620. SOAP send timeout value\&.
  621. .sp
  622. Default:
  623. \fI60\fR
  624. .RE
  625. .SH "EXPLANATION OF THE OTHER SETTINGS PARAMETERS"
  626. .PP
  627. \fBsoftdelete_lifetime\fR
  628. .RS 4
  629. Softdelete clean cycle, in days\&. 0 means never\&. Items older than this setting will be removed from the database\&.
  630. .sp
  631. Default:
  632. \fI0\fR
  633. .RE
  634. .PP
  635. \fBsync_lifetime\fR
  636. .RS 4
  637. Synchronization clean cycle, in days\&. 0 means never\&. Synchronizations older than this setting will be removed from the database\&.
  638. .sp
  639. Default:
  640. \fI90\fR
  641. .RE
  642. .PP
  643. \fBenable_sso\fR
  644. .RS 4
  645. When you configured your system for single sign\-on, you can enable this by setting the value to
  646. \fIyes\fR\&. The server can autodetect between NTLM and Kerberos\&. For NTLM authentication you will need the ntlm_auth program from Samba\&. Please see the server installation manual on howto enable your system for single sign\-on\&.
  647. .sp
  648. Default:
  649. \fIno\fR
  650. .RE
  651. .PP
  652. \fBenable_gab\fR
  653. .RS 4
  654. Enables viewing of the Global Address Book (GAB) by users\&. Disabling the GAB will show an empty list in the GAB, which may be required for some installations\&. Resolving addresses is not affected by this option\&.
  655. .sp
  656. Users with administrator rights are also not affected by this option and always have access to the GAB\&.
  657. .sp
  658. Default:
  659. \fIyes\fR
  660. .RE
  661. .PP
  662. \fBauth_method\fR
  663. .RS 4
  664. Authentication is normally done in the user plugin\&. In case your plugin cannot provide the authentication, you may set this to pam, and set the pam_service to authenticate through pam\&. Another choice is kerberos\&. The user password will be verified using the kerberos service\&. Note that is not a single\-signon method, since the server requires the user password\&.
  665. .sp
  666. Default:
  667. \fIplugin\fR
  668. .RE
  669. .PP
  670. \fBrestrict_admin_permissions\fR
  671. .RS 4
  672. Normally, admin users are granted all permissions on all stores in the server, or for stores in the tenant\*(Aqs company (in multi\-tenant mode)\&. Enabling this option restricts permissions to folder operations: Folder viewing, folder creation and importantly, folder permissions\&. This means that an administrator can grant himself full permissions on a folder\&. However, in combination with auditing, it provides an extra level of security protection against unwanted access\&.
  673. .sp
  674. Note that some applications may require full access to all stores, which would be restricted by this option\&. Also, this option cannot be reset by sending a HUP signal, so a full server restart is required to change the setting\&.
  675. .sp
  676. Default:
  677. \fIno\fR
  678. .RE
  679. .PP
  680. \fBembedded_attachment_limit\fR
  681. .RS 4
  682. Defines the number of attachment\-in\-attachment\-in\-attachment levels allowed when saving and replicating a MAPI object\&. This limit can be made higher if needed, but will also require you to increase the stack_size in mysql to allow for correct exporting for replication\&.
  683. .sp
  684. Default:
  685. \fIno\fR
  686. .RE
  687. .PP
  688. \fBpam_service\fR
  689. .RS 4
  690. This is the pam service name\&. Pam services can be found in /etc/pam\&.d/\&.
  691. .sp
  692. Default:
  693. \fIpasswd\fR
  694. .RE
  695. .PP
  696. \fBmax_deferred_records\fR
  697. .RS 4
  698. 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\&.
  699. .sp
  700. Default:
  701. \fI0 (off)\fR
  702. .RE
  703. .PP
  704. \fBmax_deferred_records_folder\fR
  705. .RS 4
  706. Same as the max_deferred_records variable, but per folder instead of total\&.
  707. .sp
  708. Default:
  709. \fI20\fR
  710. .RE
  711. .PP
  712. \fBdisabled_features\fR
  713. .RS 4
  714. In this list you can disable certain features for users\&. Normally all features are enabled for all users, making it possible through the user plugin to disable specific features for specific users\&. To set the default of a feature to disabled, add it here to the list, making it possible through the user plugin to enable a specific user for specific users\&.
  715. .sp
  716. This list is space separated, and currently may contain the following features: imap, pop3\&.
  717. .sp
  718. Default:
  719. \fIimap pop3\fR
  720. .RE
  721. .SH "EXPLANATION OF THE CACHE SETTINGS PARAMETERS"
  722. .PP
  723. \fBcache_cell_size\fR
  724. .RS 4
  725. Size in bytes of the cell cache\&. This is the main cache used in Kopano\&. It caches all data that comes into view in tables (ie the view of your inbox, or any other folder)\&. In an ideal situation, all cells would be cached, so that the database does not need to be queried for data when browsing through folders, but this would require around 1\&.5K per message item (e\-mail, appointment task, etc) in the entire server\&. If you can afford it, set this value as high as possible, up to 50% of your total RAM capacity\&. Make sure this doesn\*(Aqt lead to swapping though\&. This value may contain a k, m or g multiplier\&.
  726. .sp
  727. Default:
  728. \fI256M\fR
  729. .RE
  730. .PP
  731. \fBcache_object_size\fR
  732. .RS 4
  733. This caches objects and their respective hierarchy of folders\&. You can calculate the size with a simple equation:
  734. .sp
  735. concurrent users * max items in a folder * 24
  736. .sp
  737. This value may contain a k, m or g multiplier\&.
  738. .sp
  739. Default:
  740. \fI5M\fR
  741. .RE
  742. .PP
  743. \fBcache_indexedobject_size\fR
  744. .RS 4
  745. This cache contains unique IDs of objects\&. This cache is used twice, also by the index2 cache, which is the inverse of the index1 cache\&. This value may contain a k, m or g multiplier\&.
  746. .sp
  747. Default:
  748. \fI16M\fR
  749. .RE
  750. .PP
  751. \fBcache_quota_size\fR
  752. .RS 4
  753. This cache contains quota values of users\&. This value may contain a k, m or g multiplier\&.
  754. .sp
  755. Default:
  756. \fI1M\fR
  757. .RE
  758. .PP
  759. \fBcache_quota_lifetime\fR
  760. .RS 4
  761. This sets the lifetime for quota details inside the cache\&. If quota details weren\*(Aqt queried during this period it is removed from the cache making room for more often requested quota details\&. Set to 0 to never expire, or \-1 to disable this cache\&.
  762. .sp
  763. Default:
  764. \fI1\fR
  765. (1 minute)
  766. .RE
  767. .PP
  768. \fBcache_acl_size\fR
  769. .RS 4
  770. This cache contains Access Control List values\&. Folders who are opened in other stores than your own are listed in the ACL table, and will be cached\&. This value may contain a k, m or g multiplier\&.
  771. .sp
  772. Default:
  773. \fI1M\fR
  774. .RE
  775. .PP
  776. \fBcache_store_size\fR
  777. .RS 4
  778. This cache contains store id values\&. This value may contain a k, m or g multiplier\&.
  779. .sp
  780. Default:
  781. \fI1M\fR
  782. .RE
  783. .PP
  784. \fBcache_user_size\fR
  785. .RS 4
  786. This cache contains user id values\&. This cache is used twice, also by the externid cache, which is the inverse of this cache\&. This value may contain a k, m or g multiplier\&.
  787. .sp
  788. Default:
  789. \fI1M\fR
  790. .RE
  791. .PP
  792. \fBcache_userdetails_size\fR
  793. .RS 4
  794. This cache contains the details of users\&. This value may contain a k, m or g multiplier\&.
  795. .sp
  796. Default:
  797. \fI3M\fR
  798. .RE
  799. .PP
  800. \fBcache_userdetails_lifetime\fR
  801. .RS 4
  802. This sets the lifetime for user details inside the cache\&. If user details weren\*(Aqt queried during this period it is removed from the cache making room for more often requested user details\&. Set to 0 to never expire, or \-1 to disable this cache\&.
  803. .sp
  804. Default:
  805. \fI0\fR
  806. (never expire)
  807. .RE
  808. .PP
  809. \fBcache_server_size\fR
  810. .RS 4
  811. This cache contains server locations\&. This cache is only used in multiserver mode\&. This value may contain a k, m or g multiplier\&.
  812. .sp
  813. Default:
  814. \fI1M\fR
  815. .RE
  816. .PP
  817. \fBcache_server_lifetime\fR
  818. .RS 4
  819. This sets the lifetime for server location details inside the cache\&. If server details weren\*(Aqt queried during this period it is removed from the cache making room for more often requested server details\&. Set to 0 to never expire, or \-1 to disable this cache\&.
  820. .sp
  821. Default:
  822. \fI30\fR
  823. (30 minutes)
  824. .RE
  825. .SH "EXPLANATION OF THE QUOTA SETTINGS PARAMETERS"
  826. .PP
  827. \fBquota_warn\fR
  828. .RS 4
  829. Size in Mb of de default quota warning level\&. Use 0 to disable this quota level\&.
  830. .sp
  831. Default:
  832. \fI0\fR
  833. .RE
  834. .PP
  835. \fBquota_soft\fR
  836. .RS 4
  837. Size in Mb of de default quota soft level\&. Use 0 to disable this quota level\&.
  838. .sp
  839. Default:
  840. \fI0\fR
  841. .RE
  842. .PP
  843. \fBquota_hard\fR
  844. .RS 4
  845. Size in Mb of de default quota hard level\&. Use 0 to disable this quota level\&.
  846. .sp
  847. Default:
  848. \fI0\fR
  849. .RE
  850. .PP
  851. \fBcompanyquota_warn\fR
  852. .RS 4
  853. Size in Mb of de default quota warning level for multitenant public stores\&. Use 0 to disable this quota level\&.
  854. .sp
  855. Default:
  856. \fI0\fR
  857. .RE
  858. .SH "EXPLANATION OF THE USER PLUGIN SETTINGS PARAMETERS"
  859. .PP
  860. \fBplugin_path\fR
  861. .RS 4
  862. The location of the Kopano plugin directory\&.
  863. .sp
  864. Default:
  865. \fI/usr/lib/kopano\fR
  866. .RE
  867. .PP
  868. \fBuser_plugin\fR
  869. .RS 4
  870. The source of the user base\&. Possible values are:
  871. .PP
  872. \fIdb\fR
  873. .RS 4
  874. Retrieve the users from the Kopano database\&. Use the kopano\-admin tool to create users and groups\&. There are no additional settings for this plugin\&.
  875. .RE
  876. .PP
  877. \fIldap\fR
  878. .RS 4
  879. Retrieve the users and groups information from an LDAP server\&. All additional LDAP settings are set in a separate config file, which will be defined by the
  880. \fBuser_plugin_config\fR\&. See also
  881. \fBkopano-ldap.cfg\fR(5)\&.
  882. .RE
  883. .PP
  884. \fIunix\fR
  885. .RS 4
  886. Retrieve the users and groups information from the Linux password files\&. User information will be read the /etc/passwd file\&. Passwords will be checked against /etc/shadow\&. Group information will read from /etc/group\&. Use the
  887. \fBkopano-admin\fR(8)
  888. tool to set Kopano specific attributes on a user\&.
  889. .sp
  890. All additional Unix settings are set in a separate config file, which will be defined by the
  891. \fBuser_plugin_config\fR\&. See also
  892. \fBkopano-unix.cfg\fR(5)
  893. \&.
  894. .RE
  895. .sp
  896. Default:
  897. \fIdb\fR
  898. .RE
  899. .PP
  900. \fBcreateuser_script\fR, \fBdeleteuser_script\fR, \fBcreategroup_script\fR, \fBdeletegroup_script\fR, \fBcreatecompany_script\fR, \fBdeletecompany_script\fR
  901. .RS 4
  902. These scripts are called by the server when the external user source, like LDAP, is different from the users, groups and companies which are known to Kopano\&. The script uses a environment variable to see which user, group or tenant is affected\&. The following parameter is used for the script:
  903. .PP
  904. \fBcreateuser_script\fR
  905. .RS 4
  906. \fIKOPANO_USER\fR
  907. contains the new username\&. The script should at least call
  908. \fBkopano\-admin\fR
  909. \fI\-\-create\-store\fR
  910. \fI"${KOPANO_USER}"\fR
  911. to correctly create the store for the new user\&.
  912. .sp
  913. Default:
  914. \fI/etc/kopano/userscripts/createuser\fR
  915. .RE
  916. .PP
  917. \fBdeleteuser_script\fR
  918. .RS 4
  919. \fIKOPANO_STOREID\fR
  920. contains the old id of the store of the removed user\&.
  921. .sp
  922. Default:
  923. \fI/etc/kopano/userscripts/deleteuser\fR
  924. .RE
  925. .PP
  926. \fBcreategroup_script\fR
  927. .RS 4
  928. \fIKOPANO_GROUP\fR
  929. contains the new groupname\&. No action is currently needed by the script\&.
  930. .sp
  931. Default:
  932. \fI/etc/kopano/userscripts/creategroup\fR
  933. .RE
  934. .PP
  935. \fBdeletegroup_script\fR
  936. .RS 4
  937. \fIKOPANO_GROUPID\fR
  938. contains the old id of the group\&. No action is currently needed by the script\&.
  939. .sp
  940. Default:
  941. \fI/etc/kopano/userscripts/deletegroup\fR
  942. .RE
  943. .PP
  944. \fBcreatecompany_script\fR
  945. .RS 4
  946. \fIKOPANO_COMPANY\fR
  947. contains the new companyname\&. No action is currently needed by the script\&.
  948. .sp
  949. Default:
  950. \fI/etc/kopano/userscripts/createcompany\fR
  951. .RE
  952. .PP
  953. \fBdeletecompany_script\fR
  954. .RS 4
  955. \fIKOPANO_COMPANYID\fR
  956. contains the old id of the company\&. No action is currently needed by the script\&.
  957. .sp
  958. Default:
  959. \fI/etc/kopano/userscripts/deletecompany\fR
  960. .RE
  961. .RE
  962. .PP
  963. \fBuser_safe_mode\fR
  964. .RS 4
  965. If enabled, the storage server will only log when create, delete and move actions are done on an user object\&. This might be useful when you are testing changes to your plugin configuration\&.
  966. .sp
  967. Default:
  968. \fIno\fR
  969. .RE
  970. .SH "EXPLANATION OF S3 PARAMETERS"
  971. .PP
  972. \fBattachment_s3_hostname\fR
  973. .RS 4
  974. The hostname of the entry point to the S3 cloud where the bucket is located\&.
  975. .sp
  976. If you are using miniio or an other S3 compatible implementation that is using another port, you can specify the port with hostname:port\&.
  977. .RE
  978. .PP
  979. \fBattachment_s3_region\fR
  980. .RS 4
  981. The region where the bucket is located
  982. .RE
  983. .PP
  984. \fBattachment_s3_protocol\fR
  985. .RS 4
  986. The protocol that should be used to connect to S3, "http" or "https" (preferred)\&.
  987. .RE
  988. .PP
  989. \fBattachment_s3_uristyle\fR
  990. .RS 4
  991. The URL style of the bucket, "virtualhost" or "path"\&.
  992. .RE
  993. .PP
  994. \fBattachment_s3_accesskeyid\fR
  995. .RS 4
  996. The access key id of your S3 account\&.
  997. .RE
  998. .PP
  999. \fBattachment_s3_secretaccesskey\fR
  1000. .RS 4
  1001. The secret access key of your S3 account\&.
  1002. .RE
  1003. .PP
  1004. \fBattachment_s3_bucketname\fR
  1005. .RS 4
  1006. The bucket name in which the files will be stored\&.
  1007. .RE
  1008. .SH "EXPLANATION OF MISCELLEANIOUS PARAMETERS"
  1009. .PP
  1010. \fBenable_hosted_kopano\fR
  1011. .RS 4
  1012. Enable multi\-tenancy environment\&.
  1013. .sp
  1014. When set to true it is possible to create companies within the kopano instance and assign all users and groups to particular companies\&.
  1015. .sp
  1016. When set to false, the normal single\-tenancy environment is created\&.
  1017. .sp
  1018. Default:
  1019. \fIfalse\fR
  1020. .RE
  1021. .PP
  1022. \fBenable_distributed_kopano\fR
  1023. .RS 4
  1024. Enable multi\-server environment\&.
  1025. .sp
  1026. When set to true it is possible to place users and companies on specific servers\&.
  1027. .sp
  1028. When set to false, the normal single\-server environment is created\&.
  1029. .sp
  1030. Default:
  1031. \fIfalse\fR
  1032. .RE
  1033. .PP
  1034. \fBstorename_format\fR
  1035. .RS 4
  1036. Display format of store name\&.
  1037. .sp
  1038. Allowed variables:
  1039. .PP
  1040. \fB%u\fR
  1041. .RS 4
  1042. Username
  1043. .RE
  1044. .PP
  1045. \fB%f\fR
  1046. .RS 4
  1047. Fullname
  1048. .RE
  1049. .PP
  1050. \fB%c\fR
  1051. .RS 4
  1052. Companyname
  1053. .RE
  1054. .sp
  1055. Default:
  1056. \fI%f\fR
  1057. .RE
  1058. .PP
  1059. \fBloginname_format\fR
  1060. .RS 4
  1061. Loginname format (for multi\-tenancy installations)\&. When the user does not login through a system\-wide unique username (like the email address) a unique name has created by combining the username and the tenancyname\&. With the this configuration option you can set how the loginname should be build up\&.
  1062. .sp
  1063. Allowed variables:
  1064. .PP
  1065. \fB%u\fR
  1066. .RS 4
  1067. Username
  1068. .RE
  1069. .PP
  1070. \fB%c\fR
  1071. .RS 4
  1072. Companyname
  1073. .RE
  1074. .sp
  1075. Default:
  1076. \fI%u\fR
  1077. .RE
  1078. .PP
  1079. \fBclient_update_enabled\fR
  1080. .RS 4
  1081. Enable client updates\&.
  1082. .sp
  1083. You can place the Kopano Outlook Client installer in the client_update_path directory, and enable this option\&. Windows clients which have the automatic updater program installed will be able to download the latest client from the storage server\&.
  1084. .sp
  1085. Default:
  1086. \fIfalse\fR
  1087. .RE
  1088. .PP
  1089. \fBclient_update_path\fR
  1090. .RS 4
  1091. This is the path where you will place the Kopano Outlook Client MSI install program for Windows clients to download\&. You need the
  1092. \fBclient_update_enabled\fR
  1093. option set to
  1094. \fItrue\fR
  1095. for clients to actually download this file through the storage server\&.
  1096. .sp
  1097. Default:
  1098. \fI/var/lib/kopano/client\fR
  1099. .RE
  1100. .PP
  1101. \fBclient_update_log_level\fR
  1102. .RS 4
  1103. Receive the log information from the client auto update service\&.
  1104. .sp
  1105. Options: 0 disable, 1 sent only with errors, 2 always sent
  1106. .sp
  1107. Default:
  1108. \fI1\fR
  1109. .RE
  1110. .PP
  1111. \fBclient_update_log_path\fR
  1112. .RS 4
  1113. Log location for the client auto update files
  1114. .sp
  1115. You need the
  1116. \fBclient_update_log_level\fR
  1117. option set to non\-zero value to receive log files from the client\&.
  1118. .sp
  1119. Default:
  1120. \fI/var/log/kopano/autoupdate\fR
  1121. .RE
  1122. .PP
  1123. \fBsearch_enabled\fR
  1124. .RS 4
  1125. Use the kopano\-search indexing service for faster searching\&. Enabling this option requires the
  1126. \fBkopano-search\fR(8)
  1127. service to be running\&.
  1128. .sp
  1129. Default:
  1130. \fIyes\fR
  1131. .RE
  1132. .PP
  1133. \fBsearch_socket\fR
  1134. .RS 4
  1135. Path to the
  1136. \fBkopano-search\fR(8)
  1137. service, this option is only required if the server is going to make use of the indexing service\&.
  1138. .sp
  1139. Default:
  1140. \fIfile:///var/run/kopano/search\&.sock\fR
  1141. .RE
  1142. .PP
  1143. \fBsearch_timeout\fR
  1144. .RS 4
  1145. Time (in seconds) to wait for a connection to the
  1146. \fBkopano-search\fR(8)
  1147. before terminating the indexed search request\&.
  1148. .sp
  1149. Default:
  1150. \fI10\fR
  1151. .RE
  1152. .PP
  1153. \fBenable_enhanced_ics\fR
  1154. .RS 4
  1155. Allow enhanced ICS operations to speedup synchronization with cached profiles\&. Only disable this option for debugging purposes\&.
  1156. .sp
  1157. Default:
  1158. \fIyes\fR
  1159. .RE
  1160. .PP
  1161. \fBenable_sql_procedures\fR
  1162. .RS 4
  1163. SQL Procedures allow for some optimized queries when streaming with enhanced ICS\&. This is default disabled because you must set \*(Aqthread_stack = 256k\*(Aq in your MySQL server config under the [mysqld] tag and restart your MySQL server\&.
  1164. .sp
  1165. Default:
  1166. \fIno\fR
  1167. .RE
  1168. .PP
  1169. \fBfolder_max_items\fR
  1170. .RS 4
  1171. Limits the amount of items (messages or folders) in a single folder\&. This makes sure that the server will not attempt to load folders that are so large that it would require huge amounts of memory just to show the data\&. In practice, folders of over 1000000 items are usually created by runaway processes which are therefore useless anyway\&.
  1172. .sp
  1173. Default:
  1174. \fI1000000\fR
  1175. .RE
  1176. .PP
  1177. \fBsync_gab_realtime\fR
  1178. .RS 4
  1179. When set to \*(Aqyes\*(Aq, kopano will synchronize the local user list whenever a list of users is requested (eg during kopano\-admin \-l or when opening the addressbook)\&. When setting this value to \*(Aqno\*(Aq, synchronization will only occur during kopano\-admin \-\-sync\&. This is useful for setups which have large addressbooks (more than 1000 entries in the addressbook)\&.
  1180. .sp
  1181. This option is forced to \*(Aqyes\*(Aq when using the \*(Aqdb\*(Aq plugin since synchronization is implicit in that case\&.
  1182. .sp
  1183. Default:
  1184. \fIyes\fR
  1185. .RE
  1186. .PP
  1187. \fBcounter_reset\fR
  1188. .RS 4
  1189. The counter_reset option forces a recount of items in the folder each time a folder is opened\&. Although this is not strictly necessary, it is a precaution to make sure that counters are always correct\&. When enabled, this does incur a performance penalty, especially on large (>50000 items) folders\&. Each time a counter_reset found an incorrect item count, it increments the system statistic counter_resyncs\&. If it is at 0 on your system, then this option has had no effect except for slowing it down\&.
  1190. .sp
  1191. Default:
  1192. \fIyes\fR
  1193. .RE
  1194. .PP
  1195. \fBproxy_header\fR
  1196. .RS 4
  1197. In normal operation, a cluster of kopano\-server nodes is served by sending redirections back to the clients requesting information\&. The redirection URL is built from the server\*(Aqs information in the LDAP database\&. However, in some cases it is useful to place the kopano\-server instances behind a reverse HTTP proxy\&. In this case the redirected URL returned to the client cannot be the \*(Aqnormal\*(Aq hostname, but must be a URL that is handled by the proxy\&.
  1198. .sp
  1199. However, internal (\*(Aqbehind\*(Aq the proxy) redirections must *not* be redirected to the proxy since this is not necessary\&. The strategy is that kopano\-server will redirect to the proxy URL if the connection that initiated the redirect passed through a proxy\&. The way that this is detected is by examining an HTTP header\&. If the header specified by this option is found, then redirections will be to the proxy\&. If it is not, then redirections will be to the internal host\&. If the special value \*(Aq*\*(Aq is specified for this option, then the proxy URL will always be used\&. Specifying an empty value disables proxy detection\&.
  1200. .sp
  1201. Another effect of this option is that when a proxy connection is detected, kopano\-server attempts to use the \*(AqX\-Forwarded\-For\*(Aq header to determine the originating IP address\&. This is used for logging and session binding (a session initiated on a certain IP address may not be accessed from another IP address)\&.
  1202. .sp
  1203. Default:
  1204. .RE
  1205. .SH "RELOADING"
  1206. .PP
  1207. The following options are reloadable by sending the kopano\-server process a HUP signal or reload the process by the initscript
  1208. .PP
  1209. system_email_address, local_admin_users, allow_local_users, hide_system, hide_everyone, auth_method, pam_service, enable_sso, enable_gab, sync_gab_realtime
  1210. .RS 4
  1211. .RE
  1212. .PP
  1213. session_timeout, server_recv_timeout, server_read_timeout, server_send_timeout, sync_lifetime
  1214. .RS 4
  1215. .RE
  1216. .PP
  1217. log_level, audit_log_level
  1218. .RS 4
  1219. .RE
  1220. .PP
  1221. threads, watchdog_max_age, watchdog_frequency, max_deferred_records, max_deferred_records_folder
  1222. .RS 4
  1223. .RE
  1224. .PP
  1225. counter_reset, user_safe_mode, enable_enhanced_ics, client_update_log_level, client_update_path, client_update_log_path
  1226. .RS 4
  1227. .RE
  1228. .PP
  1229. search_enabled, search_socket, search_timeout, disabled_features, mysql_group_concat_max_len, embedded_attachment_limit, proxy_header
  1230. .RS 4
  1231. .RE
  1232. .PP
  1233. quota_warn, quota_soft, quota_hard, companyquota_warn
  1234. .RS 4
  1235. .RE
  1236. .PP
  1237. createuser_script, deleteuser_script, creategroup_script, deletegroup_script, createcompany_script, deletecompany_script
  1238. .RS 4
  1239. .RE
  1240. .SH "FILES"
  1241. .PP
  1242. /etc/kopano/server\&.cfg
  1243. .RS 4
  1244. The server configuration file\&.
  1245. .RE
  1246. .PP
  1247. /etc/kopano/ldap\&.cfg
  1248. .RS 4
  1249. The Kopano LDAP user plugin configuration file\&.
  1250. .RE
  1251. .PP
  1252. /etc/kopano/unix\&.cfg
  1253. .RS 4
  1254. The Kopano Unix user plugin configuration file\&.
  1255. .RE
  1256. .SH "AUTHOR"
  1257. .PP
  1258. Written by Kopano\&.
  1259. .SH "SEE ALSO"
  1260. .PP
  1261. \fBkopano-server\fR(8),
  1262. \fBkopano-ldap.cfg\fR(5),
  1263. \fBkopano-unix.cfg\fR(5)