File: archiver.cfg

package info (click to toggle)
kopanocore 8.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 15,400 kB
  • sloc: cpp: 175,422; python: 24,623; perl: 7,319; php: 6,056; sh: 2,172; makefile: 1,294; xml: 45; ansic: 1
file content (131 lines) | stat: -rw-r--r-- 4,238 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
##############################################################
# ARCHIVER SETTINGS

# Server Unix socket location
#server_socket = file:///var/run/kopano/server.sock

# Disable archiving momentarily by setting this to 'no'
#archive_enable = yes

# Archive messages older than N days
#archive_after = 30

# Stubbing messages requires a multi-server environment
#stub_enable = no

# Unread messages can be skipped in the stubbing process
#stub_unread = no

# Only stub messages after N days, 0 for the same as archive_after
#stub_after = 0

# Delete archives messages from the original server. Only archived messages can be deleted.
#delete_enable = no

# Also delete unread messages from the original server
#delete_unread = no

# Only delete messages after N days, 0 for the same as archive_after
#delete_after = 0

# Purge messages from the archive server(s).
#purge_enable = no

# Only purge messages after N days, 0 for the same as archive_after
# Default: 2555 (~7 years)
#purge_after = 2555

# Specify what action should be taken on archive messages whose primary message
# has been deleted. The normal options are 'store' and 'delete', meaning store the
# archived message in a special 'Deleted' folder or delete the archived messages
# respectively. A third option 'none' skips the entire cleanup_action, and therefore
# effectively turns off archiver cleanup, leaving archived messages as they are.
# Default: store
#cleanup_action = store

# 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.
# Default: no
#cleanup_follow_purge_after = no

# 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.
# Default: no
#enable_auto_attach = no

# Specify whether an auto attached archive will be granted write permissions
# for the user it's attached to.
# Default: yes
#auto_attach_writable = yes

##############################################################
# ARCHIVER LOG SETTINGS

# Logging method (syslog, file)
#log_method = file

# Loglevel (0(none), 1(crit), 2(err), 3(warn), 4(notice), 5(info), 6(debug))
#log_level = 3

# Logfile for log_method = file, use '-' for stderr
# Default: -
#log_file = /var/log/kopano/archiver.log

# Log timestamp - prefix each log line with timestamp in 'file' logging mode
#log_timestamp = yes

# Buffer logging in what sized blocks. 0 for line-buffered (syslog-style).
#log_buffer_size = 0

##############################################################
# ARCHIVER SSL LOGIN SETTINGS
#
# Note: server_socket must be set to https://servername:portname/
#       to use this type of login method

# Login to the storage server using this SSL Key
#sslkey_file = /etc/kopano/ssl/archiver.pem

# The password of the SSL Key
#sslkey_pass = replace-with-archiver-cert-password

##############################################################
# ARCHIVER INSTANCE PROTECTION SETTINGS

# Control pid file
# Default: /var/run/kopano/archiver.pid
#pid_file = /var/run/kopano/archiver.pid

##############################################################
# ARCHIVER MYSQL SETTINGS

# MySQL hostname to connect to for database access
#mysql_host = localhost

# MySQL port to connect with (usually 3306)
#mysql_port = 3306

# The user under which we connect with MySQL
#mysql_user = root

# The password for the user (leave empty for no password)
#mysql_password =

# Override the default MySQL socket to access mysql locally
# Works only if the mysql_host value is empty or 'localhost'
#mysql_socket =

# Database to connect to
#mysql_database = kopano_archiver

# MySQL engine, per default it is InnoDB, which is the only supported
# database engine. It is NOT advised to use a non-transactional engine
# like MyISAM, Aria, etc.
#mysql_engine = InnoDB