diff options
author | Aaron LI <aly@aaronly.me> | 2018-03-06 16:13:22 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-03-14 11:35:08 +0800 |
commit | 89b3b2abc7860062d1438257c43400e97e829064 (patch) | |
tree | 484e0f90d93ea008d9d67b3d11098ff0d3e50ba7 /roles | |
parent | fb5e49943bb467d4d47243b48bfc7587994e36d9 (diff) | |
download | ansible-dfly-vps-89b3b2abc7860062d1438257c43400e97e829064.tar.bz2 |
mail/dovecot: update mailbox config to avoid duplicates
Credit: http://www.webdesignblog.asia/web-design/hosting/prevent-duplicate-drafts-junk-sent-trash-folders-dovecot/
Diffstat (limited to 'roles')
-rw-r--r-- | roles/mail/templates/dovecot/dovecot.conf.j2 | 14 |
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 |