Christoph Bußenius
2012-Oct-22 14:33 UTC
[Dovecot] Shared folders not shown if "INBOX.shared.%.%" is used with dovecot 2.1.10
Hi,
Thunderbird uses the following IMAP command to list shared folders:
. list "" INBOX.shared.%.%
Dovecot 2.1.10 does not list any folders in response to this command.
Dovecot 2.0.21 does list them:
* LIST (\HasNoChildren) "." "INBOX.shared.user1.folder"
. OK List completed.
Both versions list the folders if "*" is used instead of
"INBOX.shared.%.%".
Because of this issue, shared folders are not shown in Thunderbird.
The ACL of the folder in question is ACL "keilrwtscd" for user1 (who
is
trying to access them using Thunderbird).
config:
# 2.1.10: /usr/local/dovecot/etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-42-server x86_64 Ubuntu 10.04.4 LTS
disable_plaintext_auth = no
mail_gid = vmail
mail_location = mdbox:~/mail
mail_plugins = acl
mail_uid = vmail
namespace {
inbox = no
list = children
location = mdbox:%%h/mail
prefix = INBOX.shared.%%u.
separator = .
subscriptions = no
type = shared
}
namespace default {
inbox = yes
location prefix = INBOX.
separator = .
type = private
}
passdb {
args = scheme=CRYPT username_format=%u
/usr/local/dovecot/etc/dovecot/users
driver = passwd-file
}
plugin {
acl = vfile
acl_shared_dict = file:/mail/shared-mailboxes
}
protocols = imap pop3
service auth {
unix_listener auth-userdb {
group = vmail
mode = 0660
}
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
args = /usr/local/dovecot/etc/dovecot/users
driver = passwd-file
}
protocol imap {
imap_client_workarounds = tb-extra-mailbox-sep
mail_max_userip_connections = 20
mail_plugins = acl imap_acl acl
}
Cheers,
Christoph
--
Christoph Bu?enius
Rechnerbetriebsgruppe der Fakult?ten Informatik und Mathematik
Technische Universit?t M?nchen
+49 89-289-18519 <> Raum 00.05.040 <> Boltzmannstr. 3 <>
Garching
Christoph Bußenius
2012-Oct-26 09:17 UTC
[Dovecot] Shared folders not shown if "INBOX.shared.%.%" is used with dovecot 2.1.10
Hi, On 22.10.2012 16:33, Christoph Bu?enius wrote:> . list "" INBOX.shared.%.% > > Dovecot 2.1.10 does not list any folders in response to this command.I hope this helps: I bisected this bug and found it was introduced with this changeset: http://hg.dovecot.org/dovecot-2.1/rev/a41f64348d0d changeset: 14453:a41f64348d0d user: Timo Sirainen <tss at iki.fi> date: Fri Apr 20 15:18:14 2012 +0300 files: src/lib-storage/list/mailbox-list-fs-iter.c description: layout=fs: Don't assume '/' hierarchy separator when finding mailbox roots. Cheers, Christoph -- Christoph Bu?enius Rechnerbetriebsgruppe der Fakult?ten Informatik und Mathematik Technische Universit?t M?nchen +49 89-289-18519 <> Raum 00.05.040 <> Boltzmannstr. 3 <> Garching