Strange reconstruct problem with version migration

Tim Champ champ at umbc.edu
Thu Oct 15 10:59:41 EDT 2009


Tim Champ wrote:
>>> The access to the mailbox, etc, all seems to work fine, except that any
>>> mail that was previously deleted and not removed via cyr_expire (we do
>>> delayed delete) returns to the mailbox.  This concerns us as we're not
>>> sure why it wouldn't understand the expunge files.
>>>
>> reconstruct has a new option -k, to keep delayed delete mails.
> 
> I saw this, but in this case its not that reconstruct is deleting the 
> "delayed delete" mails, its that its deleting the cyrus.expunge file 
> (saying it has a bad header).
> 
> Once you do that, all the deleted mail shows back up in the mailbox 
> again.  I'm fine with deleting the "delayed delete" mails, its the 
> return of the deleted mail to the mailbox that causes us the consternation.
> 

Hello all again.  I hadn't heard back from anyone, but I wanted to throw 
out some additional work I'd done.  The problem is still not resolved, 
though.

As part of testing, I deleted mail in a mailbox, moved it to the new 
(2.3.15) server (without the reconstruct) and then ran cyr_expire. 
Although it claimed to run successfully, it didn't delete the mails that 
were marked for delayed delete.

After this, I ran reconstruct, and ran into the same problem with 
"Unable to verify header" for all the cyrus.expunge files in the users 
mailboxes.  Also, now when trying to access the inbox through 
thunderbird I get "The current command did not succeed.  The mail server 
responded: Invalid sequence in Uid".

So, after that pops up a few times, I can then go through the mail, but 
it doesn't remember seen state it appears.  Subsequent accesses of the 
mailbox show the "undead" mail returned, and strange random seen states 
on mail (although it looks to all be there, at least).

With these problems, I can't exactly roll out the software on the 
production mail servers.  Any ideas?  Anyone?  If you need any 
information, please don't hesitate to ask - offers of free food and 
drinks are on the table for help in remedying the situation!

Thanks!
Tim Champ


More information about the Info-cyrus mailing list