dovecot 2.3.11.3 namespace/ACL shared folder not accessible in sharing-user's Mail folder tree? have a working config?

Aki Tuomi aki.tuomi at open-xchange.com
Thu Oct 8 10:50:42 EEST 2020


> On 07/10/2020 06:57 PGNet Dev <pgnet.dev at 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(user2 at example.com)<6m3LWQyx8LesHgsy>: Debug: acl: No lookup right to mailbox: shared/user1 at example.com

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

Aki


More information about the dovecot mailing list