Mailbox sharing not working

Aki Tuomi
2022-02-17T06:28:37Z

> On 16/02/2022 21:40 Kees van Vloten <keesvanvloten at gmail.com>
wrote:
>
>
> Hi Team,
>
>
> I am trying to setup mailbox sharing. But although user test2 shares
> INBOX with test1, it is not visible for user1.
>
> doveadm? acl get -u test2 INBOX
> ID???????? Global Rights
> user=test1??????? admin create delete expunge insert lookup post read
> write write-deleted write-seen
>
> cat /srv/mail/dovecot/lib/shared-mailboxes.db
> shared/shared-boxes/user/test1/test2 at example.com
> 1
>
> Log output:
>

<snip />

> namespace {
>  ? hidden = no
>  ? list = no
>  ? location =
>
maildir:/srv/mail/vmail/example.com/%%n/store:LAYOUT=fs:FULLDIRNAME=0_FolderContent:UTF-8:INDEXPVT=/srv/mail/vmail/example.com/%n/index_shared/%%u:CONTROL=/srv/mail/vmail/example.com/%%n/control:VOLATILEDIR=/srv/mail/vmail/example.com/%%n/volatile
>  ? prefix = shared~%%u~
>  ? separator = ~
>  ? subscriptions = no
>  ? type = shared
> }

<snip/>

you've marked this as `list = no`, when it shoukld be `list = children`.
Maybe it'll help.

>
>
> Is there anything obviously wrong in the config?
>
> I suspect a mismatch between %u and %n somewhere but don't know how to
> figure out the culprit.
>
> How can I get more relevant debug log output about namespaces / mailbox
> sharing?
> Or can I run commands to check validity?
>
> - Kees

Aki