<?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>0x89 &#187; mutt</title>
	<atom:link href="http://0x89.eu/tag/mutt/feed/" rel="self" type="application/rss+xml" />
	<link>http://0x89.eu</link>
	<description>just a random mind dump</description>
	<lastBuildDate>Sun, 20 Sep 2009 17:55:05 +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>keeping your inbox tidy with mutt</title>
		<link>http://0x89.eu/2009/08/54/keeping-your-inbox-tidy-with-mutt/</link>
		<comments>http://0x89.eu/2009/08/54/keeping-your-inbox-tidy-with-mutt/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 15:17:37 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[mutt]]></category>

		<guid isPermaLink="false">http://0x89.eu/?p=54</guid>
		<description><![CDATA[how to keep your inbox tidy with mutt, while keeping the messages that are unread, flagged, or newer than 2 weeks]]></description>
			<content:encoded><![CDATA[<p>I use <a title="the mutt email client" href="http://www.mutt.org">mutt</a> for mailing. It is a very powerful commandline email client. What I generally like about programs on the command line is that they usually start up very fast, so you don&#8217;t have to keep them running in the background in order to get back to them, but can just start them up when you need them.</p>
<p>In principle, this is also true for mutt. But mutt has the problem that it is not able to load a huge number of <a title="wikipedia entry for maildir" href="http://en.wikipedia.org/wiki/Maildir">maildir</a> messages effectively on startup, as it does not cache the titles and has to read all of the messages to show you the inbox.</p>
<p>This is no problem if you always have an <a title="inbox zero talk" href="http://www.youtube.com/watch?v=z9UjeTMb3Yk">empty inbox</a>.</p>
<p>Having a really empty inbox is no problem with mutt, as it automatically moves read mail to a folder called mbox with the setting <code>set move=yes</code>.<br />
This was not enough for me, as I wanted to keep the read mail of the last two weeks so that it does not move mails that I have already read but that still need processing (like answering..).</p>
<p>So this what I put into <code>~/.mutttrc</code> to achieve this:</p>
<pre>
folder-hook =INBOX 'push \
"&lt;tag-pattern&gt;~r&gt;2w~R!~F&lt;enter&gt;&lt;tag-prefix-cond&gt;&lt;save-essage&gt;=mbox"&lt;enter&gt;'
</pre>
<p>This moves all messages that are older than 2 weeks, but keeps messages that are flagged and/or unread, when I enter my INBOX.</p>
]]></content:encoded>
			<wfw:commentRss>http://0x89.eu/2009/08/54/keeping-your-inbox-tidy-with-mutt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
