Hello,

Regarding improved_mboxlist_sort, the Release notes for 3.6:

• at https://www.cyrusimap.org/imap/download/release-notes/3.6/x/3.6.0.html 
state correctly that the option improved_mboxlist_sort is removed (⇔does 
nothing);
• at https://www.cyrusimap.org/3.6/imap/download/release-notes/3.6/x/3.6.0.html 
do not state that the option improved_mboxlist_sort is removed, and instead 
describe how to switch the value of improved_mboxlist_sort.

Commit 2f8e5019d92b2d227a5e11abd431730991751646 and others extend 
ctl_mboxlist.c to dump/undump all the fields of the mboxlist-database: 
uniqueid, foldermodseq, legacy_specialuse, mtime, uidvalidity.  The uniqueid 
field exists since commit 55fb682addda8c630f413c7e6a15c4 and is included in 
version Cyrus IMAP 2.5 in the mboxlist-database.

If a switch to improved_mboxlist_sort:1 is necessary, it implies importing and 
exporting the mboxlist database with ctl_mboxlist - 
https://www.cyrusimap.org/3.6/imap/developer/thoughts/improved_mboxlist_sort.html
 .  It might be sufficient just to dump and undump, when improved_mboxlist_sort 
does nothing, so can be done with version 3.6 or later. If the export/import is 
done before version 3.6, then patches to ctl_mboxlist.c should be backported to 
the used version, so that all fields are
exported/imported.  The “Supported Product Series” of Cyrus IMAP are listed at 
https://www.cyrusimap.org/imap/download/release-notes/index.html .

Greetings // Дилян

-----Original Message-----
From: Wolfgang Breyha via Info <[email protected]>
Reply-To: Info <[email protected]>
To: [email protected]
Subject: Re: Migration murder from 3.2 to 3.10 (Debian 11 to 13) – frontend to 
backend auth error
Date: 06/03/26 17:57:44

On 04/03/2026 16:00, Дилян Палаузов wrote:
> However, I can neither confirm nor deny that a switch to
> `improved_mboxlist_sort:1` is necessary before this option is removed
> from Cyrus IMAP. If it is nesessary, some note should be added to
> upgrade instructions for the versions, where this is needed.

This highly depends on the actual list of mailboxes.
If switching to improved_mboxlist_sort makes a difference for the resulting
sort order of " ", "-" and "." the backends fail to do the "ctl_mboxlist
-m" to the mupdate master and wont start.

#5043,#5524 on github contain examples.

Greetings,
Wolfgang

------------------------------------------
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/Tc654c39c5afc4bc1-M46f4343d95ba48802c227355
Delivery options: https://cyrus.topicbox.com/groups/info/subscription

Reply via email to