source: npl/mailserver/kopano_conf/root/etc/kopano/archiver.cfg @ 2c1b61a

gcc484perl-5.22
Last change on this file since 2c1b61a was 2c1b61a, checked in by Edwin Eefting <edwin@datux.nl>, 7 years ago

migrated settings to new default configs

  • Property mode set to 100644
File size: 3.9 KB
Line 
1##############################################################
2# ARCHIVER SETTINGS
3
4# Server Unix socket location
5#server_socket = file:///var/run/kopano/server.sock
6
7# Disable archiving momentarily by setting this to 'no'
8archive_enable  =       yes
9
10# Archive messages older than N days
11archive_after   =       30
12
13# Stubbing messages requires a multi-server environment
14stub_enable     =       no
15
16# Unread messages can be skipped in the stubbing process
17stub_unread     =       no
18
19# Only stub messages after N days, 0 for the same as archive_after
20stub_after      =       0
21
22# Delete archives messages from the original server. Only archived messages can be deleted.
23delete_enable   =       no
24
25# Also delete unread messages from the original server
26delete_unread   =       no
27
28# Only delete messages after N days, 0 for the same as archive_after
29delete_after    =       0
30
31# Purge messages from the archive server(s).
32purge_enable    =       no
33
34# Only purge messages after N days, 0 for the same as archive_after
35# Default: 2555 (7 years)
36purge_after     =       2555
37
38# Specify what action should be taken on archive messages whose primary message
39# has been deleted. The normal options are 'store' and 'delete', meaning store the
40# archived message in a special 'Deleted' folder or delete the archived messages
41# respectively. A third option 'none' skips the entire cleanup_action, and therefore
42# effectively turns off archiver cleanup, leaving archived messages as they are.
43# Default: store
44cleanup_action  =       store
45
46# Specify if items that are cleaned up from the archive are at least the age
47# that is specified in the purge_after setting. This is to avoid messages
48# being deleted from the archive when they where deleted from the primary
49# store by a delete operation.
50# Note that setting to yes, will cause a cleanup run to seemingly do nothing.
51# A rule of thumb is to set this to the same value as delete_enable. So when
52# delete_enable is set to yes, make sure cleanup_follow_purge_after is also
53# set to yes.
54# Default: no
55cleanup_follow_purge_after      =       no
56
57# Specify whether on each archive run an auto-attach run is performed in order
58# to match the attached archives to the requested state as specified in LDAP or
59# ADS.
60# Default: no
61enable_auto_attach = no
62
63# Specify whether an auto attached archive will be granted write permissions
64# for the user it's attached to.
65# Default: yes
66auto_attach_writable = yes
67
68##############################################################
69# ARCHIVER LOG SETTINGS
70
71# Logging method (syslog, file)
72log_method      =       file
73
74# Loglevel (0(none), 1(crit), 2(err), 3(warn), 4(notice), 5(info), 6(debug))
75#log_level      =       3
76
77# Logfile for log_method = file, use '-' for stderr
78log_file        =       /var/log/kopano/archiver.log
79
80# Log timestamp - prefix each log line with timestamp in 'file' logging mode
81log_timestamp   =       1
82
83# Buffer logging in what sized blocks. 0 for line-buffered (syslog-style).
84#log_buffer_size = 0
85
86##############################################################
87# ARCHIVER SSL LOGIN SETTINGS
88#
89# Note: server_socket must be set to https://servername:portname/
90#       to use this type of login method
91
92# Login to the storage server using this SSL Key
93#sslkey_file = /etc/kopano/ssl/archiver.pem
94
95# The password of the SSL Key
96#sslkey_pass = replace-with-archiver-cert-password
97
98##############################################################
99# ARCHIVER INSTANCE PROTECTION SETTINGS
100
101# Control pid file
102# Default: /var/run/kopano/archiver.pid
103#pid_file = /var/run/kopano/archiver.pid
104
105##############################################################
106# ARCHIVER MYSQL SETTINGS
107
108# MySQL hostname to connect to for database access
109mysql_host              = localhost
110
111# MySQL port to connect with (usually 3306)
112mysql_port              = 3306
113
114# The user under which we connect with MySQL
115mysql_user              = root
116
117# The password for the user (leave empty for no password)
118mysql_password          =
119
120# Override the default MySQL socket to access mysql locally
121# Works only if the mysql_host value is empty or 'localhost'
122mysql_socket            =
123
124# Database to connect to
125mysql_database          = kopano_archiver
Note: See TracBrowser for help on using the repository browser.