<?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>numlock.ch - a changelog by Daniel Mettler &#187; maildir</title>
	<atom:link href="http://www.numlock.ch/news/tag/maildir/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.numlock.ch/news</link>
	<description>Make a diff!</description>
	<lastBuildDate>Tue, 01 Nov 2011 16:19:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Setting up Procmail and Postfix with maildir for mobile usage</title>
		<link>http://www.numlock.ch/news/it/setting-up-procmail-and-postfix-with-maildir-for-mobile-usage/</link>
		<comments>http://www.numlock.ch/news/it/setting-up-procmail-and-postfix-with-maildir-for-mobile-usage/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 23:04:32 +0000</pubDate>
		<dc:creator>Daniel Mettler</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[numlock.ch]]></category>
		<category><![CDATA[printscreen.ch]]></category>
		<category><![CDATA[e-mail]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[maildir]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[nokia e61i]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[procmail]]></category>
		<category><![CDATA[symbian]]></category>

		<guid isPermaLink="false">http://www.numlock.ch/news/?p=561</guid>
		<description><![CDATA[When I&#8217;m on the road, I can check my private and business e-mail using my very handy Nokia e61i smartphone (which I like a lot, apart from its rather unstable web browser). However, as I&#8217;ve never been far away from &#8230; <a href="http://www.numlock.ch/news/it/setting-up-procmail-and-postfix-with-maildir-for-mobile-usage/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When I&#8217;m on the road, I can check my private and business e-mail using my very handy Nokia e61i smartphone (which I like a lot, apart from its rather unstable web browser). However, as I&#8217;ve never been far away from a computer for a long time so far, I&#8217;ve only used to check mail that was delivered to my inbox, and not to any of its about 200 subfolders (I once tried to subscribe to all folders &#8211; the mail client of the e61i simply crashed ;). Now, I figured I&#8217;d need to do something about this in order to not miss any of the mails that are automatically moved to a subfolder by the server-side procmail mail filter.</p>
<p>The solution: Simply create a new procmail rule that <strong>copies</strong> (that&#8217;s what the c stands for)<strong> </strong>any incoming message to a special folder (I named it &#8220;mobile&#8221;; note that my postfix uses the maildir format to store messages):</p>
<blockquote><p>:0 c<br />
.mobile/</p></blockquote>
<p>Preferably, this rule should be placed after the spam filtering rules (you don&#8217;t want to pay for spam on your mobile, do you? ;) and before the normal procmail mail filter rules (which move every incoming mail to the appropriate subfolder). You can also use a dedicated rules file for every group of similar rules. For example, I include the files spam.rc, mobile.rc, lists.rc (with their according rules) in the main .procmailrc config file.</p>
<p>Now every mail that wasn&#8217;t filtered by the spam filter gets copied to the &#8220;mobile&#8221; subfolder of your inbox prior to getting moved to the appropriate subfolder (by the rules in lists.rc).</p>
<p>On my e61i, I hence only need to subscribe to the &#8220;mobile&#8221; subfolder in order to catch all incoming messages. As you can&#8217;t unsubscribe from the inbox subfolder itself, you should set the maximum number of caught new inbox mails to 1 (which is the minimum) in order to avoid fetching things twice. You can further configure that only headers are fetched to minimize the amount of data[1] that is automatically downloaded with every mail check (also: switch off polling if you don&#8217;t need it).</p>
<p>Note that another advantage of this solution is that you won&#8217;t tamper with any of the original messages (that are either in your inbox or in any of its subfolders). Some might call this a disadvantage though.</p>
<p>That&#8217;s it, have fun! :)</p>
<p>[1] I pay 0.10 CHF per 20 KB, i.e. 5 CHF (5 USD) per MB (which is incredibly expensive as I currently don&#8217;t have any flat rate data plan -&gt; please don&#8217;t send me a mail bomb just for fun, else I&#8217;ll have to write a more sophisticated procmail rule that only copies messages &lt; 100 KB to the mobile folder)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.numlock.ch/news/it/setting-up-procmail-and-postfix-with-maildir-for-mobile-usage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

