123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340 |
- '\" t
- .\" Title: kopano-archiver.cfg
- .\" Author: [see the "Author" section]
- .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
- .\" Date: November 2016
- .\" Manual: Kopano Core user reference
- .\" Source: Kopano 8
- .\" Language: English
- .\"
- .TH "KOPANO\-ARCHIVER\&.C" "5" "November 2016" "Kopano 8" "Kopano Core user reference"
- .\" -----------------------------------------------------------------
- .\" * Define some portability stuff
- .\" -----------------------------------------------------------------
- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- .\" http://bugs.debian.org/507673
- .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- .ie \n(.g .ds Aq \(aq
- .el .ds Aq '
- .\" -----------------------------------------------------------------
- .\" * set default formatting
- .\" -----------------------------------------------------------------
- .\" disable hyphenation
- .nh
- .\" disable justification (adjust text to left margin only)
- .ad l
- .\" -----------------------------------------------------------------
- .\" * MAIN CONTENT STARTS HERE *
- .\" -----------------------------------------------------------------
- .SH "NAME"
- kopano-archiver.cfg \- The Kopano archiver configuration file
- .SH "SYNOPSIS"
- .PP
- \fBarchiver\&.cfg\fR
- .SH "DESCRIPTION"
- .PP
- The
- archiver\&.cfg
- is a configuration file for the Kopano Archiver\&.
- archiver\&.cfg
- contains instructions for the software to set up the logging system and specific actions the archiver can do\&.
- .SH "FILE FORMAT"
- .PP
- The file consists of one big section, but parameters can be grouped by functionality\&.
- .PP
- The parameters are written in the form:
- .PP
- \fBname\fR
- =
- \fIvalue\fR
- .PP
- 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\&.
- .PP
- Directives are written in the form:
- .PP
- !\fBdirective\fR
- \fI[argument(s)] \fR
- .PP
- The following directives exist:
- .PP
- \fBinclude\fR
- .RS 4
- Include and process
- \fIargument\fR
- .sp
- Example: !include common\&.cfg
- .RE
- .SH "EXPLANATION OF EACH PARAMETER"
- .PP
- \fBserver_socket\fR
- .RS 4
- Unix socket to find the connection to the Kopano server\&.
- .sp
- Default:
- \fIfile:///var/run/kopano/server\&.sock\fR
- .RE
- .PP
- \fBsslkey_file\fR
- .RS 4
- 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
- \fBkopano-server\fR(8)
- manual page on how to setup SSL keys\&.
- .sp
- Default: value not set\&.
- .RE
- .PP
- \fBsslkey_pass\fR
- .RS 4
- The password of the SSL key file that is set in sslkey_file\&.
- .sp
- Default: value not set\&.
- .RE
- .PP
- \fBarchive_enable\fR
- .RS 4
- Specifies if the archive step will be performed\&. The archive step is basically the copy to the archive\&.
- .sp
- Default:
- \fIyes\fR
- .RE
- .PP
- \fBarchive_after\fR
- .RS 4
- Specifies the age in days of a message before it will be archived\&.
- .sp
- Default:
- \fI30\fR
- .RE
- .PP
- \fBstub_enable\fR
- .RS 4
- Specifies if the stub step will be performed\&. Stubbing is the process of removing the data from a message and only leaving a reference to one or more archived versions of that message\&. When such a message is opened it will be de\-stubbed on the fly, leaving the user with a normal message to work with\&.
- .sp
- A message will never be stubbed if it\*(Aqs not yet archived\&.
- .sp
- Default:
- \fIno\fR
- .RE
- .PP
- \fBstub_unread\fR
- .RS 4
- Specifies if unread messages will be stubbed\&.
- .sp
- Default:
- \fIno\fR
- .RE
- .PP
- \fBstub_after\fR
- .RS 4
- Specifies the age in days of a message before it will be stubbed\&.
- .sp
- Default:
- \fI0\fR
- .RE
- .PP
- \fBdelete_enable\fR
- .RS 4
- Specifies if the delete step will be performed\&. The delete step deletes messages from the users store if they\*(Aqre old enough\&. This way even more space is freed\&.
- .sp
- A message will never be deleted if it\*(Aqs not yet archived\&.
- .sp
- A message will never be deleted from the archive\&.
- .sp
- Default:
- \fIno\fR
- .RE
- .PP
- \fBdelete_unread\fR
- .RS 4
- Specifies if unread messages will be deleted\&.
- .sp
- Default:
- \fIno\fR
- .RE
- .PP
- \fBdelete_after\fR
- .RS 4
- Specifies the age in days of a message before it will be deleted\&.
- .sp
- Default:
- \fI0\fR
- .RE
- .PP
- \fBpurge_enable\fR
- .RS 4
- Specifies if message will be purged from the archive after a certain amount of time\&.
- .sp
- Default:
- \fIno\fR
- .RE
- .PP
- \fBpurge_after\fR
- .RS 4
- Specifies the age in days of a message before it will be purged\&. *Note that the age is measured from the time it was originally delivered in the primay store\&.
- .sp
- Default:
- \fI0\fR
- .RE
- .PP
- \fBtrack_history\fR
- .RS 4
- Specifies the behaviour of the archiver when re\-archiving messages that were changed after they were archived\&. When track_history is set to no, the archived version will be updated to contain the most actual information\&. When track_history is set to yes, a new copy of the message will be created in the archive, and the previous version is linked to it\&. This way the change history can be tracked\&.
- .sp
- Default:
- \fIno\fR
- .RE
- .PP
- \fBcleanup_action\fR
- .RS 4
- Specify what action should be taken on archive messages whose primary message has been deleted\&. The options are \*(Aqstore\*(Aq and \*(Aqdelete\*(Aq, meaning store the archived message in a special \*(AqDeleted\*(Aq folder or delete the archived messages respectively\&.
- .sp
- Default:
- \fIstore\fR
- .RE
- .PP
- \fBcleanup_follow_purge_after\fR
- .RS 4
- Specify if items that are cleaned up from the archive are at least the age that is specified in the purge_after setting\&. This is to avoid messages being deleted from the archive when they where deleted from the primary store by a delete operation\&. Note that setting to yes, will cause a cleanup run to seemingly do nothing\&. A rule of thumb is to set this to the same value as delete_enable\&. So when delete_enable is set to yes, make sure cleanup_follow_purge_after is also set to yes\&.
- .sp
- Default:
- \fIno\fR
- .RE
- .PP
- \fBenable_auto_attach\fR
- .RS 4
- Specify whether on each archive run an auto\-attach run is performed in order to match the attached archives to the requested state as specified in LDAP or ADS\&.
- .sp
- Default:
- \fIno\fR
- .RE
- .PP
- \fBauto_attach_writable\fR
- .RS 4
- Specify whether an auto attached archive will be granted write permissions for the user it\*(Aqs attached to\&.
- .sp
- Default:
- \fIyes\fR
- .RE
- .PP
- \fBlog_method\fR
- .RS 4
- The method which should be used for logging\&. Valid values are:
- .PP
- \fIsyslog\fR
- .RS 4
- Use the Linux system log\&. All messages will be written to the mail facility\&. See also
- \fBsyslog.conf\fR(5)\&.
- .RE
- .PP
- \fIfile\fR
- .RS 4
- Log to a file\&. The filename will be specified in
- \fBlog_file\fR\&.
- .RE
- .sp
- Default:
- \fIfile\fR
- .RE
- .PP
- \fBlog_file\fR
- .RS 4
- When logging to a file, specify the filename in this parameter\&. Use
- \fI\-\fR
- (minus sign) for stderr output\&.
- .sp
- Default:
- \fI\-\fR
- .RE
- .PP
- \fBlog_timestamp\fR
- .RS 4
- Specify whether to prefix each log line with a timestamp in \*(Aqfile\*(Aq logging mode\&.
- .sp
- Default:
- \fI1\fR
- .RE
- .PP
- \fBlog_buffer_size\fR
- .RS 4
- Buffer logging in what sized blocks\&. The special value 0 selects line buffering\&.
- .sp
- Default:
- \fI0\fR
- .RE
- .PP
- \fBlog_level\fR
- .RS 4
- The level of output for logging in the range from 0 to 5\&. 0 means no logging, 5 means full logging\&.
- .sp
- Default:
- \fI2\fR
- .RE
- .PP
- \fBpid_file\fR
- .RS 4
- The location of the pid file used to guarantee only one instance of kopano\-archiver is running in non\-administrative mode\&.
- .sp
- Default:
- \fI/var/run/kopano/archiver\&.pid \fR
- .RE
- .SH "EXPLANATION OF THE MYSQL SETTINGS PARAMETERS"
- .PP
- \fBmysql_host\fR
- .RS 4
- The hostname of the MySQL server to use\&.
- .sp
- Default:
- \fIlocalhost\fR
- .RE
- .PP
- \fBmysql_port\fR
- .RS 4
- The port of the MySQL server to use\&.
- .sp
- Default:
- \fI3306\fR
- .RE
- .PP
- \fBmysql_user\fR
- .RS 4
- The user under which we connect with MySQL\&.
- .sp
- Default:
- \fIroot\fR
- .RE
- .PP
- \fBmysql_password\fR
- .RS 4
- The password to use for MySQL\&. Leave empty for no password\&.
- .sp
- Default:
- .RE
- .PP
- \fBmysql_socket\fR
- .RS 4
- 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
- .sp
- Default:
- .RE
- .PP
- \fBmysql_database\fR
- .RS 4
- The MySQL database to connect to\&.
- .sp
- Default:
- \fIkopano\fR
- .RE
- .SH "FILES"
- .PP
- /etc/kopano/archiver\&.cfg
- .RS 4
- The Kopano archiver configuration file\&.
- .RE
- .SH "AUTHOR"
- .PP
- Written by Kopano\&.
- .SH "SEE ALSO"
- .PP
- \fBkopano-archiver\fR(8)
|