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.
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw