Hi Mark,

forget it. Finally I happen to fix it with some perl hacking :)
Thank You for Your promptness.

Take care.

David

>---------------------------------------------------------
>Od: [EMAIL PROTECTED]
>Přijato: 9.10.2007 12:14:00
>Předmět: RE: RE: RE: Re: [Imap-uw] How to recteate meta and status files of 
>mailbox
>
>Hi Mark,
>
>unfortunately I've got stuck again. I followed your advices but pruning 
>mailbox has failed:
>
>[EMAIL PROTECTED]:~# mailutil prune /home/someuser/Mail/Restore "before 
>1-jan-1970"
>warning: mix index invalid UID (00000001 < 00000000), repaired
>warning: mix index invalid UID (0000286e < 00000001), repaired
>Missing mix data file: /home/someuser/Mail/Restore/.mix01245185
>warning: Can't delete empty message file: No such file or directory
>warning: Can't delete empty message file: No such file or directory
>Error in stat of mix message file: No such file or directory
>
>I didn't get it. Mixrbld finished successfully, .mixindex then replaced with 
>.mixindex-rebuild, but as I understend it contains references to nonexistent 
>message files :(
>
>Any idea how to overcome this issue ?
>
>Other mailboxes have had complete backups including index, status and meta 
>files. Why these weren't archived in this case is still a mystery to me. 
>Whereas the backup script handles all mailboxes in the same way.
>
>Thanks.
>
>David
>
>>---------------------------------------------------------
>>Od: Mark Crispin
>>Přijato: 9.10.2007 0:12:10
>>Předmět: RE: RE: Re: [Imap-uw] How to recteate meta and status files of 
>>mailbox
>>
>>On Mon, 8 Oct 2007, [EMAIL PROTECTED] wrote:
>>
>>> The .mixmeta is like .mixstatus empty.
>>
>>> This mailbox was restored from backup but unfortunately .mixindex, 
>>
>>> .mixstatus and .mixmeta were not archived :( Files containing e-mails 
>>
>>> are correct. Nothing was modified. I just need somehow to 
>>
>>> rebuild/recreate these lost files to make this mailbox usable again.
>>
>>
>>
>>How did the original problem happen?  How was it that only the data files 
>>
>>were on backup but not the other files?
>>
>>
>>
>>In your situation, the easiest thing to do is probably the following:
>>
>>
>>
>>Create a new, empty mailbox via mailutil create, e.g.
>>
>>      mailutil create #driver.mix/restore
>>
>>
>>
>>Restore all the data files into the mailbox named "restore", then rebuild 
>>
>>the index:
>>
>>      mixrbld restore
>>
>>      mv restore/.mixindex-rebuild restore/.mixindex
>>
>>
>>
>>Next, do some operation which will write the mailbox but not do anything, 
>>
>>e.g.
>>
>>      mailutil prune "before 1-jan-1970"
>>
>>You'll be rewarded with a
>>
>>      warning' mix index invalid UID (######## < ########), repaired
>>
>>for each message in the mailbox, and finally
>>
>>      No matching messages, so nothing purged
>>
>>
>>
>>The mailbox should now be fixed.
>>
>>
>>
>>-- Mark --
>>
>>
>>
>>http://staff.washington.edu/mrc
>>
>>Science does not emerge from voting, party politics, or public debate.
>>
>>Si vis pacem, para bellum.
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>------------------------------------------
>
>
>
>http://mail.atlas.cz/wapmail/

------------------------------------------

http://mail.atlas.cz/wapmail/
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to