Virtual folders and mailbox_list_get_root_forced

Aki Tuomi aki.tuomi at open-xchange.com
Sun Mar 28 14:03:00 EEST 2021


Hi!

mail_location = maildir:/var/vmail/%d/%n:LAYOUT=fs:INDEX=/var/mailindex

This is going to put everyone's indexes under /var/mailindex, without separating them properly. Might cause fun issues.

Can you give an concrete example of what your issue is?

Aki

> On 28/03/2021 13:35 Joan Moreau <jom at grosjo.net> wrote:
> 
> 
> Hi
> Anyone on that ?
> Thank you so much
> 
> 
> On 2021-03-22 18:16, Joan Moreau wrote:
> > Hi
> > The function mailbox_list_get_root_forcedreturns sometimes the first or the second value of the INDEX param for the same mailbox.
> > 
> > How to make sure this returns only the correct one of the corresponding mailbox ?
> > 
> > mail_location = maildir:/var/vmail/%d/%n:LAYOUT=fs:INDEX=/var/mailindex
> > namespace {
> >   location = virtual:/nix/store/toto-virtual:INDEX=/var/vmail/%d/%n/virtual
> >   prefix = virtual/
> >   separator = /
> >   subscriptions = no
> > }
> > 
> > Thank you
> >


More information about the dovecot mailing list