kopano-spooler.cfg.5 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. '\" t
  2. .\" Title: kopano-spooler.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\-SPOOLER\&.CF" "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-spooler.cfg \- The Kopano spooler configuration file
  32. .SH "SYNOPSIS"
  33. .PP
  34. \fBspooler\&.cfg\fR
  35. .SH "DESCRIPTION"
  36. .PP
  37. The
  38. spooler\&.cfg
  39. is a configuration file for the Kopano Spooler\&.
  40. spooler\&.cfg
  41. contains instructions for the software to set up the logging system and outgoing smtp relay server\&.
  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. \fBsmtp_server\fR
  71. .RS 4
  72. Hostname or IP address of the outgoing SMTP server\&. This server needs to relay mail for your server\&.
  73. .sp
  74. Default:
  75. \fIlocalhost\fR
  76. .RE
  77. .PP
  78. \fBsmtp_port\fR
  79. .RS 4
  80. TCP Port number for smtp_server\&.
  81. .sp
  82. Default:
  83. \fI25\fR
  84. .RE
  85. .PP
  86. \fBserver_socket\fR
  87. .RS 4
  88. Unix socket to find the connection to the Kopano server\&.
  89. .sp
  90. Default:
  91. \fIfile:///var/run/kopano/server\&.sock\fR
  92. .RE
  93. .PP
  94. \fBrun_as_user\fR
  95. .RS 4
  96. After correctly starting, the spooler 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\&.
  97. .sp
  98. Default value is empty, not changing the user after starting\&.
  99. .RE
  100. .PP
  101. \fBrun_as_group\fR
  102. .RS 4
  103. After correctly starting, the spooler process will become this group, dropping root privileges\&.
  104. .sp
  105. Default value is empty, not changing the group after starting\&.
  106. .RE
  107. .PP
  108. \fBpid_file\fR
  109. .RS 4
  110. Write the process ID number to this file\&. This is used by the init\&.d script to correctly stop/restart the service\&.
  111. .sp
  112. Default:
  113. \fI/var/run/kopano/spooler\&.pid\fR
  114. .RE
  115. .PP
  116. \fBrunning_path\fR
  117. .RS 4
  118. 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\&.
  119. .sp
  120. Default:
  121. \fI/\fR
  122. .RE
  123. .PP
  124. \fBsslkey_file\fR
  125. .RS 4
  126. Use this file as key to logon to the server\&. This is only used when server_socket is set to an HTTPS transport\&. See the
  127. \fBkopano-server\fR(8)
  128. manual page on how to setup SSL keys\&.
  129. .sp
  130. Default: value not set\&.
  131. .RE
  132. .PP
  133. \fBsslkey_pass\fR
  134. .RS 4
  135. The password of the SSL key file that is set in sslkey_file\&.
  136. .sp
  137. Default: value not set\&.
  138. .RE
  139. .PP
  140. \fBlog_method\fR
  141. .RS 4
  142. The method which should be used for logging\&. Valid values are:
  143. .PP
  144. \fIsyslog\fR
  145. .RS 4
  146. Use the Linux system log\&. All messages will be written to the mail facility\&. See also
  147. \fBsyslog.conf\fR(5)\&.
  148. .RE
  149. .PP
  150. \fIfile\fR
  151. .RS 4
  152. Log to a file\&. The filename will be specified in
  153. \fBlog_file\fR\&.
  154. .RE
  155. .sp
  156. Default:
  157. \fIfile\fR
  158. .RE
  159. .PP
  160. \fBlog_file\fR
  161. .RS 4
  162. When logging to a file, specify the filename in this parameter\&. Use
  163. \fI\-\fR
  164. (minus sign) for stderr output\&.
  165. .sp
  166. Default:
  167. \fI/var/log/kopano/spooler\&.log\fR
  168. .RE
  169. .PP
  170. \fBlog_timestamp\fR
  171. .RS 4
  172. Specify whether to prefix each log line with a timestamp in \*(Aqfile\*(Aq logging mode\&.
  173. .sp
  174. Default:
  175. \fI1\fR
  176. .RE
  177. .PP
  178. \fBlog_buffer_size\fR
  179. .RS 4
  180. Buffer logging in what sized blocks\&. The special value 0 selects line buffering\&.
  181. .sp
  182. Default:
  183. \fI0\fR
  184. .RE
  185. .PP
  186. \fBlog_level\fR
  187. .RS 4
  188. The level of output for logging in the range from 0 to 5\&. 0 means no logging, 5 means full logging\&.
  189. .sp
  190. Default:
  191. \fI2\fR
  192. .RE
  193. .PP
  194. \fBmax_threads\fR
  195. .RS 4
  196. The maximum number of threads used to send outgoing messages\&. For each email in the outgoing queue a separate thread will be started in order to allow multiple emails to be send out simultaneously\&.
  197. .sp
  198. Default:
  199. \fI5\fR
  200. .RE
  201. .PP
  202. \fBfax_domain\fR
  203. .RS 4
  204. When an email is sent to a contact with a FAX type email address, the address will be rewritten to a normal SMTP address, using the scheme: <faxnumber>@<fax_domain>\&. You can install software in your SMTP server which handles these email addresses to actually fax the message to that number\&.
  205. .sp
  206. Default:
  207. .RE
  208. .PP
  209. \fBfax_international\fR
  210. .RS 4
  211. When sending an international fax, the number will start with a \*(Aq+\*(Aq sign\&. You can rewrite this to the digits you need to dial when dialing to another country\&.
  212. .sp
  213. Default:
  214. \fI+\fR
  215. .RE
  216. .PP
  217. \fBalways_send_delegates\fR
  218. .RS 4
  219. Normally, a user needs to give explicit rights to other users to be able to send under their name\&. When setting this value to \*(Aqyes\*(Aq, the spooler will not check these permissions, and will always send the email with \*(AqOn behalf of\*(Aq headers\&. Please note that this feature overrides \*(Aqsend\-as\*(Aq functionality\&.
  220. .sp
  221. Default:
  222. \fIno\fR
  223. .RE
  224. .PP
  225. \fBalways_send_tnef\fR
  226. .RS 4
  227. Meeting requests will be sent using iCalendar files\&. This adds compatibility to more calendar programs\&. To use the previous TNEF (winmail\&.dat) method, set this option to \*(Aqyes\*(Aq\&.
  228. .sp
  229. When an email body is written in RTF text, normally this data is sent using TNEF\&. If you want to send an HTML representation of the email instead and not use TNEF, set this to \*(Aqminimal\*(Aq\&.
  230. .sp
  231. Default:
  232. \fIno\fR
  233. .RE
  234. .PP
  235. \fBalways_send_utf8\fR
  236. .RS 4
  237. E\-mails can be sent in any charset that the e\-mail was written in\&. It may be desirable to always send in the UTF\-8 charset, which may be more widely supported\&. To enable e\-mail to always be sent in the utf\-8 charset, set this option to \*(Aqyes\*(Aq\&.
  238. .sp
  239. Default:
  240. \fIno\fR
  241. .RE
  242. .PP
  243. \fBenable_dsn\fR
  244. .RS 4
  245. Enable the Delivery Status Notifications (DSN) for users\&. If a user requests a DSN the spooler sends the request to the MTA and when the MTA support this the user will receive the report in the mailbox\&. When the MTA doesn\*(Aqt support DSN the user will not receive a report\&. Ensure you have a supported MTA like postfix 2\&.3 and higher\&. If DSN is disabled and the user request a DSN then it will be ignored and the delivery report is not sent\&.
  246. .sp
  247. Default:
  248. \fIyes\fR
  249. .RE
  250. .PP
  251. \fBcharset_upgrade\fR
  252. .RS 4
  253. Upgrades the us\-ascii charset to this charset\&. This makes sure high\-characters in recipients and attachment filenames are correctly sent when the body is in plain text\&. Not used when always_send_utf8 is enabled\&.
  254. .sp
  255. Default:
  256. \fIwindows\-1252\fR
  257. .RE
  258. .PP
  259. \fBallow_redirect_spoofing\fR
  260. .RS 4
  261. Normally, users are not allowed to send e\-mail from a different e\-mail address than their own\&. However, the \*(Aqredirect\*(Aq rule sends e\-mails with their original \*(Aqfrom\*(Aq address\&. Enabling this option allows redirected e\-mails to be sent with their original \*(Aqfrom\*(Aq e\-mail address\&.
  262. .sp
  263. Default:
  264. \fIyes\fR
  265. .RE
  266. .PP
  267. \fBcopy_delegate_mails\fR
  268. .RS 4
  269. Make a copy of the sent mail of delegates in the sent items folder of the representee\&. This is done for both delegate and send\-as e\-mails\&.
  270. .sp
  271. Default:
  272. \fIyes\fR
  273. .RE
  274. .PP
  275. \fBallow_delegate_meeting_request\fR
  276. .RS 4
  277. Normally, users are not allowed to send meeting requests as external delegate\&. However, when you want to forward meeting requests you need delegate permissions\&. Enabling this option allows you to sent and forward a meeting request as a delegate Kopano and SMTP user\&.
  278. .sp
  279. Default:
  280. \fIyes\fR
  281. .RE
  282. .PP
  283. \fBallow_send_to_everyone\fR
  284. .RS 4
  285. When set to \*(Aqno\*(Aq, sending to the \*(Aqeveryone\*(Aq group is disallowed\&. The entire message will be bounced if this is attempted\&. When set to \*(Aqyes\*(Aq, this allows sending to all users in the \*(Aqeveryone\*(Aq group\&.
  286. .sp
  287. Default:
  288. \fIyes\fR
  289. .RE
  290. .PP
  291. \fBexpand_groups\fR
  292. .RS 4
  293. Expand groups in headers of sent e\-mails\&. This means that the recipient of an e\-mail with one or more groups as recipients will see the members of the groups instead of the groups themselves\&. If a group has an e\-mail address, the group is not expanded irrespective of this setting, since having an e\-mail address for the group implies that this address can be used to send messages to the group\&.
  294. .sp
  295. Default:
  296. \fIno\fR
  297. .RE
  298. .PP
  299. \fBarchive_on_send\fR
  300. .RS 4
  301. Archive outgoing messages\&. If an archive is attached to the mailbox from which a message is send, the message will immediately be archived to the special Outgoing folder\&.
  302. .sp
  303. Messages that are archived this way are not attached to the original message in the primary store\&. So there\*(Aqs no easy way to find the original sent item based on an archive or find an archive based on the sent item in the primary store\&. This option is only intended to make sure all outgoing messages are stored without the possibility for the owner to delete them\&.
  304. .sp
  305. Default:
  306. \fIno\fR
  307. .RE
  308. .PP
  309. \fBplugin_enabled\fR
  310. .RS 4
  311. Enable or disable the spooler plugin framework\&.
  312. .sp
  313. Default:
  314. \fIyes\fR
  315. .RE
  316. .PP
  317. \fBplugin_manager_path\fR
  318. .RS 4
  319. The path to the spooler plugin manager\&.
  320. .sp
  321. Default:
  322. \fI/usr/share/kopano\-spooler/python\fR
  323. .RE
  324. .PP
  325. \fBplugin_path\fR
  326. .RS 4
  327. Path to the activated spooler plugins\&. This folder contains symlinks to the kopano plugins and custom scripts\&. The plugins are installed in
  328. \fI/usr/share/kopano\-spooler/python/plugins\fR\&. To activate a plugin create a symbolic link in the
  329. \fIplugin_path\fR
  330. directory\&.
  331. .sp
  332. Example:
  333. .sp
  334. \fBln\fR
  335. \fB\-s\fR
  336. \fI/usr/share/kopano\-spooler/python/plugins/BMP2PNG\&.py\fR
  337. \fI/var/lib/kopano/spooler/plugins/BMP2PNG\&.py\fR
  338. .sp
  339. Default:
  340. \fI/var/lib/kopano/spooler/plugins\fR
  341. .RE
  342. .SH "RELOADING"
  343. .PP
  344. The following options are reloadable by sending the kopano\-spooler process a HUP signal:
  345. .PP
  346. log_level, max_threads, archive_on_send
  347. .RS 4
  348. .RE
  349. .SH "FILES"
  350. .PP
  351. /etc/kopano/spooler\&.cfg
  352. .RS 4
  353. The Kopano spooler configuration file\&.
  354. .RE
  355. .SH "AUTHOR"
  356. .PP
  357. Written by Kopano\&.
  358. .SH "SEE ALSO"
  359. .PP
  360. \fBkopano-spooler\fR(8)