summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/files/etc/cron.d/doveadm
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2017-06-02 14:25:21 +0200
committerGuilhem Moulin <guilhem@fripost.org>2017-06-05 16:44:46 +0200
commitb7a7ceb88ed5b44959920cde170bc6aaa83026bb (patch)
tree57b529319a012b73d1f2b460c2484220e5203b7c /roles/IMAP/files/etc/cron.d/doveadm
parent1395cc86969823d9972517833c614becba8660a0 (diff)
dovecot: enable user iteration and add a cronjob for `doveadm purge -A`
Diffstat (limited to 'roles/IMAP/files/etc/cron.d/doveadm')
-rw-r--r--roles/IMAP/files/etc/cron.d/doveadm1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/IMAP/files/etc/cron.d/doveadm b/roles/IMAP/files/etc/cron.d/doveadm
index 1cb0ed8..b0551e4 100644
--- a/roles/IMAP/files/etc/cron.d/doveadm
+++ b/roles/IMAP/files/etc/cron.d/doveadm
@@ -1,3 +1,4 @@
MAILTO=root
59 * * * * vmail test -x /usr/bin/doveadm && nice -n 19 /usr/bin/doveadm sis deduplicate /home/mail/attachments /home/mail/attachments/queue
+37 5 * * * vmail test -x /usr/bin/doveadm && nice -n 19 /usr/bin/doveadm purge -A