On Aug 24, 2012, at 3:22 PM, Geoff Adams wrote:

> * 3743 EXISTS

I think I may have solved the problem. I created a new mailbox for the user, 
used an IMAP client to copy the original 3743 messages into that mailbox, and 
then used a one-line shell script to convert the newer messages into mbox 
format, imported that into the mail client, and then copied those messages into 
the new mailbox via IMAP, as well.

I had to go through mbox format because I couldn't figure out a way to have 
reconstruct use the message file timestamps for the internaldate; all the new 
messages were timestamped as the moment I did the reconstruct. Am I missing 
something, here? That seems like an obvious and trivial feature.

I then swapped the new mailbox in as the inbox, and reconstructed, to make sure 
the mailbox uids are in sync. So far, so good. New messages are delivered, and 
actually show up in the IMAP client. As do all 3836 messages, including the 
ones both before and after the upgrade.

But I'm still curious what corrupt state that mailbox was in, and how it got 
there. It seems related to the 2.3.x -> 2.4.x upgrade, since that's the line 
beyond which new messages disappear.

- Geoff
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Reply via email to