shared folders

Scherff scherff at blauwiesenweg.de
Tue Oct 4 12:54:47 UTC 2016


Hi Steffen,

thanks.

The ACLs seems ok. Each share generates a dovecot-acl file in the folder 
with a text e.g. user=name at domain.de lr

How to check ACL for a share?  doveadm acl debug -u user at domain.de 
shared shows Can't open mailbox shared: Mailbox doesn't exist: shared


namespace now has name "share". Debug shows:

Debug: Namespace share: type=shared, prefix=shared/%u/, sep=/, inbox=no, 
hidden=no, list=children, subscriptions=yes 
location=maildir:/var/vmail/mailboxes/%d/%n/mail:LAYOUT=fs:INDEX=/var/vmail/mailboxes/%d/%n/mail/shared/%u:CONTROL=/var/vmail/mailboxes/DOMAIN/USER/shared/%u

Changing location with :LAYOUT=fs   - no effect




Am 04.10.2016 um 14:03 schrieb Steffen Kaiser:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Mon, 3 Oct 2016, Scherff wrote:
>
> you do not write, if you get errors in the log. Enable mail_debug and 
> see what Dovecot thinks about the location of mailboxes etc.
>
> Also, use doveadm acl debug -u to verify the ACLs.
>
>> mail_home = /var/vmail/mailboxes/%d/%n
>> mail_location = maildir:~/mail:LAYOUT=fs
>
>> namespace {
>
>   ^^ maybe this namespace section is missing a name
>
>>  hidden = no
>>  ignore_on_failure = no
>>  list = children
>>  location = 
>> maildir:%%h/mail:INDEX=%h/mail/shared/%%u:CONTROL=%h/mail/shared/%%u
>
> This location does not match mail_location above, it is missing LAYOUT=fs
>
>>  prefix = shared/%%u/
>>  separator = /
>>  subscriptions = yes
>>  type = shared
>> }
>
> - -- Steffen Kaiser
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQEVAwUBV/Oafnz1H7kL/d9rAQKDlgf8CjTbLVHs9Lfof4vfoHyCXgusB//39+rj
> UEl/fsP+4NkWr8naU5Rb4RU+7/LfhhCGPC5H7VeXBNCO+a+VxzJEzncNOdMAaQt/
> AUYz9oHnPO/NptVuCV/LbYKaULE8KsXQWUr1BYScmt8F91KDIO6rpkuwaMaA+p+s
> XRkh10+ucnPKO1cUv6yBiBu/citff2uQdzX4+jr66djS5DXWZgOh/XsZDGS868Y1
> Id88Kh0ZudpFBhEAQbrwbUCbgVx5O+7O9AC9s4RKyMGqCKS7DVIKM2VvCBQgvaad
> ApHpTkt6MegAMY0+BW9bsxpdb/lmhfCFbwyexVSwEJRXc4qS0qdE4Q==
> =oC93
> -----END PGP SIGNATURE-----




More information about the dovecot mailing list