On 2019-12-09 09:51, Peter Reinhold via dovecot wrote:
Config looks fine. Have you tried
'A1 SELECT Shared/user@sharer.dk'?
Yields this, which is the same I got when trying to debug using doveadm acl, it seems like the shared mailboxes aren't placed in the shared namespace at all.
A1 SELECT Shared/user@sharer.dk A1 NO Mailbox doesn't exist: Shared/user@sharer.dk (0.006 + 0.000 + 0.005 secs).
And I forgot, the mail_debug log, multiple userdb lookups which seems to end up nowhere. (Filepaths are correct, for the users homedir, as in, the one where maildir/ resides)
-- LOG -- auth-master: userdb lookup(user@sharer.dk): Started userdb lookup auth-master: conn unix:/var/run/dovecot/auth-userdb: Connecting auth-master: conn unix:/var/run/dovecot/auth-userdb (pid=1636,uid=0): Client connected (fd=9) auth-master: userdb lookup(user@sharer.dk): auth USER input: user@sharer.dk uid=? gid=? home=/data/mail/sharer.dk/user auth-master: userdb lookup(user@sharer.dk): Finished userdb lookup (username=user@sharer.dk uid=? gid=? home=/data/mail/sharer.dk/user) auth-master: userdb lookup(user@sharer.dk): Started userdb lookup auth-master: userdb lookup(user@sharer.dk): auth USER input: user@sharer.dk uid=? gid=? home=/data/mail/sharer.dk/user auth-master: userdb lookup(user@sharer.dk): Finished userdb lookup (username=user@sharer.dk uid=? gid=? home=/data/mail/sharer.dk/user) auth-master: userdb lookup(user@sharer.dk): Started userdb lookup auth-master: userdb lookup(user@sharer.dk): auth USER input: user@sharer.dk uid=? gid=? home=/data/mail/sharer.dk/user auth-master: userdb lookup(user@sharer.dk): Finished userdb lookup (username=user@sharer.dk uid=? gid=? home=/data/mail/sharer.dk/user) Mailbox Shared/user@sharer.dk: Mailbox opened because: SELECT auth-master: userdb lookup(user@sharer.dk): Started userdb lookup auth-master: userdb lookup(user@sharer.dk): auth USER input: user@sharer.dk uid=? gid=? home=/data/mail/sharer.dk/user auth-master: userdb lookup(user@sharer.dk): Finished userdb lookup (username=user@sharer.dk uid=? gid=? home=/data/mail/sharer.dk/user) Namespace Shared/: Using permissions from : mode=0700 gid=default-- -- LOG END --
-- Peter Reinhold