<?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>ball of lightning [dot] com &#187; imap</title>
	<atom:link href="http://balloflightning.com/tag/imap/feed/" rel="self" type="application/rss+xml" />
	<link>http://balloflightning.com</link>
	<description>Hitting more home runs than Julio Lugo since 2002...</description>
	<lastBuildDate>Tue, 08 Nov 2011 03:41:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>GMail, IMAP, and Apple Mail = Slow?</title>
		<link>http://balloflightning.com/2009/12/gmail-imap-and-apple-mail-slow/</link>
		<comments>http://balloflightning.com/2009/12/gmail-imap-and-apple-mail-slow/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 00:17:50 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mail]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=55</guid>
		<description><![CDATA[I am finally getting around to getting GMail to play nice with Apple Mail on my Macbook, if only for the ability to work offline (i.e., when I&#8217;m 35,000 feet up) as well as have some form of coherent backup in the (hopefully unlikely) event that GMail kicks the bucket for an extended period of [...]]]></description>
			<content:encoded><![CDATA[<p>I am finally getting around to getting GMail to play nice with Apple Mail on my Macbook, if only for the ability to work offline (i.e., when I&#8217;m 35,000 feet up) as well as have some form of coherent backup in the (hopefully unlikely) event that GMail kicks the bucket for an extended period of time.</p>
<p>I had tried to sync my GMail account once-upon-a-time, but decided it wasn&#8217;t worth the potential hassle.  What hassle, I don&#8217;t remember&#8211; but in any event, I remember it was extremely easy to get it up and running using POP.  However, this time around I decided IMAP was the way to go.  Over the last few years I have slowly devolved into someone who uses GMail as my big e-mail cloud in the sky&#8211; that is, I want to be able to access an identical account (same inbox, sent, drafts, etc.) from anywhere (Macbook, PC, office, iPhone).  IMAP should give me that ability.</p>
<p>Well, once I set up Mail to play nice with my Google account I noticed signficant slowdowns.  I mean really, really slow.  Like sending an e-mail that said &#8220;hello world!&#8221; took five minutes as the Apple pinwheel spun frantically.  It seems like this a <a href="http://www.google.com/support/forum/p/gmail/thread?tid=4e4748ffb883febe&#038;hl=en">common occurrence</a> with Mail 3.x and Leopard/Snow Leopard but there seem to be very few answers.  I did end up finding one in the dusty corner of the internet.</p>
<p>It appears that Apple Mail has an issue with big attachments.  I mean really big attachments.  Like 20 MB big.  Get rid of them, and it solves the problem.  How do you do it?  Well, there are two ways&#8230;</p>
<p><strong>The easy way (tested by yours truly):</strong></p>
<p>1.)  Delete your IMAP account from within Mail by going to &#8220;Mail&#8221; -> &#8220;Preferences&#8221; and then clicking the little minus button below the account names.  NOTE:  I&#8217;m pretty sure this is foolproof with IMAP, but please, please make sure you are not deleting your e-mails from the server when you download them to your computer, because if you do that and then delete this account, well, you&#8217;ll lose your e-mails.</p>
<p>2.)  Go into finder and delete the folder ~/Library/Mail/IMAP&#8211;<mail_account_name>/ or thereabouts.  </p>
<p>3.)  Go back into Mail, click on &#8220;Mail&#8221; -> &#8220;Preferences&#8221; and then the plus icon.  Create your IMAP account as you did previously (make sure &#8220;create my account automatically&#8221; is unchecked or you will end up just creating a POP account with the default settings).  This time, unclick &#8220;bring this account online&#8221; at the end of the creation process.</p>
<p><img src="/images/mailimap1.png" alt="Don't check "bring this account online"" /></p>
<p>4.)  Go back into &#8220;Mail&#8221; -> &#8220;Preferences,&#8221; click on your GMail &#8211; IMAP account, then click on the advanced tab.  Uncheck &#8220;compact mailboxes automatically&#8221; and MOST IMPORTANTLY set the offline viewing preference to keep &#8220;all messages but omit attachments.&#8221;</p>
<p><img src="/images/mailimap2.png" alt="All messages, but omit attachments" /></p>
<p>5.)  Set account to &#8220;online&#8221; and Mail will re-download all your e-mails; however e-mails and e-mails alone&#8211; no attachments.  Everything should be running at Mach speed again.</p>
<p><em>Now, this way has one main drawback</em>.  You aren&#8217;t storing any attachments on your within Mail; if you want to download them, you have to do so as the e-mail comes in.  This isn&#8217;t a problem for me, since I download the attachments I feel are important to whatever folder they are needed in by default and therefore don&#8217;t need another copy clogging up my inbox.  However, if this is of crucial importance you can try the next step (at your own risk).</p>
<p><strong>The hard way (I haven&#8217;t confirmed this works, but this would allow you to keep most attachments offline; only the ones over 20 MB are deleted&#8211; courtesy of <a href="http://www.google.com/support/forum/p/gmail/thread?tid=6ff01bea5e484ff3&#038;hl=en">bebopper</a>):</strong></p>
<p>1.)  Quit Mail (Force quit if you have to)</p>
<p>2.)  In Finder, click &#8220;Go&#8221; -> &#8220;Go to Folder.&#8221;  Type the following folder path (replacing <mail_account_name> with your GMail User Name):  ~/Library/Mail/IMAP&#8211;<mail_account_name>/.OfflineCache</p>
<p>3.)  Look through the cached messages in this invisible folder and see if there is one or more larger than 20MB.</p>
<p>4.)  Drag the offending large messages to the Desktop or Trash. Restart Mail, and Mail should stop hating you.</p>
<p>Both of these are essentially band-aids, so hopefully Apple will get its act together and figure out exactly what is going on.  This seems to be a problem that has arisen in later incarnations of 10.5 and into 10.6, so it&#8217;s something that should be of pressing importance to the development team as we speak.</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2009/12/gmail-imap-and-apple-mail-slow/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

