kopano-spooler.8 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. '\" t
  2. .\" Title: kopano-spooler
  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" "8" "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 \- Start the Kopano spooler\&.
  32. .SH "SYNOPSIS"
  33. .HP \w'\fBkopano\-spooler\fR\ 'u
  34. \fBkopano\-spooler\fR [\fIOPTION\fR...] [\fISERVERNAME\fR]
  35. .SH "DESCRIPTION"
  36. .PP
  37. The spooler sends all pending Kopano e\-mail to the recipients\&. When started, the program will keep running and sending messages whenever needed\&.
  38. .PP
  39. The outgoing mailserver can be overwritten from the config file by specifying this on the commandline\&.
  40. .PP
  41. The default settings of the spooler program are defined in
  42. \fBkopano-spooler.cfg\fR(5)\&.
  43. .SH "OPTIONS"
  44. .PP
  45. Various options are possible\&. None of these options are required\&.
  46. .PP
  47. \fB\-\-config\fR, \fB\-c\fR \fIspooler\&.cfg\fR
  48. .RS 4
  49. Specify the location of the spooler\&.cfg file\&. If the spooler\&.cfg file is not specified, the spooler will try to load
  50. /etc/kopano/spooler\&.cfg\&. If that file is not present, it will continue using its default settings\&.
  51. .RE
  52. .PP
  53. \fB\-\-host\fR, \fB\-h\fR \fIpath\fR
  54. .RS 4
  55. Connect to the storage server through
  56. \fIpath\fR, e\&.g\&.
  57. file:///path/to/socket\&. Default:
  58. file:///var/run/kopano/server\&.sock\&. Overrides the config file setting\&.
  59. .RE
  60. .PP
  61. \fB\-\-foreground\fR, \fB\-F\fR
  62. .RS 4
  63. Run in the foreground\&. Normally the spooler will daemonize and run in the background\&.
  64. .RE
  65. .SH "USAGE"
  66. .PP
  67. To start the spooler delivering e\-mail to recipients:
  68. .PP
  69. \fBkopano\-spooler\fR
  70. .PP
  71. To start the spooler delivering e\-mail through
  72. smtp\&.example\&.com:
  73. .PP
  74. \fBkopano\-spooler\fR
  75. smtp\&.example\&.com
  76. .PP
  77. The spooler process will keep running and watching the outgoing queue for new mail to send\&. You may also use the init\&.d scripts:
  78. .PP
  79. \fB/etc/init\&.d/kopano\-spooler\fR
  80. [\fIstart\fR|
  81. \fIstop\fR|
  82. \fIrestart\fR]
  83. .SH "SIGNALS"
  84. .PP
  85. The following signals can be sent to the kopano\-spooler process:
  86. .PP
  87. \fBHUP\fR
  88. .RS 4
  89. When the HUP signal is received, some options from the configuration file are reloaded\&. The reloadable options are listed in the
  90. \fBkopano-spooler.cfg\fR(5)
  91. manual page\&.
  92. .sp
  93. Also, when using
  94. \fIlog_method = file\fR, the logfile will be closed and a new logfile will be opened\&. You can use this signal in your logrotate system\&.
  95. .RE
  96. .PP
  97. \fBTERM\fR
  98. .RS 4
  99. To gracefully let the service exit, the normal TERM signal is used\&. Because of multiple running threads, it may take up to 60 seconds for the server to completely shutdown\&.
  100. .RE
  101. .SH "AUTHOR"
  102. .PP
  103. Written by Kopano\&.
  104. .SH "SEE ALSO"
  105. .PP
  106. \fBkopano-spooler.cfg\fR(5),
  107. \fBkopano-server\fR(8)