Help connecting to icloud after upgrade

Rainer M Krug Rainer at krugs.de
Thu Nov 20 08:57:41 GMT 2014


Jamie Allen <jsdckr at me.com> writes:

> Greetings once again
>
> Fixed! I downgraded the Opensuse RPM of offlineimap from 6.5.5 to
> 6.5.3. I can now authenticate with icloud again. Yipppeeee!
>
> This does, however, beg the question of what it is in the upgrade to
> 6.5.5 that breaks icloud? ...as it looks as if upgrading from here on
> in isn't going to be possible!

On OS X Yosemite, offlineimap and dependencies installed via homebrew,
it works with offlineimap 6.5.5 - so I guess it has to do with some
dependencies which are different versions?

Cheers,

Rainer

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

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 494 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20141120/041befac/attachment-0003.sig>


More information about the OfflineIMAP-project mailing list