summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-07-19 02:01:28 +0000
committerXiao Pan <gky44px1999@gmail.com>2024-07-19 02:01:28 +0000
commit6bac2ca29b53cd34b90db952dae084b5a10b7117 (patch)
tree7d25a1263a6b782a41f98154b26ffa8030b0a91d
parent61b8c165b12e773739278fcdb7b1235a8d189992 (diff)
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.
-rw-r--r--etc/dovecot/conf.d/15-mailboxes.conf7
1 files changed, 3 insertions, 4 deletions
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