kopano-ical.cfg.5 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. '\" t
  2. .\" Title: kopano-ical.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\-ICAL\&.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-ical.cfg \- The Kopano iCal/CalDAV gateway configuration file
  32. .SH "SYNOPSIS"
  33. .PP
  34. \fBical\&.cfg\fR
  35. .SH "DESCRIPTION"
  36. .PP
  37. The
  38. ical\&.cfg
  39. is a configuration file for the Kopano iCal/CalDAV Gateway\&.
  40. ical\&.cfg
  41. contains instructions for the software to set up the logging system and to enable or disable the normal or SSL part of the service\&.
  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 EACH PARAMETER"
  69. .PP
  70. \fBserver_bind\fR
  71. .RS 4
  72. IP address to bind to\&. Leave empty to bind to all addresses\&.
  73. .sp
  74. Default: (empty)
  75. .RE
  76. .PP
  77. \fBical_enable\fR
  78. .RS 4
  79. Enable iCal/CalDAV service with value yes\&. All other values disable the service\&.
  80. .sp
  81. Default:
  82. \fIyes\fR
  83. .RE
  84. .PP
  85. \fBical_port\fR
  86. .RS 4
  87. The iCal/CalDAV service will listen on this port for incoming connections\&.
  88. .sp
  89. Default:
  90. \fI8080\fR
  91. .RE
  92. .PP
  93. \fBicals_enable\fR
  94. .RS 4
  95. Enable SSL iCal/CalDAV service with value yes\&. All other values disable the service\&.
  96. .sp
  97. Default:
  98. \fIyes\fR
  99. .RE
  100. .PP
  101. \fBicals_port\fR
  102. .RS 4
  103. The SSL iCal/CalDAV service will listen on this port for incoming connections\&.
  104. .sp
  105. Default:
  106. \fI8443\fR
  107. .RE
  108. .PP
  109. \fBserver_socket\fR
  110. .RS 4
  111. The http address of the storage server\&.
  112. .sp
  113. Default:
  114. \fIhttp://localhost:236/\fR
  115. .sp
  116. It is not advised to specify the UNIX socket here, but the http address instead\&. In default configuration the gateway will then be trusted by the storage server (as set in its local_admin_users configuration setting)\&. Unless is run as an untrusted user, by specifying the
  117. \fBrun_as_user\fR, the gateway always authenticates users even if they provide no or wrong credentials!
  118. .RE
  119. .PP
  120. \fBrun_as_user\fR
  121. .RS 4
  122. After correctly starting, the iCal/CalDAV gateway 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\&.
  123. .sp
  124. Default value is empty, not changing the user after starting\&.
  125. .RE
  126. .PP
  127. \fBrun_as_group\fR
  128. .RS 4
  129. After correctly starting, the iCal/CalDAV gateway process will become this group, dropping root privileges\&.
  130. .sp
  131. Default value is empty, not changing the group after starting\&.
  132. .RE
  133. .PP
  134. \fBpid_file\fR
  135. .RS 4
  136. Write the process ID number to this file\&. This is used by the init\&.d script to correctly stop/restart the service\&.
  137. .sp
  138. Default:
  139. \fI/var/run/kopano/ical\&.pid\fR
  140. .RE
  141. .PP
  142. \fBrunning_path\fR
  143. .RS 4
  144. 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\&.
  145. .sp
  146. Default:
  147. \fI/\fR
  148. .RE
  149. .PP
  150. \fBprocess_model\fR
  151. .RS 4
  152. You can change the process model between
  153. \fIfork\fR
  154. and
  155. \fIthread\fR\&. The forked model uses somewhat more resources, but if a crash is triggered, this will only affect one user\&. In the threaded model, a crash means all users are affected, and will not be able to use the service\&.
  156. .sp
  157. Default:
  158. \fIfork\fR
  159. .RE
  160. .PP
  161. \fBssl_private_key_file\fR
  162. .RS 4
  163. The iCal/CalDAV gateway will use this file as private key for SSL TLS\&. This file can be created with:
  164. \fBopenssl genrsa \-out /etc/kopano/ical/privkey\&.pem 2048\fR\&.
  165. .sp
  166. Default:
  167. \fI/etc/kopano/ical/privkey\&.pem\fR
  168. .RE
  169. .PP
  170. \fBssl_certificate_file\fR
  171. .RS 4
  172. The iCal/CalDAV gateway will use this file as certificate for SSL TLS\&. A self\-signed certificate can be created with:
  173. \fBopenssl req \-new \-x509 \-key /etc/kopano/ical/privkey\&.pem \-out /etc/kopano/ical/cert\&.pem \-days 1095\fR\&.
  174. .sp
  175. Default:
  176. \fI/etc/kopano/ical/cert\&.pem\fR
  177. .RE
  178. .PP
  179. \fBssl_verify_client\fR
  180. .RS 4
  181. Enable client certificate verification with value yes\&. All other values disable the verification\&.
  182. .sp
  183. Default:
  184. \fIno\fR
  185. .RE
  186. .PP
  187. \fBssl_verify_file\fR
  188. .RS 4
  189. The file to verify the clients certificates with\&.
  190. .sp
  191. Default: value not set\&.
  192. .RE
  193. .PP
  194. \fBssl_verify_path\fR
  195. .RS 4
  196. The path with the files to verify the clients certificates with\&.
  197. .sp
  198. Default: value not set\&.
  199. .RE
  200. .PP
  201. \fBssl_protocols\fR
  202. .RS 4
  203. Disabled or enabled protocol names\&. Supported protocol names are
  204. \fISSLv3\fR
  205. and
  206. \fITLSv1\fR\&. If Kopano was linked against OpenSSL 1\&.0\&.1 or later there is additional support for the new protocols
  207. \fITLSv1\&.1\fR
  208. and
  209. \fITLSv1\&.2\fR\&. To exclude both SSLv3 and TLSv1, set
  210. \fBserver_ssl_protocols\fR
  211. to
  212. \fI!SSLv3 !TLSv1\fR\&.
  213. .sp
  214. Default: SSLv2 being disabled
  215. .RE
  216. .PP
  217. \fBssl_ciphers\fR
  218. .RS 4
  219. SSL ciphers to use, set to
  220. \fIALL\fR
  221. for backward compatibility\&.
  222. .sp
  223. Default:
  224. \fIALL:!LOW:!SSLv2:!EXP:!aNULL\fR
  225. .RE
  226. .PP
  227. \fBssl_prefer_server_ciphers\fR
  228. .RS 4
  229. Prefer the server\*(Aqs order of SSL ciphers over client\*(Aqs\&.
  230. .sp
  231. Default:
  232. \fIno\fR
  233. .RE
  234. .PP
  235. \fBlog_method\fR
  236. .RS 4
  237. The method which should be used for logging\&. Valid values are:
  238. .PP
  239. \fIsyslog\fR
  240. .RS 4
  241. Use the Linux system log\&. All messages will be written to the mail facility\&. See also
  242. \fBsyslog.conf\fR(5)\&.
  243. .RE
  244. .PP
  245. \fIfile\fR
  246. .RS 4
  247. Log to a file\&. The filename will be specified in
  248. \fBlog_file\fR\&.
  249. .RE
  250. .sp
  251. Default:
  252. \fIfile\fR
  253. .RE
  254. .PP
  255. \fBlog_file\fR
  256. .RS 4
  257. When logging to a file, specify the filename in this parameter\&. Use
  258. \fI\-\fR
  259. (minus sign) for stderr output\&.
  260. .sp
  261. Default:
  262. \fI/var/log/kopano/ical\&.log\fR
  263. .RE
  264. .PP
  265. \fBlog_level\fR
  266. .RS 4
  267. The level of output for logging in the range from 0 to 5\&. 0=no logging, 5=full logging\&.
  268. .sp
  269. Default:
  270. \fI2\fR
  271. .RE
  272. .PP
  273. \fBlog_timestamp\fR
  274. .RS 4
  275. Specify whether to prefix each log line with a timestamp in \*(Aqfile\*(Aq logging mode\&.
  276. .sp
  277. Default:
  278. \fI1\fR
  279. .RE
  280. .PP
  281. \fBlog_buffer_size\fR
  282. .RS 4
  283. Buffer logging in what sized blocks\&. The special value 0 selects line buffering\&.
  284. .sp
  285. Default:
  286. \fI0\fR
  287. .RE
  288. .PP
  289. \fBenable_ical_get\fR
  290. .RS 4
  291. Enable the ical GET method to download an entire calendar\&. When set to \*(Aqyes\*(Aq, the GET method is enabled and allowed\&. If not, then calendars can only be retrieved with the CalDAV PROPFIND method, which is much more efficient\&. This option allows you to force the use of CalDAV which lowers load on your server\&.
  292. .RE
  293. .SH "RELOADING"
  294. .PP
  295. The following options are reloadable by sending the kopano\-ical process a HUP signal:
  296. .PP
  297. log_level
  298. .RS 4
  299. .RE
  300. .SH "FILES"
  301. .PP
  302. /etc/kopano/ical\&.cfg
  303. .RS 4
  304. The Kopano iCal/CalDAV gateway configuration file\&.
  305. .RE
  306. .SH "AUTHOR"
  307. .PP
  308. Written by Kopano\&.
  309. .SH "SEE ALSO"
  310. .PP
  311. \fBkopano-ical\fR(8)