Shared instance

Steffen Kaiser skdovecot at inf.h-brs.de
Fri Jan 25 13:20:25 EET 2019


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 25 Jan 2019, Stepan Khlebalov via dovecot wrote:

> and another private namespace used for archiving
>
> namespace archive {
>  prefix = archived/
>  inbox = no
>  type = private
>  location = maildir:/mailStorageArchive/%Ld/%Ln:LAYOUT=fs
>  mailbox Archive {
>   auto = subscribe
>   special_use = \Archive
>  }
>  mailbox Archive_Sent {
>   auto = subscribe
>   special_use = \Archive
>  }
> }
>
> namespace {
>   type = shared
>   separator = /
>   prefix = shared/%%u/
>   location = 
> maildir:/mailStorage/%%d/%%n:INDEXPVT=/mailStorage/%d/%u/shared/%%u
>   subscriptions = yes
>   list = children
> }
> it works.

1st: I think you must replicate the "location" with all options, that 
means at least LAYOUT=fs, maybe %L as well.

> When I create shared namespace like this
>
> namespace {
>   type = shared
>   separator = /
>   prefix = shared/%%u/

you already have such prefix, as far as I understand it, you must choose 
another, unique prefix.

Try prefix = shared_archive/%%u/

>   location = 
> maildir:/mailStorageArchive/%%d/%%n:INDEXPVT=/mailStorageArchive/%d/%u/shared/%%u

I think, you'll need LAYOUT=fs here as well

>   subscriptions = yes
>   list = children
> }
> it does not work.
>
> I want to share mailbox Archive from namespace archive.



- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBXErw+sQnQQNheMxiAQLNrQf/Ul+ulVdM3AG8/NUhk5jpM8aCD8n5qDT/
xbOWGH5EuCRAX6I6hBLW1iesWU9pQroF5fKyUiVlgzjmkRWL4+XH7kuzu5eNmzjQ
5bR+BLywMN3HULxcWN1PCyGx6Ey1zuWqYZVF3itMtaoNIOrEWoLy7nb41E4V4HgG
Lhq/0F9WudmAA3tmttpXE0L6JwH8qCVjpbP3xXE+VheFERHMAsnoYBpT5U+Kduk6
QiUSve7GuUFsP5CA33PPy5Jcyt0Deyy5Z1ZKo3qe6VJSBsHZuECQY8N4T8ywndEF
o47cy2CBNR7B/b9xVJonYx1qMgfpwww/z9WzVfODbOJBRvBfev8fkw==
=7JNF
-----END PGP SIGNATURE-----


More information about the dovecot mailing list