<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">try setting mail_shared_explicit_inbox=yes</div><div class=""><br class=""></div><div class=""><a href="https://doc.dovecot.org/settings/core/#mail-shared-explicit-inbox" class="">https://doc.dovecot.org/settings/core/#mail-shared-explicit-inbox</a></div><div class=""><br class=""></div><div class="">Sami</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 18. Aug 2020, at 23.56, Torsten <<a href="mailto:dovecot.lists@saldyn.net" class="">dovecot.lists@saldyn.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello!<br class=""><br class="">INBOX sharing does not seem to work, although all other mailboxes work.<br class=""><br class="">User <a href="mailto:bar@example.de" class="">bar@example.de</a> has shared a few mailboxes:<br class="">  # doveadm acl get -u <a href="mailto:bar@example.de" class="">bar@example.de</a> INBOX<br class="">  ID                  Global Rights <br class="">  <a href="mailto:user=foo@example.de" class="">user=foo@example.de</a>        lookup read write-seen <br class="">  # doveadm acl get -u <a href="mailto:bar@example.de" class="">bar@example.de</a> Sent<br class="">  ID                  Global Rights <br class="">  <a href="mailto:user=foo@example.de" class="">user=foo@example.de</a>        lookup read write-seen <br class="">  # doveadm acl get -u <a href="mailto:bar@example.de" class="">bar@example.de</a> Drafts<br class="">  ID                  Global Rights <br class="">  <a href="mailto:user=foo@example.de" class="">user=foo@example.de</a>        lookup read write-seen<br class=""><br class="">But user <a href="mailto:foo@example.de" class="">foo@example.de</a> can't see the shared INBOX:<br class="">  # doveadm mailbox list -u <a href="mailto:foo@example.de" class="">foo@example.de</a><br class="">  Trash<br class="">  Sent<br class="">  Drafts<br class="">  Junk<br class="">  shared<br class="">  <a href="mailto:shared/bar@example.de" class="">shared/bar@example.de</a><br class="">  <a href="mailto:shared/bar@example.de" class="">shared/bar@example.de</a>/Sent<br class="">  <a href="mailto:shared/bar@example.de" class="">shared/bar@example.de</a>/Drafts<br class="">  INBOX<br class=""><br class="">A review of the ACL does not explain the behaviour:<br class="">  # doveadm acl debug -u <a href="mailto:foo@example.de" class="">foo@example.de</a> <a href="mailto:shared/bar@example.de" class="">shared/bar@example.de</a>/INBOX<br class="">  doveadm(<a href="mailto:foo@example.de" class="">foo@example.de</a>): Info: Mailbox 'INBOX' is in namespace '<a href="mailto:shared/bar@example.de" class="">shared/bar@example.de</a>/'<br class="">  doveadm(<a href="mailto:foo@example.de" class="">foo@example.de</a>): Info: Mailbox path: /srv/mail-storage/mailhome/<a href="http://example.de/bar/Maildir" class="">example.de/bar/Maildir</a><br class="">  doveadm(<a href="mailto:foo@example.de" class="">foo@example.de</a>): Info: Per-user private flags in mailbox: \Seen<br class="">  doveadm(<a href="mailto:foo@example.de" class="">foo@example.de</a>): Info: User <a href="mailto:foo@example.de" class="">foo@example.de</a> has rights: lookup read write-seen<br class="">  doveadm(<a href="mailto:foo@example.de" class="">foo@example.de</a>): Info: Mailbox found from dovecot-acl-list<br class="">  doveadm(<a href="mailto:foo@example.de" class="">foo@example.de</a>): Info: User <a href="mailto:bar@example.de" class="">bar@example.de</a> found from ACL shared dict<br class="">  doveadm(<a href="mailto:foo@example.de" class="">foo@example.de</a>): Info: Mailbox <a href="mailto:shared/bar@example.de" class="">shared/bar@example.de</a>/INBOX is visible in LIST<br class=""><br class=""><br class="">----------  doveconf -n  ----------<br class=""># 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf<br class=""># Pigeonhole version 0.5.4 ()<br class=""># OS: Linux 4.19.0-10-amd64 x86_64 Debian 10.5<br class=""># Hostname: <a href="http://XXX.YYYY.de" class="">XXX.YYYY.de</a><br class="">auth_master_user_separator = *<br class="">auth_verbose = yes<br class="">first_valid_gid = 401<br class="">first_valid_uid = 401<br class="">last_valid_gid = 401<br class="">last_valid_uid = 401<br class="">mail_gid = vmail<br class="">mail_home = /srv/mail-storage/mailhome/%d/%n<br class="">mail_location = maildir:~/Maildir<br class="">mail_plugins = " acl listescape zlib"<br class="">mail_uid = vmail<br class="">managesieve_notify_capability = mailto<br class="">managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext<br class="">namespace inbox {<br class="">  inbox = yes<br class="">  location =<br class="">  mailbox Drafts {<br class="">    auto = subscribe<br class="">    special_use = \Drafts<br class="">  }<br class="">  mailbox Junk {<br class="">    auto = create<br class="">    special_use = \Junk<br class="">  }<br class="">  mailbox Sent {<br class="">    auto = subscribe<br class="">    special_use = \Sent<br class="">  }<br class="">  mailbox "Sent Messages" {<br class="">    auto = no<br class="">    special_use = \Sent<br class="">  }<br class="">  mailbox Trash {<br class="">    auto = subscribe<br class="">    special_use = \Trash<br class="">  }<br class="">  prefix =<br class="">  separator = /<br class="">  type = private<br class="">}<br class="">namespace shared {<br class="">  list = children<br class="">  location = maildir:/srv/mail-storage/mailhome/%%d/%%n/Maildir:INDEXPVT=~/Maildir/shared/%%d/%%n<br class="">  prefix = shared/%%u/<br class="">  separator = /<br class="">  subscriptions = yes<br class="">  type = shared<br class="">}<br class="">passdb {<br class="">  args = /etc/dovecot/master-users<br class="">  driver = passwd-file<br class="">  master = yes<br class="">  pass = yes<br class="">}<br class="">passdb {<br class="">  args = /etc/dovecot/dovecot-ldap.conf.ext<br class="">  driver = ldap<br class="">}<br class="">plugin {<br class="">  acl = vfile<br class="">  acl_shared_dict = file:/srv/mail-storage/mailhome/shared-mailboxes.db<br class="">  sieve = file:~/sieve;active=~/.dovecot.sieve<br class="">  zlib_save = gz<br class="">  zlib_save_level = 6<br class="">}<br class="">protocols = " imap lmtp sieve"<br class="">service auth {<br class="">  unix_listener auth-userdb {<br class="">    mode = 0777<br class="">  }<br class="">}<br class="">ssl = required<br class="">ssl_cert = </var/lib/dehydrated/certs/<a href="http://XXX.YYYY.de/fullchain.pem" class="">XXX.YYYY.de/fullchain.pem</a><br class="">ssl_dh = # hidden, use -P to show it<br class="">ssl_key = # hidden, use -P to show it<br class="">userdb {<br class="">  driver = static<br class="">}<br class="">userdb {<br class="">  args = /etc/dovecot/dovecot-ldap.conf.ext<br class="">  driver = ldap<br class="">}<br class="">protocol lmtp {<br class="">  mail_plugins = " acl listescape zlib sieve"<br class="">}<br class="">protocol imap {<br class="">  mail_max_userip_connections = 20<br class="">  mail_plugins = " acl listescape zlib imap_acl"<br class="">}<br class="">------------------------------<br class=""><br class="">I don't think it is relevant, but I don't want to forget to mention that /srv/mail-storage/ is an NFS share.<br class=""><br class="">It would bee nice if someone has a hint. I hope it isn't a bug.<br class=""><br class="">Regards Torsten<br class=""></div></div></blockquote></div><br class=""></div></body></html>