summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-25 16:37:54 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-25 16:38:23 +0100
commita39311109485ac73425afff0521af5f772ff63e7 (patch)
tree299ff8eaa585fa6d185b63565960e5c176684f73 /share
parentff846861b629c3ec697d04207ca681505970e3a6 (diff)
downloadpykolab-a39311109485ac73425afff0521af5f772ff63e7.tar.gz
Make sure squatter runs regularly (#801)
Diffstat (limited to 'share')
-rw-r--r--share/templates/cyrus.conf.tpl12
1 files changed, 11 insertions, 1 deletions
diff --git a/share/templates/cyrus.conf.tpl b/share/templates/cyrus.conf.tpl
index 9d6ac0f..056c210 100644
--- a/share/templates/cyrus.conf.tpl
+++ b/share/templates/cyrus.conf.tpl
@@ -37,8 +37,18 @@ EVENTS {
# this is only necessary if using duplicate delivery suppression,
# Sieve or NNTP
- delprune cmd="cyr_expire -E 3" at=0400
+ duplicate_prune cmd="cyr_expire -E 3" at=0400
+
+ # Expire data older then 69 days. Two full months of 31 days
+ # each includes two full backup cycles, plus 1 week margin
+ # because we run our full backups on the first sat/sun night
+ # of each month.
+ delete_prune cmd="cyr_expire -E 4 -D 69" at=0430
+ expunge_prune cmd="cyr_expire -E 4 -X 69" at=0445
# this is only necessary if caching TLS sessions
tlsprune cmd="tls_prune" at=0400
+
+ # Create search indexes regularly
+ squatter cmd="squatter -s -i" at=0530
}