<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Procmail recipes</title>
	<link>http://chicks-dig-unix.net/2006/02/07/procmail/</link>
	<description>Misunderstood by everyone, everywhere.</description>
	<pubDate>Wed, 20 Aug 2008 07:47:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Niall</title>
		<link>http://chicks-dig-unix.net/2006/02/07/procmail/#comment-1539</link>
		<dc:creator>Niall</dc:creator>
		<pubDate>Fri, 10 Feb 2006 21:12:24 +0000</pubDate>
		<guid>http://chicks-dig-unix.net/2006/02/07/procmail/#comment-1539</guid>
		<description>Oh, another one I thought of...
I usually subscribe to lists as username+listname@mydomain.
I've set my MTA to deliver to procmail and in my procmailrc I have the following:

ARG=$1
:0
* ! ARG ?? ^$
$MAILDIR/.Lists.$ARG/

$1 is the local part after the +, but you can't use it directly in procmail, you have to assign it to a variable.
Automatically chucks mail into the right folder.</description>
		<content:encoded><![CDATA[<p>Oh, another one I thought of&#8230;<br />
I usually subscribe to lists as username+listname@mydomain.<br />
I&#8217;ve set my MTA to deliver to procmail and in my procmailrc I have the following:</p>
<p>ARG=$1<br />
:0<br />
* ! ARG ?? ^$<br />
$MAILDIR/.Lists.$ARG/</p>
<p>$1 is the local part after the +, but you can&#8217;t use it directly in procmail, you have to assign it to a variable.<br />
Automatically chucks mail into the right folder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aidan Kehoe</title>
		<link>http://chicks-dig-unix.net/2006/02/07/procmail/#comment-1416</link>
		<dc:creator>Aidan Kehoe</dc:creator>
		<pubDate>Wed, 08 Feb 2006 12:20:35 +0000</pubDate>
		<guid>http://chicks-dig-unix.net/2006/02/07/procmail/#comment-1416</guid>
		<description>A friend uses this for automatic archiving of mailman lists, without the need for list-specific configuration (make sure to revert:
&lt;pre&gt;:0
* ^List-Id:.*&#60;\/[^&#62;]+
{ DUMMY=`echo &#34;$MATCH&#34; &#124; tr &#34;\.&#34; &#34;-&#34;` }

:0 a:
.${DUMMY}/&lt;/pre&gt;

Which is very impressive, but breaks if your mail client wants to read your .procmailrc and find out the existing lists from it. </description>
		<content:encoded><![CDATA[<p>A friend uses this for automatic archiving of mailman lists, without the need for list-specific configuration (make sure to revert:</p>
<pre>:0
* ^List-Id:.*&lt;\/[^&gt;]+
{ DUMMY=`echo &#34;$MATCH&#34; | tr &#34;\.&#34; &#34;-&#34;` }

:0 a:
.${DUMMY}/</pre>
<p>Which is very impressive, but breaks if your mail client wants to read your .procmailrc and find out the existing lists from it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliph</title>
		<link>http://chicks-dig-unix.net/2006/02/07/procmail/#comment-1377</link>
		<dc:creator>Cliph</dc:creator>
		<pubDate>Tue, 07 Feb 2006 18:28:22 +0000</pubDate>
		<guid>http://chicks-dig-unix.net/2006/02/07/procmail/#comment-1377</guid>
		<description>Ah yeah, well spotted Aidan and well caught Niall.</description>
		<content:encoded><![CDATA[<p>Ah yeah, well spotted Aidan and well caught Niall.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niall</title>
		<link>http://chicks-dig-unix.net/2006/02/07/procmail/#comment-1376</link>
		<dc:creator>Niall</dc:creator>
		<pubDate>Tue, 07 Feb 2006 16:11:15 +0000</pubDate>
		<guid>http://chicks-dig-unix.net/2006/02/07/procmail/#comment-1376</guid>
		<description>.Trash for mbox, .Trash/ for maildir</description>
		<content:encoded><![CDATA[<p>.Trash for mbox, .Trash/ for maildir</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aidan Kehoe</title>
		<link>http://chicks-dig-unix.net/2006/02/07/procmail/#comment-1375</link>
		<dc:creator>Aidan Kehoe</dc:creator>
		<pubDate>Tue, 07 Feb 2006 15:47:56 +0000</pubDate>
		<guid>http://chicks-dig-unix.net/2006/02/07/procmail/#comment-1375</guid>
		<description>&lt;blockquote&gt;&lt;i&gt;Replace “/dev/null” with “.Trash” if you want to be more cautious and instead send mails to your IMAP trash folder.&lt;/i&gt;&lt;/blockquote&gt;Should be ".Trash/" ,  as I understand it? Happily, there's only one email forum participant I don't want to read after all these years, so my killfile recipe is simpler. </description>
		<content:encoded><![CDATA[<blockquote><p><i>Replace “/dev/null” with “.Trash” if you want to be more cautious and instead send mails to your IMAP trash folder.</i></p></blockquote>
<p>Should be &#8220;.Trash/&#8221; ,  as I understand it? Happily, there&#8217;s only one email forum participant I don&#8217;t want to read after all these years, so my killfile recipe is simpler.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niall</title>
		<link>http://chicks-dig-unix.net/2006/02/07/procmail/#comment-1374</link>
		<dc:creator>Niall</dc:creator>
		<pubDate>Tue, 07 Feb 2006 15:06:58 +0000</pubDate>
		<guid>http://chicks-dig-unix.net/2006/02/07/procmail/#comment-1374</guid>
		<description>My killfile recipe looks like this:

:0
* ? /bin/fgrep -i -f $HOME/.killfile
/dev/null
</description>
		<content:encoded><![CDATA[<p>My killfile recipe looks like this:</p>
<p>:0<br />
* ? /bin/fgrep -i -f $HOME/.killfile<br />
/dev/null</p>
]]></content:encoded>
	</item>
</channel>
</rss>
