summaryrefslogtreecommitdiffstats
path: root/roles/IMAP
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-07-06 17:51:28 +0200
committerGuilhem Moulin <guilhem@fripost.org>2016-07-06 17:51:28 +0200
commitd237ec31f785c801b29d679f10f8f2d618ff1585 (patch)
tree0cb3b544ddf758ffbcc12fcc4a7076adf98fc7a0 /roles/IMAP
parent8e24d7703401e1858a73eb1d713b4c80b3d799a9 (diff)
IMAP: don't include mailbox under the virtual namespace in LIST responses.
Clients now have to use the NAMESPACE extension [RFC 2342] to discover mailboxes under the “virtual/” namespace. (Plus an extra LIST command, causing an overhead two roundtrips.) Of course the downside is that non namespace-aware clients lose access to the “virtual/{all,flagged,…}” mailboxes, but on second thought it's probably better this way rather than having such clients treat these mailboxes as regular mailboxes.
Diffstat (limited to 'roles/IMAP')
-rw-r--r--roles/IMAP/files/etc/dovecot/conf.d/10-mail.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/IMAP/files/etc/dovecot/conf.d/10-mail.conf b/roles/IMAP/files/etc/dovecot/conf.d/10-mail.conf
index cd59ebf..ef76a8d 100644
--- a/roles/IMAP/files/etc/dovecot/conf.d/10-mail.conf
+++ b/roles/IMAP/files/etc/dovecot/conf.d/10-mail.conf
@@ -81,7 +81,7 @@ namespace virtual {
prefix = virtual/
separator = /
location = virtual:/etc/dovecot/virtual:INDEX=MEMORY
- list = yes
+ list = no
hidden = no
subscriptions = no
}