<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Recovering deleted emails from Thunderbird</title>
	<atom:link href="http://blog.coryfoy.com/2007/01/recovering-deleted-emails-from-thunderbird/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.coryfoy.com/2007/01/recovering-deleted-emails-from-thunderbird/</link>
	<description>It&#039;s all about delivering</description>
	<lastBuildDate>Wed, 08 Feb 2012 16:42:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Márton Szabó</title>
		<link>http://blog.coryfoy.com/2007/01/recovering-deleted-emails-from-thunderbird/comment-page-1/#comment-1296</link>
		<dc:creator>Márton Szabó</dc:creator>
		<pubDate>Sat, 16 Jul 2011 20:22:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cornetdesign.com/?p=187#comment-1296</guid>
		<description>From Brian&#039;s post:
s/000d/0005/;

So in this case you have to use 0x000d - 0x0008 = 0x0005</description>
		<content:encoded><![CDATA[<p>From Brian&#8217;s post:<br />
s/000d/0005/;</p>
<p>So in this case you have to use 0x000d &#8211; 0&#215;0008 = 0&#215;0005</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sean nathan bean</title>
		<link>http://blog.coryfoy.com/2007/01/recovering-deleted-emails-from-thunderbird/comment-page-1/#comment-1148</link>
		<dc:creator>sean nathan bean</dc:creator>
		<pubDate>Mon, 21 Jun 2010 20:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cornetdesign.com/?p=187#comment-1148</guid>
		<description>thanks for this... but i have a queston and hope you are still around... 

the only X-Mozilla-Status: taht i have run across that i don&#039;t know how to retrieve is

X-Mozilla-Status: 000d

all the others i have figured out how to recover:

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
Find:     X-Mozilla-Status: 100b        Replace with:     X-Mozilla-Status: 1003
Find:     X-Mozilla-Status: 000d        Replace with:     X-Mozilla-Status: ????

hope you are still paying attention to this blog

Sean</description>
		<content:encoded><![CDATA[<p>thanks for this&#8230; but i have a queston and hope you are still around&#8230; </p>
<p>the only X-Mozilla-Status: taht i have run across that i don&#8217;t know how to retrieve is</p>
<p>X-Mozilla-Status: 000d</p>
<p>all the others i have figured out how to recover:</p>
<p>Find:     X-Mozilla-Status: 001b        Replace with:     X-Mozilla-Status: 0013<br />
Find:     X-Mozilla-Status: 000b        Replace with:     X-Mozilla-Status: 0003<br />
Find:     X-Mozilla-Status: 1019        Replace with:     X-Mozilla-Status: 1011<br />
Find:     X-Mozilla-Status: 101b        Replace with:     X-Mozilla-Status: 1013<br />
Find:     X-Mozilla-Status: 100b        Replace with:     X-Mozilla-Status: 1003<br />
Find:     X-Mozilla-Status: 000d        Replace with:     X-Mozilla-Status: ????</p>
<p>hope you are still paying attention to this blog</p>
<p>Sean</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://blog.coryfoy.com/2007/01/recovering-deleted-emails-from-thunderbird/comment-page-1/#comment-1145</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Sat, 19 Jun 2010 05:10:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cornetdesign.com/?p=187#comment-1145</guid>
		<description>Thanks so very much for posting this. I was able to recover almost 1800 emails.</description>
		<content:encoded><![CDATA[<p>Thanks so very much for posting this. I was able to recover almost 1800 emails.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Undelete Files</title>
		<link>http://blog.coryfoy.com/2007/01/recovering-deleted-emails-from-thunderbird/comment-page-1/#comment-835</link>
		<dc:creator>Undelete Files</dc:creator>
		<pubDate>Sun, 20 Sep 2009 18:36:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cornetdesign.com/?p=187#comment-835</guid>
		<description>Great post, i stumbled onto your site and really enjoy the posts. Keep em coming.
~ greg</description>
		<content:encoded><![CDATA[<p>Great post, i stumbled onto your site and really enjoy the posts. Keep em coming.<br />
~ greg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.coryfoy.com/2007/01/recovering-deleted-emails-from-thunderbird/comment-page-1/#comment-783</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 11 Aug 2009 20:45:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cornetdesign.com/?p=187#comment-783</guid>
		<description>Thanks so much for this article!  I was trying to hit shift-End to select a group of e-mails, and accidentally bumped the delete key after I did it.  Not good.  Was able to recover them all after this, so just wanted to say thanks for the info and insight!</description>
		<content:encoded><![CDATA[<p>Thanks so much for this article!  I was trying to hit shift-End to select a group of e-mails, and accidentally bumped the delete key after I did it.  Not good.  Was able to recover them all after this, so just wanted to say thanks for the info and insight!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: walter</title>
		<link>http://blog.coryfoy.com/2007/01/recovering-deleted-emails-from-thunderbird/comment-page-1/#comment-210</link>
		<dc:creator>walter</dc:creator>
		<pubDate>Fri, 24 Oct 2008 08:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cornetdesign.com/?p=187#comment-210</guid>
		<description>thanks, it was very useful for me!</description>
		<content:encoded><![CDATA[<p>thanks, it was very useful for me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://blog.coryfoy.com/2007/01/recovering-deleted-emails-from-thunderbird/comment-page-1/#comment-211</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 27 May 2008 14:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cornetdesign.com/?p=187#comment-211</guid>
		<description>Thanks for the post!  To add to what &quot;anonymous&quot; posted, I used the following to get the following unique statuses:&lt;br /&gt;grep -E &#039;^X-Mozilla-Status:&#039; Inbox &#124; sort -u &#124; cut -d&#039; &#039; -f2 &gt; statuses&lt;br /&gt;&lt;br /&gt;I then used the following ruby to mask 0x0008:&lt;br /&gt;while line = gets&lt;br /&gt;&#160;&#160;oval = line.to_i(16)&lt;br /&gt;&#160;&#160;nval = oval &amp; 0b1111111110111&lt;br /&gt;&#160;&#160;puts &quot;#{line.strip} (#{oval.to_s(2).rjust(13, &#039;0&#039;)}) =&gt; #{nval.to_s(16).rjust(4, &#039;0&#039;)} (#{nval.to_s(2).rjust(13, &#039;0&#039;)})&quot;&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;Save it in translate.rb or something.  That&#039;ll show you the conversion in both binary &amp; hex.  (ruby translate.rb statuses)&lt;br /&gt;&lt;br /&gt;Finally, I took that and built a sed script similar to the following:&lt;br /&gt;sed -e &#039;/^X-Mozilla-Status:/ { s/0008/0000/; s/0009/0001/; s/000a/0002/; s/000b/0003/; s/000d/0005/; s/000f/0007/; s/0018/0010/; s/0019/0011/; s/001a/0012/; s/001b/0013/; s/001f/0017/; s/1009/1001/; s/100b/1003/; s/1019/1011/; s/101b/1013/ }&#039; Inbox &gt; Inbox.fixed</description>
		<content:encoded><![CDATA[<p>Thanks for the post!  To add to what &#8220;anonymous&#8221; posted, I used the following to get the following unique statuses:<br />grep -E &#8216;^X-Mozilla-Status:&#8217; Inbox | sort -u | cut -d&#8217; &#8216; -f2 > statuses</p>
<p>I then used the following ruby to mask 0&#215;0008:<br />while line = gets<br />&nbsp;&nbsp;oval = line.to_i(16)<br />&nbsp;&nbsp;nval = oval &#038; 0b1111111110111<br />&nbsp;&nbsp;puts &#8220;#{line.strip} (#{oval.to_s(2).rjust(13, &#8217;0&#8242;)}) => #{nval.to_s(16).rjust(4, &#8217;0&#8242;)} (#{nval.to_s(2).rjust(13, &#8217;0&#8242;)})&#8221;<br />end</p>
<p>Save it in translate.rb or something.  That&#8217;ll show you the conversion in both binary &#038; hex.  (ruby translate.rb statuses)</p>
<p>Finally, I took that and built a sed script similar to the following:<br />sed -e &#8216;/^X-Mozilla-Status:/ { s/0008/0000/; s/0009/0001/; s/000a/0002/; s/000b/0003/; s/000d/0005/; s/000f/0007/; s/0018/0010/; s/0019/0011/; s/001a/0012/; s/001b/0013/; s/001f/0017/; s/1009/1001/; s/100b/1003/; s/1019/1011/; s/101b/1013/ }&#8217; Inbox > Inbox.fixed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stonewall</title>
		<link>http://blog.coryfoy.com/2007/01/recovering-deleted-emails-from-thunderbird/comment-page-1/#comment-212</link>
		<dc:creator>Stonewall</dc:creator>
		<pubDate>Mon, 10 Dec 2007 10:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cornetdesign.com/?p=187#comment-212</guid>
		<description>Excellent post!  I too deleted my entire inbox with a shift-delete.  OOPS!  Your procedure worked to recover what looks to be a LOT of my deleted mails.  Including about 14,000 spam messages!  I did this on a windows box using the &lt;a href=&quot;http://sourceforge.net/project/downloading.php?groupname=gnuwin32&amp;filename=sed-4.1.5-setup.exe&amp;use_mirror=superb-east&quot; rel=&quot;nofollow&quot;&gt;GnuWin32 version of sed.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The only difference was that I had to use double quotes in the command.&lt;br /&gt;&lt;br /&gt;C:\Program Files\GnuWin32\bin&gt;sed &quot;s/X-Mozilla-Status: 0008/X-Mozilla-Status: 00&lt;br /&gt;01/g&quot; Inbox &gt; FixedInbox&lt;br /&gt;&lt;br /&gt;Thanks for the info, it saved my emails!</description>
		<content:encoded><![CDATA[<p>Excellent post!  I too deleted my entire inbox with a shift-delete.  OOPS!  Your procedure worked to recover what looks to be a LOT of my deleted mails.  Including about 14,000 spam messages!  I did this on a windows box using the <a href="http://sourceforge.net/project/downloading.php?groupname=gnuwin32&amp;filename=sed-4.1.5-setup.exe&amp;use_mirror=superb-east" rel="nofollow">GnuWin32 version of sed.</a></p>
<p>The only difference was that I had to use double quotes in the command.</p>
<p>C:\Program Files\GnuWin32\bin>sed &#8220;s/X-Mozilla-Status: 0008/X-Mozilla-Status: 00<br />01/g&#8221; Inbox > FixedInbox</p>
<p>Thanks for the info, it saved my emails!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.coryfoy.com/2007/01/recovering-deleted-emails-from-thunderbird/comment-page-1/#comment-213</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 15 Jan 2007 16:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cornetdesign.com/?p=187#comment-213</guid>
		<description>Thanks! You helped save my bacon - the only thing I may add is that the X-Mozilla-Status can be things like 0018 - meaning, that the message has been replied to and deleted, so a global replace of may miss some emails that have had other things done to them like replied  or forwarded and then deleted.</description>
		<content:encoded><![CDATA[<p>Thanks! You helped save my bacon &#8211; the only thing I may add is that the X-Mozilla-Status can be things like 0018 &#8211; meaning, that the message has been replied to and deleted, so a global replace of may miss some emails that have had other things done to them like replied  or forwarded and then deleted.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

