From dd25e433163a90e64db0fcb2606276f64c617da7 Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Thu, 22 Aug 2024 20:43:48 +0200 Subject: Add archive & automatically create mailboxes --- ansible/roles/dovecot/templates/configs/15-mailboxes.conf.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ansible') diff --git a/ansible/roles/dovecot/templates/configs/15-mailboxes.conf.j2 b/ansible/roles/dovecot/templates/configs/15-mailboxes.conf.j2 index ad1cdf3..534b505 100644 --- a/ansible/roles/dovecot/templates/configs/15-mailboxes.conf.j2 +++ b/ansible/roles/dovecot/templates/configs/15-mailboxes.conf.j2 @@ -49,21 +49,29 @@ # NOTE: Assumes "namespace inbox" has been defined in 10-mail.conf. namespace inbox { # These mailboxes are widely used and could perhaps be created automatically: + mailbox Archive { + special_use = \Archive + auto = subscribe + } mailbox Drafts { special_use = \Drafts + auto = subscribe } mailbox Junk { special_use = \Junk + auto = subscribe } mailbox Trash { autoexpunge = 60d special_use = \Trash + auto = subscribe } # For \Sent mailboxes there are two widely used names. We'll mark both of # them as \Sent. User typically deletes one of them if duplicates are created. mailbox Sent { special_use = \Sent + auto = subscribe } mailbox "Sent Messages" { special_use = \Sent -- cgit v1.2.3