From e4c74a8f95ea5a77e4d65b9b0952ff48a0564161 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 15 Dec 2013 23:49:38 +0100 Subject: Make the virtual mailboxes visible under RoundCube. RoundCubes lists subscribed mailboxes only (determined using LIST-EXTENDED by default); also, it seems to ignore new subscriptions to mailboxes not listed by the LIST command. --- roles/IMAP/files/etc/dovecot/conf.d/10-mail.conf | 3 ++- roles/IMAP/files/etc/dovecot/conf.d/15-mailboxes.conf | 8 ++++---- roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) (limited to 'roles/IMAP/files/etc/dovecot/conf.d') 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 2c5f34f..9c24645 100644 --- a/roles/IMAP/files/etc/dovecot/conf.d/10-mail.conf +++ b/roles/IMAP/files/etc/dovecot/conf.d/10-mail.conf @@ -81,8 +81,9 @@ namespace virtual { prefix = virtual/ separator = / location = virtual:/etc/dovecot/virtual:INDEX=~/virtual - list = no + list = yes hidden = no + subscriptions = no } # Example shared namespace configuration diff --git a/roles/IMAP/files/etc/dovecot/conf.d/15-mailboxes.conf b/roles/IMAP/files/etc/dovecot/conf.d/15-mailboxes.conf index e110f28..6aa5c22 100644 --- a/roles/IMAP/files/etc/dovecot/conf.d/15-mailboxes.conf +++ b/roles/IMAP/files/etc/dovecot/conf.d/15-mailboxes.conf @@ -16,19 +16,19 @@ namespace inbox { #} # These mailboxes are widely used and could perhaps be created automatically: - mailbox TRASH { + mailbox Trash { auto = create special_use = \Trash } - mailbox DRAFTS { + mailbox Drafts { auto = create special_use = \Drafts } - mailbox SENT { + mailbox Sent { auto = subscribe special_use = \Sent } - mailbox SPAM { + mailbox Junk { auto = create special_use = \Junk } diff --git a/roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf b/roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf index 6e60f0f..aed06c0 100644 --- a/roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf +++ b/roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf @@ -9,9 +9,9 @@ plugin { antispam_backend = spool2dir - antispam_trash = TRASH + antispam_trash = Trash antispam_unsure_pattern_ignorecase = MailTrain;MailTrain/* - antispam_spam = SPAM + antispam_spam = Junk # The first %%lu is replaced by the current time. # The second %%lu is replaced by a counter to generate unique names. -- cgit v1.2.3