<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Pythian Blog &#187; Bill Fraser</title>
	<atom:link href="http://www.pythian.com/news/author/fraser/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pythian.com/news</link>
	<description>News and views from Pythian DBAs</description>
	<lastBuildDate>Fri, 19 Mar 2010 20:07:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Testing Thunderbird 3: What to do if it &#8217;shreds&#8217; your threads</title>
		<link>http://www.pythian.com/news/4205/testing-thunderbird-3-what-to-do-if-it-shreds-your-threads/</link>
		<comments>http://www.pythian.com/news/4205/testing-thunderbird-3-what-to-do-if-it-shreds-your-threads/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 11:09:20 +0000</pubDate>
		<dc:creator>Bill Fraser</dc:creator>
				<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[shredder]]></category>
		<category><![CDATA[threading]]></category>
		<category><![CDATA[threads]]></category>
		<category><![CDATA[thunderbird]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.pythian.com/news/?p=4205</guid>
		<description><![CDATA[I use Mozilla Thunderbird at work for reading my email and, since Mozilla Messaging is approaching the release of Thunderbird 3, I decided to give the latest beta a try. I&#8217;m an Ubuntu user (8.04 &#8220;Hardy Heron&#8221; on my workstation) so I sought out a PPA for development versions of Thunderbird, and came across ubuntu-mozilla-daily. [...]]]></description>
			<content:encoded><![CDATA[<p>I use Mozilla Thunderbird at work for reading my email and, since <a href="http://www.mozillamessaging.com">Mozilla Messaging</a> is approaching the release of <a href="http://www.mozillamessaging.com/en-US/thunderbird/early_releases/">Thunderbird 3</a>, I decided to give the latest beta a try. I&#8217;m an Ubuntu user (8.04 &#8220;Hardy Heron&#8221; on my workstation) so I sought out a <a href="https://launchpad.net/ubuntu/+ppas">PPA</a> for development versions of Thunderbird, and came across <a href="https://launchpad.net/~ubuntu-mozilla-daily/+archive/ppa">ubuntu-mozilla-daily</a>. I added the repository to my apt config and you can too, here&#8217;s how:</p>
<p>Add the following lines to <code>/etc/apt/sources.list</code> using your favourite editor. <span id="more-4205"></span><br />
<code><br />
# Thunderbird 3.0 beta builds from ubuntu-mozilla-daily<br />
# sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 247510BE<br />
deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main<br />
deb-src http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main<br />
</code></p>
<p><strong>Note:</strong> Pardon any wrapping that may occur. It&#8217;s really four lines, two of which start with a comment (<code>'#'</code>), one with <code>deb</code> and one with <code>deb-src</code>. Also, be sure to replace the text <code>jaunty</code> with the version of Ubuntu you are using. The ubuntu-mozilla-daily PPA linked above can produce these lines for you if you are unsure. Just click the link that says <em>&#8216;Not using Ubuntu 9.10 (karmic)?&#8217;</em></p>
<p>When you have added the repository to apt, you will need to run the <code>apt-key</code> command listed in the comment above  in order to add the signing key to the apt keyring. If you don&#8217;t, you&#8217;ll receive warnings that the package cannot be verified. Also note that adding the repository this way may cause apt to report that there are updates available for other installed packages. I haven&#8217;t tested that particular detail as I was doing this within the confines of a virtual machine.</p>
<p>Once this is done you can install Thunderbird 3 using the following commands:<br />
<code><br />
sudo apt-get update<br />
sudo apt-get install thunderbird-3.0<br />
</code></p>
<p>There will now be an entry in <em>Applications</em> -&gt; <em>Internet</em> named <em>Shredder 3 Mail/News</em>. Upon running it and going through setup of my account, one of the first things I discovered is that Thunderbird 3 was not threading by subject as I had been used to. I spent some time researching why this had changed and if the behaviour was configurable. Eventually I came across <a href="https://wiki.mozilla.org/MailNews:Message_Threading">a page on the Mozilla wiki</a> that explained Thunderbird&#8217;s threading implementation in detail.</p>
<p>It turns out that the default value for two of the settings controlling thread behaviour changed between versions. By default, Thunderbird 3 uses strict threading which means that threading by subject is disabled. There are two settings that control this behaviour though: <em>mail.strict_threading</em> and <em>mail.thread_without_re</em>. The first setting enables/disables threading by subject while the second allows subject-threading even if &#8220;Re:&#8221; isn&#8217;t present. According to the wiki page there is also a setting new to the 3.x branch called <em>mail.correct_threading</em> which threads correctly regardless of the order messages are added to a folder.</p>
<p>These settings are important to me, as the ticketing system Pythian uses sends email notifications when requests are updated/modified, and it cannot use the <em>References</em> and <em>In-Reply-To</em> message headers. Also, the subject of these messages does not include the text &#8220;Re:&#8221;.</p>
<p>All of this means I needed to toggle the three thread-related settings from their default value in order to get the behaviour I expect. To do so I went into <em>Edit</em> -&gt; <em>Preferences</em> -&gt; <em>Advanced</em> and clicked <em>Config Editor</em>. After promising to be careful I filtered for &#8220;thread&#8221; and observed the following settings and their values:</p>
<table>
<tr>
<th>Preference Name</th>
<th>Value</th>
</tr>
<tr>
<td>mail.correct_threading</td>
<td>true</td>
</tr>
<tr>
<td>mail.strict_threading</td>
<td>true</td>
</tr>
<tr>
<td>mail.thread_without_re</td>
<td>false</td>
</tr>
</table>
<p>I double-clicked each of these to change their value and closed the dialog. I refreshed the view of my inbox and&nbsp;.&nbsp;. &nbsp;.&nbsp; still no threading! It occurred to me that I would need to rebuild the index, so I went into <em>Edit</em> -&gt; <em>Folder Properties</em> and clicked the <em>Rebuild Index</em> button. I have a rather large inbox, so after going to get a coffee and checking in a while later I found that Thunderbird 3 was now displaying messages in my inbox in exactly the same way as had the previous version.</p>
<p>Now that was out of the way, I could continue with exploring the rest of the features the new version Thunderbird has to offer, including new search functionality with advanced filtering, and user interface improvements such as a tabbed interface and redesigned toolbar.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/news/4205/testing-thunderbird-3-what-to-do-if-it-shreds-your-threads/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
