Hi Matt,

> It sounds like you
        needed to reconstruct all your mail boxes;


> https://www.cyrusimap.org/3.10/imap/reference/manpages/systemcommands/reconstruct.html


> is probably what you
        are looking for,



of course I used this tool to recover, but it was segfaulting every now and 
then. So no chance to get thru 1600 mailboxes with fancy names. And when not 
segfaulting, I got fancy error messages:

- XXX - this is a noop right now - needs to update mailboxes.db
- reconstruct -rf found new mailboxes and segfaulted. When creating the mailbox 
with cyradm it said, the mailbox is already there. When trying to delete the 
mailbox with cyradm it said permission denied. So deadlocked.
- reconstruct -M is still missing after 15 years.
- ctl_mboxlist -v is showing "has a directory but no DB entry" and "has a DB 
entry but no directory on partition" on the same mailbox without any chance to 
recover.

In the end a system like an IMAP server can get into a inconsistent state. But 
the cyrus-tools are not helping this much. This night, I hat some time looking 
into the code of some of the tools. And it looks like they are not meant to be 
used in desaster scenarios. I never had so many segfaults in my kernel messages 
than this night. So I decided during recovery, that I will not try the upgrade 
again but migrate to a different MDA. After 15 years on cyrrusd with some 
trouble every now and then...

--Chris
------------------------------------------
Cyrus: Devel
Permalink: 
https://cyrus.topicbox.com/groups/devel/Tc0e863bae9053445-Mb52bec9a8359a201f669e951
Delivery options: https://cyrus.topicbox.com/groups/devel/subscription

Reply via email to