<?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>tinman alley &#187; Email</title>
	<atom:link href="http://blog.tinle.org/category/tech/email/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tinle.org</link>
	<description>Welcome to tinman alley!</description>
	<lastBuildDate>Mon, 23 Aug 2010 06:46:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>sieve filtering</title>
		<link>http://blog.tinle.org/2009/12/04/sieve-filtering/</link>
		<comments>http://blog.tinle.org/2009/12/04/sieve-filtering/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 19:16:27 +0000</pubDate>
		<dc:creator>tin</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[dovecot]]></category>
		<category><![CDATA[mail filter]]></category>
		<category><![CDATA[sieve]]></category>

		<guid isPermaLink="false">http://blog.tinle.org/?p=83</guid>
		<description><![CDATA[Here is some basic sieve filtering (under dovecot, should be same for other imap server though). I am using FC11, each account can have their own sieve filter.  The default is ${HOME}/.dovecot.sieve which is a text file. Here is a snippet of my .dovecot.sieve file. NOTE: you need the sieve plugins (envelope, subaddress, regex, relational) [...]]]></description>
			<content:encoded><![CDATA[<p>Here is some basic sieve filtering (under dovecot, should be same for other imap server though).</p>
<p>I am using FC11, each account can have their own sieve filter.  The default is <em>${HOME}/.dovecot.sieve</em> which is a text file.</p>
<p>Here is a snippet of my .dovecot.sieve file.</p>
<p><strong>NOTE</strong>: you need the sieve plugins (envelope, subaddress, regex, relational)</p>
<p><code><br />
require ["reject", "fileinto", "envelope", "subaddress", "regex", "relational"];<br />
if  anyof (<br />
header :contains ["Return-path"] "firewall-wizards-bounces@listserv.icsalabs.com",<br />
header :contains ["List-Id"] "Firewall Wizards Security Mailing List",<br />
header :contains ["List-Post"] "mailto:firewall-wizards@listsserv..icsalabs.com") {<br />
fileinto "lists.firewall";<br />
} elsif anyof (<br />
header :contains ["X-Mailing-List"] "pgsql-general",<br />
header :contains ["List-ID"] "pgsql-general.postgresql.org",<br />
header :contains ["X-Mailing-List"] "pgsql-performance",<br />
header :contains ["List-ID"] "pgsql-performance.postgresql.org") {<br />
fileinto "lists.postgresql";<br />
} elsif anyof (<br />
header :contains ["X-BeenThere"] "rubyonrails-talk",<br />
header :contains ["List-ID"] "rubyonrails-talk.googlegroups.com") {<br />
fileinto "lists.rails";<br />
} else {<br />
# The rest goes into INBOX<br />
# default is "implicit keep", we do it explicitly here<br />
keep;<br />
}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tinle.org/2009/12/04/sieve-filtering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
