Re: sync_clients bails out - failed to order folders correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hi Konrad,
>
> > do_folders: failed to order folders correctly
>
> Do you have "improved_mboxlist_sort" enabled in your imapd.conf?  My guess is you don't.
>
> > every time on a specific mailbox of a specific user.
>
> It sounds like this user has two mailboxes where one is an exact substring of another, and the difference starts with a  character earlier than your hierarchy separator in ascii order (space and hyphen are the usual culprits).  e.g. Something like this can cause a variety of problems:
>
> user.ellie.foo
> user.ellie.foo-etc
> user.ellie.foo.bar
>
> Note the "-" sorts earlier than the hierarchy separator, and so even though "bar" is a child of "foo" and should be processed right after "foo", "foo-etc" sorts earlier than it and gets in the way...
>
> I guess if this only started happening in the last days, then one of these folders must have been created recently.
>
> If this is the cause, the quick workaround is to find the offending folder pair and ask the user to rename one of them.  They could replace the space or hyphen with an underscore ("_") and this will be fine.
>
> The proper fix is to turn on "improved_mboxlist_sort", but note that the documentation says this SHOULD NOT be turned on on a live system, and provides instructions for converting the mailboxes.db and subscription databases with the service down.  I believe the most up to date documentation for this process is here:
> https://www.cyrusimap.org/imap/developer/thoughts/improved_mboxlist_sort.html
>
> Hope this helps,
>
> ellie

Hi ellie,

im not able to find a folder name problem, like your example.

Can I try to track it done with sync_client -m user.xxx.folderx?

Long term solution is to switch to improved_mboxlist_sort - perhaps something for the chrismas holidays ;-)

thanks a lot,

Konrad
--
Konrad Mauz - Rechenzentrum HTWG Konstanz
Tel: +497531206472 - Fax: +497531206153
E-Mail: kmauz@xxxxxxxxxxxxxxxx
Web: http://www.htwg-konstanz.de/rz.html



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




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux