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:37:54 +0100
commit3b3d2b56a880e9ce08a3bb1279860d4dc6eed069 (patch)
treee295edcc1a5090830b285ed1d0332bf4b80a58ef /share
parent3c189aa376e98790ab006d16f5b61b82059ef3ad (diff)
downloadpykolab-3b3d2b56a880e9ce08a3bb1279860d4dc6eed069.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
}