Offlineimap stopped working w new_open_ssl
julien.t43 at gmail.com
Mon Feb 18 22:41:38 GMT 2013
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 ]
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):
line 149, in run
File "/usr/local/lib/python2.5/threading.py", line 446, in run
line 183, in syncrunner
line 220, in sync
line 135, in syncfoldersto
srcfolders = src.getfolders()
line 214, in getfolders
imapobj = self.imapserver.acquireconnection()
line 259, in acquireconnection
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__
line 85, in open
imaplibutil.new_open_ssl(self, host, port)
line 171, in new_open_ssl
Last 1 debug messages logged for Account sync gmail prior to exception:
maildir: MaildirRepository initialized, sep is '.'
Conf is the following
accounts = gmail
ui = Noninteractive.Basic
localrepository = Local
remoterepository = Remote
type = Maildir
localfolders = ~/Mail
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.
More information about the OfflineIMAP-project