shared folders not working with . separator

Hugh Bragg hughbragg at dodo.com.au
Thu Feb 18 14:21:15 UTC 2016


Thanks, this helped.
I added namespace virtual and removed the virtual references from inbox
namespace and added list = yes so now I can see shared folder in the client.
There's still nothing in there though.

I followed Christian's advice, debug shows this very strange behaviour.
doveadm acl debug -u user1 at domain1.com.au shared.user2 at domain2.com.au
doveadm(user1 at domain1.com.au): Error: Mailbox 'com.au' in namespace
'shared.user2 at domain2.' doesn't exist in
/var/mail/vhosts/domain2/user2/mail/.com.au
There are no errors in the log.

This looks like a bug. I was seeing this before I got the shared folder
working when I saw dovecot had created these extra folders and added
dovecot-acl-list file there.
I suppose if I'd used the / separator, this would work fine, but there
was nothing about this on the wiki so I didn't expect this.

Hugh

On 18/02/2016 6:03 PM, Steffen Kaiser wrote:
> On Thu, 18 Feb 2016, Hugh Bragg wrote:
>
> > namespace {
> >  location = virtual:/var/mail/vhosts/%d/%n/virtual
> >  prefix = virtual.
> >  separator = .
> > }
> > namespace {
> >  list = children
> >  location =
> >
> maildir:/var/mail/vhosts/%%d/%%n/mail:INDEX=/var/mail/vhosts/%d/%n/shared/%%u:CONTROL=/var/mail/vhosts/%d/%n/shared/%%u
> >  prefix = shared.%%u.
> >  separator = .
> >  subscriptions = yes
> >  type = shared
> > }
>
> you have two namespaces with the same name, put some string before the
> {'s.
>
> > namespace inbox {
>
> like here.
>
> ===
>
> Then check out the advices of Christian & Chris (telnet) as well
>
> -- Steffen Kaiser



More information about the dovecot mailing list