<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Maildir on Amit Agarwal Linux Blog</title>
    <link>/tags/maildir/</link>
    <description>Recent content in Maildir on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Fri, 24 May 2013 00:58:51 +0000</lastBuildDate>
    
	<atom:link href="/tags/maildir/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>procmail filters – apply to received mails.</title>
      <link>/2013/05/24/procmail-filters-apply-received-mails/</link>
      <pubDate>Fri, 24 May 2013 00:58:51 +0000</pubDate>
      
      <guid>/2013/05/24/procmail-filters-apply-received-mails/</guid>
      <description>&lt;p&gt;If you already have some mail in your &lt;a class=&#34;zem_slink&#34; title=&#34;Maildir&#34; href=&#34;http://en.wikipedia.org/wiki/Maildir&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;maildir&lt;/a&gt; and you have set &lt;a class=&#34;zem_slink&#34; title=&#34;Procmail&#34; href=&#34;http://www.procmail.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;procmail&lt;/a&gt; filters, then it is difficult to apply the procmail filter, right? Not so, you just need to go to the &lt;strong&gt;Inbox&lt;/strong&gt; directory and then execute the command.&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;for i in *; do cat $i|procmail; rm -f &#34;$i&#34;; done&lt;/pre&gt;
&lt;p&gt;This will pass all of your e-mail through procmail again and then your filters will get applied. Mails will go to their appropriate directory and you will be one happy man, I hope.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
