From 6bac2ca29b53cd34b90db952dae084b5a10b7117 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 19 Jul 2024 02:01:28 +0000 Subject: dovecot change auto delete configs dovecot no auto delete Junk, read junk first to determine if it is spam. Trash only auto delete after 10 days, because consider in the future I may only do backup weekly, 10 days can make sure it is backuped. --- etc/dovecot/conf.d/15-mailboxes.conf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'etc/dovecot') diff --git a/etc/dovecot/conf.d/15-mailboxes.conf b/etc/dovecot/conf.d/15-mailboxes.conf index 409c791c..39e44737 100644 --- a/etc/dovecot/conf.d/15-mailboxes.conf +++ b/etc/dovecot/conf.d/15-mailboxes.conf @@ -54,14 +54,13 @@ 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 + # https://doc.dovecot.org/configuration_manual/namespace/#core_setting-namespace/mailbox/autoexpunge + # https://github.com/LukeSmithxyz/emailwiz/blob/558c4de108a472eca70abca20888de2981ff17ca/emailwiz.sh#L259 + autoexpunge = 10d } # For \Sent mailboxes there are two widely used names. We'll mark both of -- cgit v1.2.3-70-g09d2