Closed Bug 52041 Opened 24 years ago Closed 17 years ago

Mailbox emergency repair

Categories

(MailNews Core :: Networking: POP, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: BenB, Unassigned)

Details

Sometimes, mailboxes get corrupted for whatever reason, and we might fail to
read them. I don't know, if that can occur in Mozilla (if not, mark INVALID),
but there are reports that it can happen in 4.x.

It would be nice, if the mailboxes could be repaired by a program supplied by
us. This program could be incorporated in Mozilla (with the advantage that it
could start the repair automatically) or be a standalone tool (with the
advantage, that it can be used, even if we don't detect the problem) or both.

It could offer the following functions:
- Remove cache files (e.g. *.msf)
- Edit the mbox file
  - displaying the recognized headers and failures to recognize them
  - offering to select and delete (possibly corrupted) parts of it

This would enable users to recover from fatal errors on our side by themselves.
Status: NEW → ASSIGNED
Target Milestone: --- → M20
adding mail4 keyword 
Keywords: mail4
reassigning jefft's bugs to naving
Assignee: jefft → naving
Status: ASSIGNED → NEW
marking nsbeta1-
Keywords: nsbeta1-
Is there any progress on this, as some of us need it :)
I really need to recover my mails ... :o/
Platform: PowerBook G4/1GHz/1GB/60GB, MacOS X 10.2.3
Fizzilla build: 2002121216

One of the strangest corruption issues I've ever seen happened with Moz on MacOS
X. Moz would crash when I clicked a particular multilingual email message (don't
remember what language). So, I figured I'd just open the mailbox file and
manually extract it w/a text editor (BBEdit).

I opened the mailbox file. I found the message. The entire message was repeating
on a single line. Imagine a line of text, then another, then another, but all
the lines redrawn on a single line w/no CRs. What was bizarre about this was
that this was in BBEdit! I cut the message, then pasted into TextEdit, which
"expanded" the message (CRs started showing up again). I then repasted it back
into my mailbox file in BBEdit, saved, and everything was fine after that.

I wish I'd kept the message, to show what happened. But it would be great if
this tool could completely reconstruct a mailbox file, right down to carriage
returns, to be sure it's valid.

- Adam
mass re-assign.
Assignee: naving → sspitzer
Product: MailNews → Core
sorry for the spam.  making bugzilla reflect reality as I'm not working on these bugs.  filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Is this not fixed in the meantime by the "Rebuild Summary File" option under <folder context menu> -> Properties... -> General Information?
Marking as fixed (by bug 344846).
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.