<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;">Hi Chris<div><br></div><div>Thanks heaps for your response.</div><div><br></div><div>Sadly, that's not the answer :(( I had it commented because there was a (dubious) hint somewhere along the line that entering it manually had helped in some cases!</div><div><br></div><div>Really appreciate your help in this... </div><div><br></div><div>Jamie</div><div><br><div><div>On 5/01/2014, at 12:36 pm, chris coleman <<a href="mailto:christocoleman@yahoo.com">christocoleman@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top">Try it with the "remotepass"line uncommented! Let us know if that works.</td></tr></tbody></table>            <div id="_origMsg_">
                <div>
                    <br>
                    <div>
                        <div style="font-size:0.9em">
                            <hr size="1">
                            <b>
                                <span style="font-weight:bold">From:</span>
                            </b>
                            Jamie Allen <<a href="mailto:jsdckr@me.com">jsdckr@me.com</a>>;                            <br>
                            <b>
                                <span style="font-weight:bold">To:</span>
                            </b>
                             <<a href="mailto:offlineimap-project@lists.alioth.debian.org">offlineimap-project@lists.alioth.debian.org</a>>;                                                                                                     <br>
                            <b>
                                <span style="font-weight:bold">Subject:</span>
                            </b>
                            Help connecting to iCloud                             <br>
                            <b>
                                <span style="font-weight:bold">Sent:</span>
                            </b>
                            Sat, Jan 4, 2014 11:36:03 AM                            <br>
                        </div>
                            <br>
                            <table cellspacing="0" cellpadding="0" border="0">
                                <tbody>
                                    <tr>
                                        <td valign="top">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 rel="nofollow" target="_blank" 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 rel="nofollow" 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="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 rel="nofollow" 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" 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></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></td>
                                    </tr>
                                </tbody>
                            </table>
                    </div>
                </div>
            </div>
</blockquote></div><br></div></body></html>