From f9c1d4b4e428e8343d6e27bb53e5df93c93e3e64 Mon Sep 17 00:00:00 2001 From: Jesse Norell <jesse@kci.net> Date: Wed, 9 Oct 2019 15:47:08 -0600 Subject: [PATCH] enable imap special-use flags --- install/tpl/debian6_dovecot2.conf.master | 20 ++++++++++++++++++++ install/tpl/fedora_dovecot2.conf.master | 21 +++++++++++++++++++++ install/tpl/opensuse_dovecot2.conf.master | 21 +++++++++++++++++++++ 3 files changed, 62 insertions(+) diff --git a/install/tpl/debian6_dovecot2.conf.master b/install/tpl/debian6_dovecot2.conf.master index 777280f044..58adf1d85c 100644 --- a/install/tpl/debian6_dovecot2.conf.master +++ b/install/tpl/debian6_dovecot2.conf.master @@ -10,6 +10,7 @@ ssl_dh = </etc/dovecot/dh.pem ssl_protocols = !SSLv2 !SSLv3 ssl_min_protocol = TLSv1 mail_max_userip_connections = 100 +mail_plugins = quota passdb { args = /etc/dovecot/dovecot-sql.conf driver = sql @@ -83,3 +84,22 @@ protocol lmtp { #2.3+ } #2.3+ } +imap_capability=+SEPCIAL-USE XLIST +namespace inbox { + inbox = yes + mailbox Drafts { + special_use = \Drafts + } + mailbox Junk { + special_use = \Junk + } + mailbox Sent { + special_use = \Sent + } + mailbox "Sent Messages" { + special_use = \Sent + } + mailbox Trash { + special_use = \Trash + } +} diff --git a/install/tpl/fedora_dovecot2.conf.master b/install/tpl/fedora_dovecot2.conf.master index 1ba39a30d4..1f6c6eb996 100644 --- a/install/tpl/fedora_dovecot2.conf.master +++ b/install/tpl/fedora_dovecot2.conf.master @@ -7,6 +7,7 @@ mail_privileged_group = vmail ssl_cert = </etc/postfix/smtpd.cert ssl_key = </etc/postfix/smtpd.key ssl_protocols = !SSLv2 !SSLv3 +mail_plugins = quota passdb { args = /etc/dovecot-sql.conf driver = sql @@ -77,3 +78,23 @@ mail_plugins = $mail_plugins quota #2.3+ mode = 0660 #2.3+ } #2.3+ } + +imap_capability=+SEPCIAL-USE XLIST +namespace inbox { + inbox = yes + mailbox Drafts { + special_use = \Drafts + } + mailbox Junk { + special_use = \Junk + } + mailbox Sent { + special_use = \Sent + } + mailbox "Sent Messages" { + special_use = \Sent + } + mailbox Trash { + special_use = \Trash + } +} diff --git a/install/tpl/opensuse_dovecot2.conf.master b/install/tpl/opensuse_dovecot2.conf.master index f615cf3354..9e17d4603a 100644 --- a/install/tpl/opensuse_dovecot2.conf.master +++ b/install/tpl/opensuse_dovecot2.conf.master @@ -7,6 +7,7 @@ mail_privileged_group = vmail ssl_cert = </etc/postfix/smtpd.cert ssl_key = </etc/postfix/smtpd.key ssl_protocols = !SSLv2 !SSLv3 +mail_plugins = quota passdb { args = /etc/dovecot/dovecot-sql.conf driver = sql @@ -76,3 +77,23 @@ mail_plugins = $mail_plugins quota #2.3+ mode = 0660 #2.3+ } #2.3+ } + +imap_capability=+SEPCIAL-USE XLIST +namespace inbox { + inbox = yes + mailbox Drafts { + special_use = \Drafts + } + mailbox Junk { + special_use = \Junk + } + mailbox Sent { + special_use = \Sent + } + mailbox "Sent Messages" { + special_use = \Sent + } + mailbox Trash { + special_use = \Trash + } +} -- GitLab