[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 =
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
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@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
On 26.10.2012, at 12.17, Christoph Bußenius wrote:
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:
I couldn't reproduce this exactly and I don't see how a41f64348d0d makes any difference .. but I did find another way to reproduce at least a similar bug. Maybe this fixes your problem too? http://hg.dovecot.org/dovecot-2.1/rev/22875bcaa952
Hello Timo,
On 26.10.2012 12:07, Timo Sirainen wrote:
but I did find another way to reproduce at least a similar bug. Maybe this fixes your problem too? http://hg.dovecot.org/dovecot-2.1/rev/22875bcaa952
That does fix the problem, thank you!
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
participants (2)
-
Christoph Bußenius
-
Timo Sirainen