<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mail on Andrew's Memory Blog</title><link>https://andrewmemory.acornwall.net/tags/mail/</link><description>Recent content in Mail on Andrew's Memory Blog</description><generator>Hugo -- gohugo.io</generator><image><url>https://andrewmemory.acornwall.net/img/rss_image.png</url><title>Mail on Andrew's Memory Blog</title><link>https://andrewmemory.acornwall.net/</link></image><language>en</language><managingEditor>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</managingEditor><webMaster>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</webMaster><copyright>Copyright 2009--2025</copyright><lastBuildDate>Sat, 29 Jun 2019 00:22:20 -0700</lastBuildDate><atom:link href="https://andrewmemory.acornwall.net/tags/mail/index.xml" rel="self" type="application/rss+xml"/><item><title>Changing the search bar text outside of Thunderbird</title><link>https://andrewmemory.acornwall.net/blog/2019-06-29-changing-the-search-bar-text-outside-of-thunderbird/</link><pubDate>Sat, 29 Jun 2019 00:22:20 -0700</pubDate><author>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</author><guid>https://andrewmemory.acornwall.net/blog/2019-06-29-changing-the-search-bar-text-outside-of-thunderbird/</guid><description>&lt;p&gt;I run Thunderbird on a shared Samba drive. Because of that, it crashes. I know, it&amp;rsquo;s not supported. But I want to be able to load the profile from multiple clients - one at a time - and can live with it.&lt;/p&gt;
&lt;p&gt;Frustratingly, sometimes it doesn&amp;rsquo;t crash. That means every time I start Thunderbird, the text in the search bar is the thing I searched for back in 2018. I finally got annoyed enough at that to figure out how to change it.&lt;/p&gt;
&lt;p&gt;In the Thunderbird profile is a file called session.json which includes what the last session state was. Inside that is the &amp;ldquo;quickFilter&amp;rdquo;, which determines what the filter shows. Mine was:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;{&amp;quot;quickFilter&amp;quot;:{&amp;quot;filterValues&amp;quot; : {&amp;quot;text&amp;quot; : {&amp;quot;text&amp;quot; : &amp;quot;thing I didn't want to search for anymore&amp;quot;, &amp;quot;states&amp;quot; : {&amp;quot;sender&amp;quot; : true, &amp;quot;recipients&amp;quot; : true, &amp;quot;subject&amp;quot; : true, &amp;quot;body&amp;quot; : false}}, &amp;quot;results&amp;quot; : 8}, &amp;quot;visible&amp;quot; : true}}&lt;/code&gt; I replaced &amp;ldquo;thing I didn&amp;rsquo;t want to search for anymore&amp;rdquo; with &amp;quot;&amp;quot; and life was good. Incidentally, I usually want to quick filter by sender, recipients, subject but not body - you can set all those with the appropriate booleans.&lt;/p&gt;
&lt;p&gt;If you never want to see the quick filter, &amp;ldquo;visible&amp;rdquo; : false is your friend.&lt;/p&gt;</description></item><item><title>Migrating from Pegasus to Thunderbird</title><link>https://andrewmemory.acornwall.net/blog/2012-12-20-migrating-from-pegasus-to-thunderbird/</link><pubDate>Thu, 20 Dec 2012 16:32:07 -0700</pubDate><author>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</author><guid>https://andrewmemory.acornwall.net/blog/2012-12-20-migrating-from-pegasus-to-thunderbird/</guid><description>&lt;p&gt;I&amp;rsquo;ve been on Pegasus Mail for ages. It&amp;rsquo;s OK, but not open source, and I&amp;rsquo;ve always had the vague fear that some day my email will be locked away due to a format change. In addition, its HTML handling is not the best, and the way it does multiple accounts is a little weird. Finally, it was getting slow on my Windows XP PC due to the file system - and migrating it from one PC to another is a pain, especially if you&amp;rsquo;re changing the drive the data lives on.&lt;/p&gt;
&lt;p&gt;So I resolved to move to Thunderbird. I started from here: &lt;a href="http://www.techspot.com/community/topics/how-to-convert-emails-from-pegasus-to-thunderbird-format.17806/" target="_blank" rel="noreferrer"&gt;www.techspot.com/community/topics/how-to-convert-emails-from-pegasus-to-thunderbird-format.17806/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and here: &lt;a href="http://fixunix.com/mozilla/420484-pegasus-thunderbird-import-problems.html" target="_blank" rel="noreferrer"&gt;fixunix.com/mozilla/420484-pegasus-thunderbird-import-problems.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and when I did the MBox method, it seemed to work fine. Until I looked at the folder on Thunderbird and saw more messages than I&amp;rsquo;d counted on.&lt;/p&gt;
&lt;p&gt;It appears that Thunderbird uses &amp;ldquo;\n\nFrom .*\n&amp;rdquo; to filter its messages. Ok, but Pegaus doesn&amp;rsquo;t quote the From in &amp;ldquo;From the editor:&amp;rdquo; which appears at the start of the line in some of my messages. Argh! This left me with lots of messages split in half, with weird dates and strange subjects / from / to lines.&lt;/p&gt;
&lt;p&gt;I hacked up the following awk script, which I put in a file called peg2tbird: &lt;code&gt;/^From / &amp;amp;&amp;amp; ! /\?\?\?\@\?\?\?/ { printf &amp;quot;&amp;gt;%s\n&amp;quot;, $0 } !(/^From / &amp;amp;&amp;amp; ! /\?\?\?\@\?\?\?/ ) { printf &amp;quot;%s\n&amp;quot;, $0 }&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This takes any line that matches &amp;ldquo;From &amp;quot; but doesn&amp;rsquo;t match &amp;ldquo;From ???@???&amp;rdquo; and puts a &amp;gt; in front of the From. All other lines it leaves as-is.&lt;/p&gt;
&lt;p&gt;Then I ran: &lt;code&gt;\cygwin\bin\gawk -f peg2tbird &amp;lt; unx01234.mbx &amp;gt; tbird-mbox-file&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Then I copied tbird-mbox-file to my Thunderbird Profile directory (in Mail\Local Folders).&lt;/p&gt;
&lt;p&gt;This makes the messages look a little strange in Thunderbird - they look like &amp;ldquo;&amp;gt;From the editor:&amp;rdquo;. Also, some messages ended up showing with today&amp;rsquo;s date - inserted by Pegasus. (I think it was just those generated by a virus checker, so they were probably less well-formed than real messages.) Sigh. Oh well, that&amp;rsquo;s good enough for me to get my old messages migrated.&lt;/p&gt;</description></item></channel></rss>