> On 05/04/2024 12:36 EEST Marc <m...@f1-outsourcing.eu> wrote:
> 
>  
> > > > breaking the mail index
> > >
> > > Tangentially query: is Dveocot smart enough to  optimize mailbox
> > renaming
> > >  to do index renaming (i.e. does not try to copy or recreate indices)?
> > >
> > 
> > Dovecot is, if you use LAYOUT=index. This will use only mailbox GUID on
> > disk, and the folder name is only in indexes (both list index and mailbox
> > index for recovery purposes).
> > 
> > I would recommend using 2.3.21 with LAYOUT=index to avoid problems.
> > 
> 
> So you can just add this to an existing configuration, without the need to do 
> anything? Like eg reindex or so? I always had the impression this affects how 
> messages are stored.
> 
> mail_location = mdbox:xxxxxx:INDEX=xxxxxx:CONTROL=/xxxxxxx
> becomes:
> mail_location = mdbox:xxxxxx:INDEX=xxxxxx:CONTROL=/xxxxxxx:LAYOUT:index
> 
> Does this really speed things up?
> 

You can't put it on existing setup just like that, you need to do storage 
format migration, or copy all the folders into their GUID folders when you do 
this.

It will speed things up and will also allow you to use almost anything as 
mailbox name.

Aki
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to