<html><body><div>Greetings<br><br>Many thanks indeed for this.<br><br>Unfortunately, I don't think that's the problem. Here's the interesting thing. Using exactly the same offlineimaprc file on another machine running OpenSuse 13.1, it works fine. It is the upgrade to 13.2 that has broken it. What libraries or modules should I try swapping out to see which is causing the problem? I've tried replacing imaplib - but that hasn't worked. Suggestions? <br><br>Many many thanks again, Jamie<br><br>On Nov 17, 2014, at 09:37 PM, Rainer M Krug <Rainer@krugs.de> wrote:<br><br><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch"><span style="white-space:pre-wrap;" data-mce-style="white-space: pre-wrap;">Jamie Allen <<a href="mailto:jsdckr@me.com" data-mce-href="mailto:jsdckr@me.com">jsdckr@me.com</a>> writes:<br> <br>> Greetings<br>><br>> Thanks for any advice on this. After an upgrade of Opensuse, offlineimap required the cert fingerprints to be replaced in .offlineimaprc (not sure why?)<br>><br>> Anyway - despite having updated with the fingerprint offered by imap.mail.me.com - it still fails to connect, with the following error :<br>><br>> Establishing connection to imap.mail.me.com:993<br>> PLAIN authentication failed: [AUTHENTICATIONFAILED] Authentication failed<br>> LOGIN authentication failed: command: LOGIN => socket error: <type 'exceptions.IOError'> - Too many read 0<br>> ERROR: All authentication types failed:<br>>        PLAIN: [AUTHENTICATIONFAILED] Authentication failed<br>>        LOGIN: command: LOGIN => socket error: <type 'exceptions.IOError'> - Too many read 0<br>> *** Finished account 'home' in 0:05<br>> ERROR: Exceptions occurred during the run!<br>> ERROR: All authentication types failed:<br>>      PLAIN: [AUTHENTICATIONFAILED] Authentication failed<br>>    LOGIN: command: LOGIN => socket error: <type 'exceptions.IOError'> - Too many read 0<br>><br>> Traceback:<br>> File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 243, in syncrunner<br>> self.__sync()<br>> File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 305, in __sync<br>> remoterepos.getfolders()<br>> File "/usr/lib/python2.7/site-packages/offlineimap/repository/IMAP.py", line 323, in getfolders<br>> imapobj = self.imapserver.acquireconnection()<br>> File "/usr/lib/python2.7/site-packages/offlineimap/imapserver.py", line 418, in acquireconnection<br>> self.__authn_helper(imapobj)<br>> File "/usr/lib/python2.7/site-packages/offlineimap/imapserver.py", line 339, in __authn_helper<br>> "failed:\n\t%s" % msg, OfflineImapError.ERROR.REPO)<br>><br>><br>> .offlineimaprc entry reads :<br>><br>> [Repository remote-home]<br>> remotehost = imap.mail.me.com<br>> remoteuser = xxx<br>> remotepass = xxx<br>> type = IMAP<br>> ssl = yes<br>> cert_fingerprint = ca63a1b71691dde647ee61e20dc7e242052db8c0<br> <br>DOn't know if this solves your issue, but I have the following config<br>working (see<br> <a href="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6550" data-mce-href="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6550">http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6550</a> for details):<br> <br> <br>,----<br>| This is finally solved. The problem seems to be that I was using my<br>| email address as a password, while the remoteuser has to be the name *of<br>| the iCloud email address* (so <a href="mailto:ThisIsTheRemoteuser@icloud.com" data-mce-href="mailto:ThisIsTheRemoteuser@icloud.com">ThisIsTheRemoteuser@icloud.com</a>)!<br>| <br>| Then, if you are using two step authentication enabled (which one<br>| should!) you have to create an application password and use this one.<br>| <br>| Below please find my working configuration <br>| <br>| ,----<br>| | [Repository RemoteiCloud]<br>| | type = IMAP<br>| | remotehost = imap.mail.me.com<br>| | port = 993<br>| | ssl = yes<br>| | sslcacertfile = ~/certs/Certificates.cer<br>| | remoteuser = iCloudEmailAddressBeforeTheAt<br>| | remotepasseval = get_keychain_pass(account="rainer.friCloudOfflineimap")<br>| `----<br>`----<br> <br>Concerning the sslcertfile, I exported my keyring certificates to this<br>file.<br> <br>Hope this helps,<br> <br>Rainer<br> <br>><br>><br>> ....I have drawn a blank on trying to fix this. Please help!!<br>><br>> With thanks<br>><br>> Jamie<br>><br>> _______________________________________________<br>> OfflineIMAP-project mailing list<br>> <a href="mailto:OfflineIMAP-project@lists.alioth.debian.org" data-mce-href="mailto:OfflineIMAP-project@lists.alioth.debian.org">OfflineIMAP-project@lists.alioth.debian.org</a> <br>> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project" data-mce-href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project</a> <br>><br>> OfflineIMAP homepage: <a href="http://software.complete.org/offlineimap" data-mce-href="http://software.complete.org/offlineimap">http://software.complete.org/offlineimap</a> <br>><br> <br>-- <br>Rainer M. Krug<br>email: Rainer<at>krugs<dot>de<br>PGP: 0x0F52F982<br> </span></div></div></blockquote></div></div></body></html>