<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt">Interesting- this means the OI code must've run differently on OSX vs. Linux.  Do you have any log lines to share, that show different errors on OSX, vs. the logged errors/messages on Linux?  If you could run OI on both os's and generate logs on purpose and then copy/paste the relevant sections that would be very helpful tracking this bug down.<br><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Sunday, January 5, 2014 5:58 PM, Jamie Allen <jsdckr@me.com> wrote:<br> </font> </div> 
 <div class="y_msg_container"><div id="yiv3173066234"><div>Greetings again<div><br clear="none"></div><div>Well, the problem is now fixed, if not solved. Precisely the same set-up run on Linux rather than Mac works perfectly. Go figure. </div><div><br clear="none"></div><div>All the best,</div><div><br clear="none"></div><div>Jamie</div><div class="yiv3173066234yqt8374880404" id="yiv3173066234yqt66691"><div> <br clear="none"><div><div>On 5/01/2014, at 12:36 am, Jamie Allen <<a rel="nofollow" shape="rect" ymailto="mailto:jsdckr@me.com" target="_blank" href="mailto:jsdckr@me.com">jsdckr@me.com</a>> wrote:</div><br class="yiv3173066234Apple-interchange-newline" clear="none"><blockquote type="cite"></blockquote></div></div></div></div><div class="yiv3173066234yqt8374880404" id="yiv3173066234yqt70506"><div><div style="word-wrap:break-word;">Warmest greetings to you<div><br clear="none"></div><div>I wonder if anyone is successfully using
 offlineimap to connect to Apple's icloud service on <a rel="nofollow" shape="rect" target="_blank" href="http://imap.mail.me.com/">imap.mail.me.com</a>?</div><div><br clear="none"></div><div>My login fails to authenticate, and I have not been able to find any advice on this specific situation. Please excuse my ignorance. </div><div><br clear="none"></div><div>I'm running offlineimap on a Mac OS X 10.9, and am successfully downloading from gmail. However, icloud gives the following :</div><div><br clear="none"></div><div><blockquote type="cite"><div style="margin:0px;font-size:11px;font-family:Menlo;">ERROR: Exceptions occurred during the run!</div><div style="margin:0px;font-size:11px;font-family:Menlo;"> ERROR: All authentication types failed:</div><div style="margin:0px;font-size:11px;font-family:Menlo;">        PLAIN: [AUTHENTICATIONFAILED] Authentication failed</div><div
 style="margin:0px;font-size:11px;font-family:Menlo;">        LOGIN: command: LOGIN => socket error: <type 'exceptions.IOError'> - Too many read 0</div></blockquote></div><div><div style="margin:0px;font-size:11px;font-family:Menlo;"><br clear="none"></div></div><div style="margin:0px;font-size:11px;font-family:Menlo;"><br clear="none"></div><div style="margin:0px;font-size:11px;font-family:Menlo;">also :-</div><div style="margin:0px;font-size:11px;font-family:Menlo;"><br clear="none"></div><div style="margin:0px;font-size:11px;font-family:Menlo;"><blockquote type="cite"><div style="margin:0px;">[imap]:   52:29.20 Account sync home CAPABILITY: ('ST11P00MM-ISCREAM002', '1U25', 'XAPPLEPUSHSERVICE', 'IMAP4', 'IMAP4REV1', 'SASL-IR', 'AUTH=ATOKEN', 'AUTH=PLAIN')</div><div style="margin:0px;"> [imap]:   52:29.20 Account sync home [sync] AUTHENTICATE ('PLAIN',)</div><div style="margin:0px;"> [imap]:  
 52:32.91 <a rel="nofollow" shape="rect" target="_blank" href="http://imap.mail.me.com/">imap.mail.me.com</a> handler NO response: [AUTHENTICATIONFAILED] Authentication failed</div><div style="margin:0px;min-height:13px;"> <br class="yiv3173066234webkit-block-placeholder" clear="none"></div></blockquote><br clear="none"></div><div style="margin:0px;font-size:11px;font-family:Menlo;">Here is the relevant section of .offlineimaprc :</div><div style="margin:0px;font-size:11px;font-family:Menlo;"><br clear="none"></div><div style="margin:0px;font-size:11px;font-family:Menlo;"><blockquote type="cite"><div style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47, 45);background-color:rgb(223, 219, 196);">remotehost = <a rel="nofollow" shape="rect" target="_blank" href="http://imap.mail.me.com/">imap.mail.me.com</a></div><div style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47, 45);background-color:rgb(223, 219, 196);">#
 remotehost = <a rel="nofollow" shape="rect" target="_blank" href="http://p02-imap.mail.me.com/">p02-imap.mail.me.com</a></div><div style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47, 45);background-color:rgb(223, 219, 196);">remoteuser = xxx</div><div style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47, 45);background-color:rgb(223, 219, 196);"># remotepass = xxxx</div><div style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47, 45);background-color:rgb(223, 219, 196);">type = IMAP</div><div style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47, 45);background-color:rgb(223, 219, 196);">ssl = yes</div><div style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47, 45);background-color:rgb(223, 219, 196);">cert_fingerprint = 13db1ba7073b75443c52a14c3bae0cc9d478567c</div></blockquote><div><div style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47,
 45);background-color:rgb(223, 219, 196);"><br clear="none"></div></div><div style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47, 45);background-color:rgb(223, 219, 196);">How can I configure offlineimap to authenticate in one of the ways icloud accepts (obviously although it specifies 'AUTH=PLAIN' it doesn't mean it?!)</div><div style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47, 45);background-color:rgb(223, 219, 196);"><br clear="none"></div><div style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47, 45);background-color:rgb(223, 219, 196);">I see that on Mail.app, the account setting specifies "Apple Token" - I'm not sure what that is...., but it is presumably what is offered with 'AUTH=ATOKEN'</div><div style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47, 45);background-color:rgb(223, 219, 196);"><br clear="none"></div><div
 style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47, 45);background-color:rgb(223, 219, 196);">Any advice or help would be very very gratefully received!</div><div style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47, 45);background-color:rgb(223, 219, 196);"><br clear="none"></div><div style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47, 45);background-color:rgb(223, 219, 196);">Thanks,</div><div style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47, 45);background-color:rgb(223, 219, 196);"><br clear="none"></div><div style="margin:0px;font-size:12px;font-family:Courier;color:rgb(76, 47, 45);background-color:rgb(223, 219, 196);">Jamie</div></div></div><br clear="none"></div></div></div><br><div class="yqt8374880404" id="yqt48758">_______________________________________________<br clear="none">OfflineIMAP-project mailing list<br clear="none"><a shape="rect"
 ymailto="mailto:OfflineIMAP-project@lists.alioth.debian.org" href="mailto:OfflineIMAP-project@lists.alioth.debian.org">OfflineIMAP-project@lists.alioth.debian.org</a><br clear="none"><a shape="rect" href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project</a><br clear="none"><br clear="none">OfflineIMAP homepage: <a shape="rect" href="http://software.complete.org/offlineimap" target="_blank">http://software.complete.org/offlineimap</a></div><br><br></div>  </div> </div>  </div> </div></body></html>