> On 07/10/2020 06:57 PGNet Dev <pgnet....@gmail.com> wrote:
> 
>  
> I'm running
> 
>       dovecot --version
>               2.3.11.3 (502c39af9)
> 
> I'm setting up folder sharing.
> 
> Following
> 
>       https://wiki.dovecot.org/SharedMailboxes/Shared
> 
> I've configured a folder to be shared, but it's not seen/accessible in the 
> target user's Mail folder tree.
> 
> My config includes,
> 
>       mail_plugins = virtual acl
>       protocol imap {
>               mail_plugins = $mail_plugins imap_acl imap_quota mail_log 
> notify quota imap_sieve
>               ...
>       }
>       imap_capability = +SPECIAL-USE
>       namespace inbox {
>               inbox = yes
>               type = private
>               separator = /
>               prefix =
>               hidden = no
>               list = yes
>               subscriptions = yes
>               ...
>       }
>       namespace shared {
>               type = shared
>               separator = /
>               prefix = shared/%%u/
>               location = 
> maildir:/srv/vmail/%%d/%%n/Maildir:INDEXPVT=/var/vmail-index/shared/%%u
>               hidden = no
>               list = yes
>               subscriptions = yes
>       }
>       plugin {
>               acl_globals_only = no
>               acl = vfile
>               acl = vfile:/etc/dovecot/dovecot-acl

The latter acl setting will only be applied, but it already enables local ACLs 
too..

        2020-10-06 20:31:27 imap(us...@example.com)<6m3LWQyx8LesHgsy>: Debug: 
acl: No lookup right to mailbox: shared/us...@example.com

means user2 has no access to shared/us...@example.com, so you probably need to 
subscribe to the folder directly, without lookup rights you can't list anything.

Aki

Reply via email to