Hello.
I have inbox instance for incoming messages and second private instance for archiving mails with different maildir location.
Sharing for folders in inbox instance works perfectly. But it does not work for folders in archiving instance.
I can't create two shared instances, dovecot fails.
Can I have two locations in one shared instance?
On 25.1.2019 8.39, Stepan Khlebalov via dovecot wrote:
Hello.
I have inbox instance for incoming messages and second private instance for archiving mails with different maildir location.
Sharing for folders in inbox instance works perfectly. But it does not work for folders in archiving instance.
I can't create two shared instances, dovecot fails.
Can I have two locations in one shared instance?
What do you mean with "shared instance"?
Aki
My failure. Replace instance with namespace.
On 25.01.2019 12:27, Aki Tuomi wrote:
On 25.1.2019 8.39, Stepan Khlebalov via dovecot wrote:
Hello.
I have inbox instance for incoming messages and second private instance for archiving mails with different maildir location.
Sharing for folders in inbox instance works perfectly. But it does not work for folders in archiving instance.
I can't create two shared instances, dovecot fails.
Can I have two locations in one shared instance?
What do you mean with "shared instance"?
Aki
You should probably read https://wiki.dovecot.org/SharedMailboxes
Aki
On 25.1.2019 9.32, Stepan Khlebalov via dovecot wrote:
My failure. Replace instance with namespace.
On 25.01.2019 12:27, Aki Tuomi wrote:
On 25.1.2019 8.39, Stepan Khlebalov via dovecot wrote:
Hello.
I have inbox instance for incoming messages and second private instance for archiving mails with different maildir location.
Sharing for folders in inbox instance works perfectly. But it does not work for folders in archiving instance.
I can't create two shared instances, dovecot fails.
Can I have two locations in one shared instance?
What do you mean with "shared instance"?
Aki
I have read already. Probably not so carefully but do not find any for multiple location option inside namespace.
On 25.01.2019 12:33, Aki Tuomi wrote:
You should probably read https://wiki.dovecot.org/SharedMailboxes
Aki
On 25.1.2019 9.32, Stepan Khlebalov via dovecot wrote:
My failure. Replace instance with namespace.
On 25.01.2019 12:27, Aki Tuomi wrote:
On 25.1.2019 8.39, Stepan Khlebalov via dovecot wrote:
Hello.
I have inbox instance for incoming messages and second private instance for archiving mails with different maildir location.
Sharing for folders in inbox instance works perfectly. But it does not work for folders in archiving instance.
I can't create two shared instances, dovecot fails.
Can I have two locations in one shared instance?
What do you mean with "shared instance"?
Aki
I don't want such mailbox.
I have inbox namespace
mail_location = maildir:/mailStorage/%Ld/%Ln:LAYOUT=fs
namespace inbox { type = private separator = / prefix = inbox = yes }
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 } }
When I create shared namespace like this
namespace { type = shared separator = / prefix = shared/%%u/ location = maildir:/mailStorage/%%d/%%n:INDEXPVT=/mailStorage/%d/%u/shared/%%u subscriptions = yes list = children } it works.
When I create shared namespace like this
namespace { type = shared separator = / prefix = shared/%%u/ location = maildir:/mailStorageArchive/%%d/%%n:INDEXPVT=/mailStorageArchive/%d/%u/shared/%%u subscriptions = yes list = children } it does not work.
I want to share mailbox Archive from namespace archive.
On 25.01.2019 12:47, Aki Tuomi wrote:
A namespace can have only one location. If you want to create mailbox with content from multiple locations you can use virtual plugin for this.
Aki
On 25 January 2019 at 09:45 Stepan Khlebalov < step@line7.ru <mailto:step@line7.ru>> wrote:
I have read already. Probably not so carefully but do not find any for multiple location option inside namespace.
On 25.01.2019 12:33, Aki Tuomi wrote:
You should probably read https://wiki.dovecot.org/SharedMailboxes Aki On 25.1.2019 9.32, Stepan Khlebalov via dovecot wrote:
My failure. Replace instance with namespace. On 25.01.2019 12:27, Aki Tuomi wrote:
On 25.1.2019 8.39, Stepan Khlebalov via dovecot wrote:
Hello.
I have inbox instance for incoming messages and second private instance for archiving mails with different maildir location.
Sharing for folders in inbox instance works perfectly. But it does not work for folders in archiving instance.
I can't create two shared instances, dovecot fails.
Can I have two locations in one shared instance?
What do you mean with "shared instance"?
Aki
Aki Tuomi
-----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-----
participants (3)
-
Aki Tuomi
-
Steffen Kaiser
-
Stepan Khlebalov