Restore Netscape or Mozilla Deleted Mail Only Under Specific Conditions

Example Mail Header:

From - Mon Mar 01 15:20:21 2004 - Actual Date/Time the message was downloaded
X-UIDL: <>
X-Mozilla-Status: 0011 - The message display code
X-Mozilla-Status2: 00000000
Received: from ([123.456.789.123])
(InterMail vM. 102-922-211-731-40040602) with ESMTP
id < >
for ; Mon, 1 Mar 2004 32:71:30 +0000
Received: from ([987.654.321.987])
by (abcdefg01) with ESMTP
id <12345678912345mg100f0n51e>; Mon, 1 Mar 2004 23:16:47 +0000
Message-ID: <>
Date: Mon, 01 Mar 2004 17:16:55 -0600 - This is the Date/Time that apears on the message display header
From: John Doe
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en

If you deleted Mail, but the Mail folder has NOT been compacted, follow the below steps to restore messages.

If you have compacted your files, then the Mail is not recoverable, and this workaround will not restore the deleted mail.

Close Mozilla/Netscape, and Quick Launch

  1. Open Windows Explorer
  2. Copy the file, without the MSF extension, from which you deleted the Mail, to another location
  3. Rename the file:   e.g., restoreSent or restoreInbox, etc.
  4. Open the renamed file in a text editor (preferably one with "Find and Replace" capabilities)
  5. Find:     X-Mozilla-Status: 0009        Replace with:     X-Mozilla-Status: 0000
    Based on information from sample mail header above (this will restore the message to "unread")
  6. Find:     X-Mozilla-Status: 0019        Replace with:     X-Mozilla-Status: 0011
    Based on information from sample mail header above
Continue the above steps:

Find:     X-Mozilla-Status: 001b        Replace with:     X-Mozilla-Status: 0013
Find:     X-Mozilla-Status: 000b        Replace with:     X-Mozilla-Status: 0003
Find:     X-Mozilla-Status: 1019        Replace with:     X-Mozilla-Status: 1011
Find:     X-Mozilla-Status: 101b        Replace with:     X-Mozilla-Status: 1013

Though I have not tried ALL combinations, I beleive that you can replace the last digit and restore the message to again display.
Find:    X-Mozilla-Status: nnn9        Replace with:     X-Mozilla-Status: nnn0
Find:    X-Mozilla-Status: nnnb        Replace with:     X-Mozilla-Status: nnn3

If the file is large, you can break it down into smaller files.
The break point just above the: From - Sun Feb 22 18:40:19 2004
This is the actual Date/Time the message was downloaded

When you have made all the edits, save the renamed file (without any extension)
Copy the edited renamed file ( with no extension) back to the original Mail Account folder:
C:\.......\Application Data\Mozilla\Profiles\profilename\xxxxxxxx.slt\Mail\mailaccount

Open Netscape/Mozilla
The recovered messages should be displayed in the renamed folder
Drag the recovered messages from the renamed folder to the folder from which they were originally deleted
When all files have been placed in their original folder, and you are satisfied that the deleted mail has been restored:
Compact the original folder in order to release unused space
You can then delete the renamed folder

For further details see Restore Netscape or Mozilla Deleted Mail Detailed Explanation, Page 2.


Back to Top

Return to Netscape Solutions

Thank you for viewing this page. You are visitor number: