summaryrefslogtreecommitdiff
path: root/etc/dovecot/conf.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/dovecot/conf.d')
-rw-r--r--etc/dovecot/conf.d/15-mailboxes.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/dovecot/conf.d/15-mailboxes.conf b/etc/dovecot/conf.d/15-mailboxes.conf
index 95f99394..409c791c 100644
--- a/etc/dovecot/conf.d/15-mailboxes.conf
+++ b/etc/dovecot/conf.d/15-mailboxes.conf
@@ -54,10 +54,14 @@ namespace inbox {
mailbox Junk {
special_use = \Junk
auto = subscribe
+ # https://doc.dovecot.org/configuration_manual/namespace/#core_setting-namespace/mailbox/autoexpunge
+ # https://github.com/LukeSmithxyz/emailwiz/blob/558c4de108a472eca70abca20888de2981ff17ca/emailwiz.sh#L259
+ autoexpunge = 40d
}
mailbox Trash {
special_use = \Trash
auto = subscribe
+ autoexpunge = 40d
}
# For \Sent mailboxes there are two widely used names. We'll mark both of