Re: Migration murder from 3.2 to 3.10 (Debian 11 to 13) – frontend to backend auth error
Frank Richter <[email protected]> Mon, 9 Mar 2026 07:29:42 +0100
| Newsgroups | gmane.mail.imap.cyrus |
|---|---|
| Organization | TU Chemnitz, Germany |
| Message-ID | <[email protected]> |
Hwllo, thanks for you help. Some minutes ago I changed the setting to improved_mboxlist_sort:1 for our 3.2.11 murder: - stopped cyrus-imapd on frontends, backends, mupdate master. - on frontends, mupdate master: mv mailboxes.db mailboxes.db.orig in /etc/imapd.conf: improved_mboxlist_sort: 1 - on backends: ctl_mboxlist -d > /tmp/mailboxes.txt mv mailboxes.db mailboxes.db.orig in /etc/imapd.conf: improved_mboxlist_sort: 1 ctl_mboxlist -u < /tmp/mailboxes.txt - on frontend, mupdate master: start cyrus-imapd (without lmtp) - on backends: start cyrus-imapd from ctl_cyrusdb -r in the log: Mar 9 06:13:52 porto cyrus/ctl_cyrusdb[1699313]: recovering cyrus databases Mar 9 06:13:52 porto cyrus/ctl_cyrusdb[1699313]: mbentry user.… has no uniqueid, needs reconstruct Mar 9 06:13:52 porto cyrus/ctl_cyrusdb[1699313]: mbentry user.…had no uniqueid, setting e5d5e487-2e4c-4ba4-ba6f-ff7e0a5aac41 from header for every mailbox / folder. That’s probably the missing parts from the export as Дилян stated. After this the mupdate master was populated. Mar 9 06:15:51 porto cyrus/ctl_cyrusdb[1699313]: done recovering cyrus databases Mar 9 06:15:51 porto cyrus/ctl_mboxlist[1699572]: populating mupdate Mar 9 06:15:52 porto cyrus/ctl_mboxlist[1699572]: Force Activate: user.… for every mailbox/folder And finally restarted cyrus-imapd on frontends with lmtp Now I hope the best … Frank Am 07.03.26 um 09:56 schrieb Дилян Палаузов: > Hello, > > Regarding improved_mboxlist_sort, the Release notes for 3.6: > > • athttps://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); > • athttps://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 athttps://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 -- Frank Richter, Chemnitz University of Technology, Germany This is a multi-part message in MIME format... ------------=_1773037790-5220-1--
smime.p7s
(application/pkcs7-signature, 5 KB) - not displayed