Offlineimap stopped working w new_open_ssl

X Ryl boite.pour.spam at gmail.com
Tue Feb 26 14:03:07 GMT 2013


Can you try again with the last git version ?

Best regards,
Cyril

On Mon, Feb 18, 2013 at 11:41 PM, Julien T <julien.t43 at gmail.com> wrote:

> Hello,
>
> I was happily using Offlineimap (6.2 on OpenBSD 4.8; I know, a bit
> old) to backup a gmail account and it seems one or two month ago, it
> stopped working. I'm not sure exactly when as I was not checking this
> backup job regularly.
>
> Message is the following
> >>>
> This is OfflineIMAP 6.2.0
> Python: 2.5.4 (r254:67916, Aug  9 2010, 08:57:51)
> [GCC 4.2.1 20070719 ]
> Platform: openbsd4
> Args: ['/usr/local/bin/offlineimap', '-l',
> '/var/tmp/gmail-backup.sh.log', '-d', 'imap', '-1']
> MainThread: OfflineIMAP 6.2.0
> Copyright (C) 2002 - 2009 John Goerzen <jgoerzen at complete.org>
> This software comes with ABSOLUTELY NO WARRANTY; see the file
> COPYING for details.  This is free software, and you are welcome
> to distribute it under the conditions laid out in COPYING.
> MainThread: Now debugging for imap: IMAP protocol debugging
> Account sync gmail: ***** Processing account gmail
> Account sync gmail: Copying folder structure from Gmail to Maildir
> Account sync gmail: Establishing connection to imap.gmail.com:993.
> MainThread: Thread 'Account sync gmail' terminated with exception:
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.5/site-packages/offlineimap/threadutil.py",
> line 149, in run
>     Thread.run(self)
>   File "/usr/local/lib/python2.5/threading.py", line 446, in run
>     self.__target(*self.__args, **self.__kwargs)
>   File "/usr/local/lib/python2.5/site-packages/offlineimap/accounts.py",
> line 183, in syncrunner
>     self.sync(siglistener)
>   File "/usr/local/lib/python2.5/site-packages/offlineimap/accounts.py",
> line 220, in sync
>     remoterepos.syncfoldersto(localrepos, [statusrepos])
>   File
> "/usr/local/lib/python2.5/site-packages/offlineimap/repository/Base.py",
> line 135, in syncfoldersto
>     srcfolders = src.getfolders()
>   File
> "/usr/local/lib/python2.5/site-packages/offlineimap/repository/IMAP.py",
> line 214, in getfolders
>     imapobj = self.imapserver.acquireconnection()
>   File "/usr/local/lib/python2.5/site-packages/offlineimap/imapserver.py",
> line 259, in acquireconnection
>     self.sslclientkey, self.sslclientcert)
>   File "/usr/local/lib/python2.5/imaplib.py", line 1128, in __init__
>     IMAP4.__init__(self, host, port)
>   File "/usr/local/lib/python2.5/imaplib.py", line 163, in __init__
>     self.open(host, port)
>   File "/usr/local/lib/python2.5/site-packages/offlineimap/imapserver.py",
> line 85, in open
>     imaplibutil.new_open_ssl(self, host, port)
>   File "/usr/local/lib/python2.5/site-packages/offlineimap/imaplibutil.py",
> line 171, in new_open_ssl
>     raise socket.error(last_error)
> error: 65
>
>
> Last 1 debug messages logged for Account sync gmail prior to exception:
> maildir: MaildirRepository initialized, sep is '.'
> <<<
>
> Conf is the following
> >>>
> general]
> accounts = gmail
> ui = Noninteractive.Basic
>
> [Account gmail]
> localrepository = Local
> remoterepository = Remote
>
> [Repository Local]
> type = Maildir
> localfolders = ~/Mail
>
> [Repository Remote]
> type = Gmail
> remoteuser = <user>@gmail.com
> remotepassfile = ~/.<secretfile>
> realdelete = no
> folderfilter = lambda foldername: foldername not in [
>         '[Gmail]/Trash]', '[Gmail]/Spam', '[Gmail]/All Mail',
>         ]
> <<<
>
> It seems a ssl error but I look on the web and it doesn't seem to have
> a change of certificate for gmail.
> Any ideas why it failed ?
> I'm also trying to check if I can update offlineimap without all the
> system.
>
> Thanks a lot.
> Cheers,
>
> Julien
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20130226/4c929f7b/attachment-0003.html>


More information about the OfflineIMAP-project mailing list