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 >>>
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> 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. </div> <div> <br> </div> <div> Aki </div> <blockquote type="cite"> <div> On 25 January 2019 at 09:45 Stepan Khlebalov < <a href="mailto:step@line7.ru">step@line7.ru</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> I have read already. Probably not so carefully but do not find any for multiple location option inside namespace. </div> <div> <br> </div> <div> On 25.01.2019 12:33, Aki Tuomi wrote: </div> <blockquote type="cite"> <div> You should probably read <a href="https://wiki.dovecot.org/SharedMailboxes" rel="noopener" target="_blank">https://wiki.dovecot.org/SharedMailboxes</a> </div> </blockquote> <blockquote type="cite"> <div> Aki </div> </blockquote> <blockquote type="cite"> <div> On 25.1.2019 9.32, Stepan Khlebalov via dovecot wrote: </div> <blockquote type="cite"> <div> My failure. Replace instance with namespace. </div> </blockquote> </blockquote> <div> >> On 25.01.2019 12:27, Aki Tuomi wrote: </div> <div> >>> On 25.1.2019 8.39, Stepan Khlebalov via dovecot wrote: </div> <div> >>>> Hello. </div> <div> >>>> </div> <div> >>>> I have inbox instance for incoming messages and second private </div> <div> >>>> instance for archiving mails with different maildir location. </div> <div> >>>> </div> <div> >>>> Sharing for folders in inbox instance works perfectly. But it does not </div> <div> >>>> work for folders in archiving instance. </div> <div> >>>> </div> <div> >>>> I can't create two shared instances, dovecot fails. </div> <div> >>>> </div> <div> >>>> Can I have two locations in one shared instance? </div> <div> >>>> </div> <div> >>>> </div> <div> >>>> </div> <div> >>> What do you mean with "shared instance"? </div> <div> >>> </div> <div> >>> Aki </div> <div> >>> </div> </blockquote> <div> <br> </div> <div class="io-ox-signature"> --- <br>Aki Tuomi </div> </body> </html>
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 at line7.ru >> <mailto:step at 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-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190125/91e90fb8/attachment.html>