diff options
author | 2024-08-22 20:43:48 +0200 | |
---|---|---|
committer | 2024-08-23 16:52:18 +0100 | |
commit | dd25e433163a90e64db0fcb2606276f64c617da7 (patch) | |
tree | a5026238604b78de81cc5fe3f61e7830aa5f78dd | |
parent | Fix "an actual problem" (diff) |
Add archive & automatically create mailboxes
-rw-r--r-- | ansible/roles/dovecot/templates/configs/15-mailboxes.conf.j2 | 8 |
1 files changed, 8 insertions, 0 deletions
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 |