Mailbox emergency repair



19 years ago
10 years ago


(Reporter: BenB, Unassigned)


Firefox Tracking Flags

(Not tracked)




19 years ago
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.


19 years ago
Target Milestone: --- → M20

Comment 1

18 years ago
adding mail4 keyword 
Keywords: mail4

Comment 2

18 years ago
reassigning jefft's bugs to naving
Assignee: jefft → naving

Comment 3

18 years ago
marking nsbeta1-
Keywords: nsbeta1-

Comment 4

16 years ago
Is there any progress on this, as some of us need it :)

Comment 5

16 years ago
I really need to recover my mails ... :o/

Comment 6

16 years ago
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

Comment 9

11 years ago
Is this not fixed in the meantime by the "Rebuild Summary File" option under <folder context menu> -> Properties... -> General Information?

Comment 10

11 years ago
Marking as fixed (by bug 344846).
Last Resolved: 11 years ago
Resolution: --- → FIXED


10 years ago
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.