<?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>delx &#187; email</title>
	<atom:link href="http://delx.net.au/blog/tag/email/feed/" rel="self" type="application/rss+xml" />
	<link>http://delx.net.au/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 07 Jan 2012 06:37:43 +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>OfflineIMAP IDLE support</title>
		<link>http://delx.net.au/blog/2009/02/offlineimap-idle-support/</link>
		<comments>http://delx.net.au/blog/2009/02/offlineimap-idle-support/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 05:36:45 +0000</pubDate>
		<dc:creator>delx</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[offlineimap]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://delx.net.au/blog/?p=112</guid>
		<description><![CDATA[I&#8217;ve implemented IDLE support into OfflineIMAP. For the last day or two I&#8217;ve been using this and I&#8217;m loving the instant email notifications. I emailed the original author and plan to work with him to get the code included into an official OfflineIMAP release. There&#8217;s a Git repository with the patch included here: http://delx.net.au/git/offlineimap I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve implemented IDLE support into OfflineIMAP. For the last day or two I&#8217;ve been using this and I&#8217;m loving the instant email notifications. I emailed the original author and plan to work with him to get the code included into an official OfflineIMAP release.</p>
<p><span id="more-112"></span></p>
<p>There&#8217;s a Git repository with the patch included here:<br />
<a href="http://delx.net.au/git/offlineimap">http://delx.net.au/git/offlineimap</a></p>
<p>I followed the plan John Goerzen suggested in <a href="http://software.complete.org/software/issues/show/18">offlineimap ticket 18</a>. Here&#8217;s an overview of the changes.</p>
<ul>
<li>Use <a href="http://www.cs.usyd.edu.au/~piers/python/imaplib2">imaplib2</a> as it implements the IDLE command and a few other nice things. This is written by Piers Lauder, the author Python&#8217;s standard imaplib.</li>
<li>Some small changes to the OfflineIMAP code were needed for it to work with imaplib2.</li>
<li>Added a config parameter &#8216;idlefolders&#8217; to specify a list of mailboxes to monitor. This parameter forces holdconnectionopen, keepalive and maxconnections to be sane values.</li>
<li>Hijack the keepalive thread. Use the available connections for IDLE, one on each of the given mailboxes. If there are leftover connections we send NOOP as before.</li>
<li>Added documentation to the sample offlineimap.conf</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://delx.net.au/blog/2009/02/offlineimap-idle-support/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

