<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Greetings again<div><br></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></div><div>All the best,</div><div><br></div><div>Jamie</div><div> <br><div><div>On 5/01/2014, at 12:36 am, Jamie Allen <<a href="mailto:jsdckr@me.com">jsdckr@me.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Warmest greetings to you<div><br></div><div>I wonder if anyone is successfully using offlineimap to connect to Apple's icloud service on <a href="http://imap.mail.me.com/">imap.mail.me.com</a>?</div><div><br></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></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></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></div></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">also :-</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></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 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="webkit-block-placeholder"></div></blockquote><br></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></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 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 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></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></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></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></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></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></blockquote></div><br></div></body></html>