From a2ffb5d39a68aab3b35a41d15998628dd661fc21 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Wed, 24 Aug 2022 08:18:49 +0200 Subject: [PATCH] autoexpunge trash after 30 days --- etc/dovecot/dovecot.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/dovecot/dovecot.conf b/etc/dovecot/dovecot.conf index 829493b..439ba60 100644 --- a/etc/dovecot/dovecot.conf +++ b/etc/dovecot/dovecot.conf @@ -15,6 +15,7 @@ verbose_ssl = no mail_location = maildir:/var/mail/vmail/%d/%n mail_plugins = $mail_plugins mail_crypt zlib mailbox_list_index = yes +mail_always_cache_fields = date.save #plugin setup plugin { @@ -169,6 +170,7 @@ namespace inbox { } mailbox Trash { special_use = \Trash + autoexpunge = 30d } mailbox Sent {