<?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>Hawk Wings &#187; proxy</title>
	<atom:link href="http://www.hawkwings.net/tag/proxy/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hawkwings.net</link>
	<description>Tips and add-ons to make Apple Mail / Mail.app even better</description>
	<lastBuildDate>Tue, 26 Jul 2011 07:44:09 +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>Apple Mail phones home too</title>
		<link>http://www.hawkwings.net/2006/07/18/apple-mail-phones-home-too/</link>
		<comments>http://www.hawkwings.net/2006/07/18/apple-mail-phones-home-too/#comments</comments>
		<pubDate>Tue, 18 Jul 2006 12:17:28 +0000</pubDate>
		<dc:creator>Tim Gaden</dc:creator>
				<category><![CDATA[Apple Mail Bugs]]></category>
		<category><![CDATA[Apple Mail]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[certificates]]></category>
		<category><![CDATA[hanging]]></category>
		<category><![CDATA[mail.app]]></category>
		<category><![CDATA[port 80]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[reply]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[spinning beachball of death]]></category>

		<guid isPermaLink="false">http://www.hawkwings.net/2006/07/18/apple-mail-phones-home-too/</guid>
		<description><![CDATA[Not long ago Daniel Jalkut discovered that Dashboard calls home to Apple to check for widget updates. Today I discovered that Mail.app does the same thing.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.hawkwings.net/wp-content/uploads/2006/07/wp-images/phonehomefirewall.jpg" height="95" width="100" border="0" align="right" hspace="10" vspace="0" alt="phonehomefirewall" title="phonehomefirewall" />Not long ago Daniel Jalkut <a href="http://www.red-sweater.com/blog/153/apple-phones-home-too">discovered that Dashboard calls home</a> <img src="http://www.hawkwings.net/images/extlink.jpg"/> to Apple to check for widget updates. Today I discovered that Mail.app does the same thing.</p>
<p>Recently at my real work but not at home, Mail has been hanging for 30 seconds to a minute each time I tried to reply to an email.  I would hit the Reply button and have time to make a cup of coffee in the kitchenette before the reply window appeared.</p>
<p>Luckily, the network administrator at the College, Tim Bell, has god-like tcpdump powers. He uncovered what was happening.</p>
<p>Each time I reply to a message, Mail attempts to contact an Apple server through port 80. That&#8217;s not a problem at home, but it is at work, where port 80 is blocked and a proxy redirects all HTTP traffic through another port. Mail didn&#8217;t respect my proxy settings. It carried on regardless with a process that eventually failed after lengthy delay.</p>
<p>Tim opened the port so that we could see what Mail was trying to do. </p>
<p>Mail was sending the following request based on my .Mac username to certinfo.mac.com (17.250.248.148):</p>
<p><span id="code">GET /lookup?timgaden HTTP/1.1</p>
<p>In response, it was getting:</p>
<div id="code">timgaden<br />
================<br />
R5IGFzc3VtZXMg<br />
YWNjZXB0YW5jZSB</div>
<p>The third line in base64 decodes to </span><span id="code">G\x92\x06\x1777V\xd6W2</span> (where <span id="code">\x??</span> means the non-ascii character 92 (in hex), etc.) &#8211; so Tim tells me &#8211; and the fourth line to <span id="code">acceptance </span> (with a trailing space).</p>
<p>Once we understood the problem, we could google for an answer. It turns out that Jonathan Wight <a href="http://toxicsoftware.com/blog/mailapp_hangs_problem_and_solution/">experienced the same thing</a> <img src="http://www.hawkwings.net/images/extlink.jpg"/> a year ago. He also provides a fix: delete the <span id="code">~/Library/Preferences/com.apple.security.plist</span> preferences file.</p>
<p>I&#8217;m not suggesting that anything nefarious or underhand is happening here, but it still puzzles me on three fronts.</p>
<p>First, what exactly is it checking and what is the undecipherable response? Is it checking my iChat certificate? </p>
<p>Secondly, why should Mail try to do this when I am replying to a message in my work account on my work server?</p>
<p>Thirdly, why is Mail so stupid? What design oversight makes it overlook my system-wide proxy settings and carry on banging away at port 80, giving me endless delays? Normally, Mail.app helps me to get things done, but not here.</p>
<p><strong>UPDATE:</strong> MacGeekery <a href="http://www.macgeekery.com/tips/mail_app_doesnt_phone_home_either">has posted an interesting take</a> <img src="http://www.hawkwings.net/images/extlink.jpg"/> on this, which is worth a read. </p>
<p>I hope I made it clear in my post above &#8211; although perhaps I didn&#8217;t &#8211; that I do not think Apple is stealing my credit card information or looking for cracked software or turning my computer into a drone for Apple press releases or doing anything else untoward. </p>
<p>I do think it is puzzling that my proxy settings were ignored and that Mail.app was thus unusable for up to a minute everytime I tried to reply to a message. I do think it is puzzling that the fix was so hard to find. I do think it is fair to expect better of Apple than this. </p>
<p>[Thanks for your help this afternoon, Tim. All my tcpdump are belong to you.]<tags>mail.app, apple mail, security, certificates, port 80, reply, hanging, spinning beachball of death, bug, proxy</tags><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.hawkwings.net/2006/10/18/long-delays-with-mailapp-replies/" rel="bookmark" title="18 October 2006, 11:11 pm">Long delays with Mail.app replies</a></li>
<li><a href="http://www.hawkwings.net/2006/01/20/posting-mac-mail-when-port-25-is-blocked/" rel="bookmark" title="20 January 2006, 2:32 am">Posting .Mac mail when Port 25 is blocked</a></li>
<li><a href="http://www.hawkwings.net/2006/12/22/emailing-from-starbucks-what-port-587-is-for/" rel="bookmark" title="22 December 2006, 12:53 am">Emailing from Starbucks: What port 587 is for</a></li>
<li><a href="http://www.hawkwings.net/2006/09/24/three-outgoing-mail-fixes-for-mac-users-on-the-go/" rel="bookmark" title="24 September 2006, 9:31 pm">Three outgoing mail fixes for Mac users on the go</a></li>
<li><a href="http://www.hawkwings.net/2006/10/14/four-things-that-mailapp-cant-do/" rel="bookmark" title="14 October 2006, 9:28 pm">Four things that Mail.app can&#8217;t do</a></li>
</ul>
<p><!-- Similar Posts took 55.337 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hawkwings.net/2006/07/18/apple-mail-phones-home-too/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
	</channel>
</rss>

