aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/mail/templates/dovecot/dovecot.conf.j214
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/mail/templates/dovecot/dovecot.conf.j2 b/roles/mail/templates/dovecot/dovecot.conf.j2
index 7fcb821..3f4d627 100644
--- a/roles/mail/templates/dovecot/dovecot.conf.j2
+++ b/roles/mail/templates/dovecot/dovecot.conf.j2
@@ -257,6 +257,20 @@ namespace inbox {
auto = subscribe
}
+ # Prevent duplicate "Sent Mail", "Sent Messages", "Archives", etc.
+ mailbox "Sent Mail" {
+ special_use = \Sent
+ auto = no
+ }
+ mailbox "Sent Messages" {
+ special_use = \Sent
+ auto = no
+ }
+ mailbox Archives {
+ special_use = \Archive
+ auto = no
+ }
+
# If you have a virtual "All messages" mailbox:
# mailbox virtual/All {
# special_use = \All