<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: An Introduction To IMAP IDLE: Why Yahoo!&#8217;s iPhone Push System Isn&#8217;t Working So Well</title>
	<atom:link href="http://danielmiessler.com/blog/an-introduction-to-imap-idle-why-yahoos-iphone-push-system-isnt-working-so-well/feed" rel="self" type="application/rss+xml" />
	<link>http://danielmiessler.com/blog/an-introduction-to-imap-idle-why-yahoos-iphone-push-system-isnt-working-so-well</link>
	<description>grep understanding</description>
	<lastBuildDate>Fri, 19 Mar 2010 22:30:03 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: text/plain &#187; Blog Archive &#187; Yahoo and the iPhone, not P-IMAP.</title>
		<link>http://danielmiessler.com/blog/an-introduction-to-imap-idle-why-yahoos-iphone-push-system-isnt-working-so-well/comment-page-1#comment-72578</link>
		<dc:creator>text/plain &#187; Blog Archive &#187; Yahoo and the iPhone, not P-IMAP.</dc:creator>
		<pubDate>Mon, 23 Jul 2007 11:45:04 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/archives/1435#comment-72578</guid>
		<description>&lt;p&gt;[...] developed by Oracle a couple of years ago. I&#8217;ve seen this written in numerous places, such as here, as if it were [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] developed by Oracle a couple of years ago. I&#8217;ve seen this written in numerous places, such as here, as if it were [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: kael</title>
		<link>http://danielmiessler.com/blog/an-introduction-to-imap-idle-why-yahoos-iphone-push-system-isnt-working-so-well/comment-page-1#comment-71851</link>
		<dc:creator>kael</dc:creator>
		<pubDate>Thu, 19 Jul 2007 15:31:47 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/archives/1435#comment-71851</guid>
		<description>&lt;p&gt;There exists a true push mail mechanism, complementary to IDLE, called &lt;a href=&quot;http://www.openmobilealliance.org/release_program/emn_v10.html&quot; rel=&quot;nofollow&quot;&gt;EMN&lt;/a&gt; based on WAP push (over SMS and HTTP, I believe - not sure).&lt;/p&gt;

&lt;p&gt;After receiving a notification from the mail server, the WAP server sends an XML message by SMS to the mobile device which then triggers the mail client to eventually FETCH the new message headers or BODY part (according to predefined configuration settings).&lt;/p&gt;

&lt;p&gt;EMN is used as an outband notification mechanism in the &lt;a href=&quot;http://tools.ietf.org/html/draft-ietf-lemonade-notifications-04#section-9.1&quot; rel=&quot;nofollow&quot;&gt;Lemonade Notification draft&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you know how to use &lt;a href=&quot;http://www.kannel.org&quot; rel=&quot;nofollow&quot;&gt;Kannel&lt;/a&gt;, there might be a way to receive messages from an SMTP server, extract the relevant part, construct an EMN XML message and turn it into an HTTP POST - assuming the phone is compatible, of course.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>There exists a true push mail mechanism, complementary to IDLE, called <a href="http://www.openmobilealliance.org/release_program/emn_v10.html" rel="nofollow">EMN</a> based on WAP push (over SMS and HTTP, I believe &#8211; not sure).</p>

<p>After receiving a notification from the mail server, the WAP server sends an XML message by SMS to the mobile device which then triggers the mail client to eventually FETCH the new message headers or BODY part (according to predefined configuration settings).</p>

<p>EMN is used as an outband notification mechanism in the <a href="http://tools.ietf.org/html/draft-ietf-lemonade-notifications-04#section-9.1" rel="nofollow">Lemonade Notification draft</a>.</p>

<p>If you know how to use <a href="http://www.kannel.org" rel="nofollow">Kannel</a>, there might be a way to receive messages from an SMTP server, extract the relevant part, construct an EMN XML message and turn it into an HTTP POST &#8211; assuming the phone is compatible, of course.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Miessler</title>
		<link>http://danielmiessler.com/blog/an-introduction-to-imap-idle-why-yahoos-iphone-push-system-isnt-working-so-well/comment-page-1#comment-70852</link>
		<dc:creator>Daniel Miessler</dc:creator>
		<pubDate>Sat, 14 Jul 2007 21:13:04 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/archives/1435#comment-70852</guid>
		<description>&lt;p&gt;Interesting. I&#039;m going to be following this more. As soon as there&#039;s a solution for implementing this on Linux I&#039;m going to implement it and publish the instructions.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Interesting. I&#8217;m going to be following this more. As soon as there&#8217;s a solution for implementing this on Linux I&#8217;m going to implement it and publish the instructions.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://danielmiessler.com/blog/an-introduction-to-imap-idle-why-yahoos-iphone-push-system-isnt-working-so-well/comment-page-1#comment-70377</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Thu, 12 Jul 2007 20:14:22 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/archives/1435#comment-70377</guid>
		<description>&lt;p&gt;an anonymous poster over at http://blog.twenty08.com/2007/07/01/iphone-push-mail/#comments
claims that the yahoo push solution isn&#039;t p-imap or idle.&lt;/p&gt;

&lt;p&gt;Has anyone tried to capture traffic between an iphone and the yahoo servers to verify this?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>an anonymous poster over at <a href="http://blog.twenty08.com/2007/07/01/iphone-push-mail/#comments" rel="nofollow">http://blog.twenty08.com/2007/07/01/iphone-push-mail/#comments</a>
claims that the yahoo push solution isn&#8217;t p-imap or idle.</p>

<p>Has anyone tried to capture traffic between an iphone and the yahoo servers to verify this?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Cridland</title>
		<link>http://danielmiessler.com/blog/an-introduction-to-imap-idle-why-yahoos-iphone-push-system-isnt-working-so-well/comment-page-1#comment-70205</link>
		<dc:creator>Dave Cridland</dc:creator>
		<pubDate>Wed, 11 Jul 2007 23:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/archives/1435#comment-70205</guid>
		<description>&lt;p&gt;The 3-minute timeout on IDLE is probably due to a more broken than usual NAT system on your mobile network. A good network shouldn&#039;t be timing out connections, and even a poor one should manage more than three minutes.&lt;/p&gt;

&lt;p&gt;And P-IMAP is a dead I-D, pushed by Oracle, which ended up being cherry-picked for value for Lemonade, which does use IDLE, and is deployed, as well as being an IETF Proposed Standard.&lt;/p&gt;

&lt;p&gt;Now. Your article suggests that IDLE is inherently un-robust - not true. The issue is that with a NAT in the way, a TCP connection may be severed for no good reason. TCP survives the lower layer dropping out just fine. From a technical standpoint, then, a TCP connection running dormant is the ideal solution. There&#039;s nothing magical about using TCP and IDLE to provision push notifications, as compared to some other method.&lt;/p&gt;

&lt;p&gt;Microsoft&#039;s solution relies on repetitive HTTP queries, which cost battery power, and, for many users, actual real money. It&#039;s still client provisioned, it&#039;s just much worse.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The 3-minute timeout on IDLE is probably due to a more broken than usual NAT system on your mobile network. A good network shouldn&#8217;t be timing out connections, and even a poor one should manage more than three minutes.</p>

<p>And P-IMAP is a dead I-D, pushed by Oracle, which ended up being cherry-picked for value for Lemonade, which does use IDLE, and is deployed, as well as being an IETF Proposed Standard.</p>

<p>Now. Your article suggests that IDLE is inherently un-robust &#8211; not true. The issue is that with a NAT in the way, a TCP connection may be severed for no good reason. TCP survives the lower layer dropping out just fine. From a technical standpoint, then, a TCP connection running dormant is the ideal solution. There&#8217;s nothing magical about using TCP and IDLE to provision push notifications, as compared to some other method.</p>

<p>Microsoft&#8217;s solution relies on repetitive HTTP queries, which cost battery power, and, for many users, actual real money. It&#8217;s still client provisioned, it&#8217;s just much worse.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Brown</title>
		<link>http://danielmiessler.com/blog/an-introduction-to-imap-idle-why-yahoos-iphone-push-system-isnt-working-so-well/comment-page-1#comment-68843</link>
		<dc:creator>Ryan Brown</dc:creator>
		<pubDate>Fri, 06 Jul 2007 05:25:51 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/archives/1435#comment-68843</guid>
		<description>&lt;p&gt;Err, no. The iPhone doesn&#039;t support IDLE, only P-IMAP, which Yahoo (and just about no one else) implements.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Err, no. The iPhone doesn&#8217;t support IDLE, only P-IMAP, which Yahoo (and just about no one else) implements.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: John Foster</title>
		<link>http://danielmiessler.com/blog/an-introduction-to-imap-idle-why-yahoos-iphone-push-system-isnt-working-so-well/comment-page-1#comment-68193</link>
		<dc:creator>John Foster</dc:creator>
		<pubDate>Tue, 03 Jul 2007 23:46:47 +0000</pubDate>
		<guid isPermaLink="false">http://dmiessler.com/archives/1435#comment-68193</guid>
		<description>&lt;p&gt;Another thing to consider is the 29 minute window for the connection to be IDLE.  I have used both VGSMail and Flexmail 2007 for PocketPC and neither worked properly with default settings.  For my carrier and IMAP provider I found through trial and error changing the default from 29 to 3 minutes fixed the problem.  Both programs send the IDLE heart beat back to the IMAP sever after a certain amount of time and if the connection has been dropped you will see an authentication attempt in the logs.  I kept reducing the IDLE time until I was consistently able to keep the connection open.  3 minutes was the sweet spot.  It still uses less power than doing POP3 every 10 minutes, which shows the true resource savings of IMAP IDLE.  Keep an eye out for the P-IMAP standard which is designed for mobile devices.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Another thing to consider is the 29 minute window for the connection to be IDLE.  I have used both VGSMail and Flexmail 2007 for PocketPC and neither worked properly with default settings.  For my carrier and IMAP provider I found through trial and error changing the default from 29 to 3 minutes fixed the problem.  Both programs send the IDLE heart beat back to the IMAP sever after a certain amount of time and if the connection has been dropped you will see an authentication attempt in the logs.  I kept reducing the IDLE time until I was consistently able to keep the connection open.  3 minutes was the sweet spot.  It still uses less power than doing POP3 every 10 minutes, which shows the true resource savings of IMAP IDLE.  Keep an eye out for the P-IMAP standard which is designed for mobile devices.</p>]]></content:encoded>
	</item>
</channel>
</rss>
