mails lost in mbox folder, "From -" lines get corrupted



MailNews: Backend
2 years ago
2 years ago


(Reporter: Christian Franke, Unassigned)


SeaMonkey 2.40 Branch

Firefox Tracking Flags

(Not tracked)




2 years ago
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40
Build ID: 20160120202951

Steps to reproduce:

1) Examine a local (mbox) mail folder in Thread Pane and Message Pane
2) Run Properties -> Repair Folder
3) Re-examine folder
4) start some shell and change directory to "Mail" directory in Profile
5) run: grep -r '^From -.*From'


Actual results:

Step 1) One mail looked corrupted in Message Pane.

Step 3) After Repair Folder, this mail was no longer shown in Thread Pane

Step 5) Grep finds the following lines in mbox files affected in the past:
Folder1:From - Thu OcFrom - Thu Oct 22 15:57:02 2015 
Folder2:From - Mon Feb 22From - Mon Feb 22 12:08:51 2016 
Folder3:From - Fri May 02 11:From - Fri May 02 11:56:53 2014 
Folder3:From - Thu Nov 1From - Thu Nov 12 09:41:41 2015 

Expected results:

Mail in mbox folders should not be corrupted or lost.
"From - ..." lines should be sane.

This happened occasionally with SM 2.40 and (IIRC) some previous versions. I did not yet find a way to reproduce the folder corruption for testing, sorry.

Corrupted "From - ..." lines are kept when mail is moved or copied to another folder.
You need to log in before you can comment on or make changes to this bug.