https://bugzilla.novell.com/show_bug.cgi?id=426563 Summary: Offlineimap does not work with SSL connections Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: seife@novell.com QAContact: qa@suse.de CC: gregkh@novell.com Found By: Development Connections with SSL cannot be synchronized anymore since yesterday's update to stable: my offlineimaprc: ------- [Account gwmail] localrepository = gwmail-local remoterepository = gwmail-remote autorefresh = 10 [Repository gwmail-local] type = Maildir localfolders = ~/MailGW [Repository gwmail-remote] type = IMAP remotehost = my.ssl.imap.host ssl = yes remoteuser = username remotepass = passwd ------- Output: seife@stoetzler:~> /usr/bin/offlineimap -u TTY.TTYUI -a gwmail /usr/lib64/python2.6/site-packages/offlineimap/folder/Maildir.py:23: DeprecationWarning: the md5 module is deprecated; use hashlib instead import os.path, os, re, time, socket, md5 OfflineIMAP 6.0.3 Copyright (C) 2002 - 2008 John Goerzen <jgoerzen@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. Account sync gwmail: ***** Processing account gwmail Account sync gwmail: Copying folder structure from IMAP to Maildir Account sync gwmail: Establishing connection to my.ssl.imap.host:993. /usr/lib64/python2.6/site-packages/offlineimap/imaplibutil.py:172: DeprecationWarning: socket.ssl() is deprecated. Use ssl.wrap_socket() instead. self.sslobj = socket.ssl(self.sock._sock, self.keyfile, self.certfile) Thread 'Account sync gwmail' terminated with exception: Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/offlineimap/threadutil.py", line 149, in run Thread.run(self) File "/usr/lib64/python2.6/threading.py", line 477, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.6/site-packages/offlineimap/accounts.py", line 113, in syncrunner self.sync() File "/usr/lib64/python2.6/site-packages/offlineimap/accounts.py", line 142, in sync remoterepos.syncfoldersto(localrepos, [statusrepos]) File "/usr/lib64/python2.6/site-packages/offlineimap/repository/Base.py", line 135, in syncfoldersto srcfolders = src.getfolders() File "/usr/lib64/python2.6/site-packages/offlineimap/repository/IMAP.py", line 194, in getfolders imapobj = self.imapserver.acquireconnection() File "/usr/lib64/python2.6/site-packages/offlineimap/imapserver.py", line 224, in acquireconnection self.sslclientkey, self.sslclientcert) File "/usr/lib64/python2.6/imaplib.py", line 1137, in __init__ IMAP4.__init__(self, host, port) File "/usr/lib64/python2.6/imaplib.py", line 163, in __init__ self.open(host, port) File "/usr/lib64/python2.6/site-packages/offlineimap/imapserver.py", line 65, in open imaplibutil.new_open_ssl(self, host, port) File "/usr/lib64/python2.6/site-packages/offlineimap/imaplibutil.py", line 172, in new_open_ssl self.sslobj = socket.ssl(self.sock._sock, self.keyfile, self.certfile) File "/usr/lib64/python2.6/socket.py", line 61, in ssl return _realssl.sslwrap_simple(sock, keyfile, certfile) File "/usr/lib64/python2.6/ssl.py", line 437, in sslwrap_simple ssl_sock = _ssl.sslwrap(sock._sock, 0, keyfile, certfile, CERT_NONE, AttributeError: '_socket.socket' object has no attribute '_sock' Last 1 debug messages logged for Account sync gwmail prior to exception: maildir: MaildirRepository initialized, sep is '.' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.