Package: offlineimap
Version: 6.0.3
Severity: normal

--- Please enter the report below this line. ---

I use offlineimap for backuping my imap folders which is working great
but till now I have used it without transport encryption which is quite 
unsecure and lead me to the configuration directive "ssl = yes"
but instead of fetching my maildirs using an encrypted connection the program 
exits with the following error messages

also i installed the package python-openssl but it hadn't any effect
imap over ssl itself is working (I use it daily with kmail over port 993). the 
server is a courier-imap imapd-ssl

following: .offlineimaprc and error messages

***********************
* .offlineimaprc start    *
***********************
[general]
accounts = Backup

[Account Backup]
localrepository = Local
remoterepository = Remote

[Repository Local]
type = Maildir
localfolders = ~/Backups/Mails/Maildir-XXX

[Repository Remote]
type = IMAP
ssl = yes
remotehost = mail.core-networks.de
remoteuser = XXX
***********************
* .offlineimaprc end     *
***********************


************************
* error messages start  *
************************

$shell$ offlineimap
Thread 'Account sync Backup' terminated with exception:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/offlineimap/threadutil.py", line 
149, in run
    Thread.run(self)
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/var/lib/python-support/python2.5/offlineimap/accounts.py", line 108, 
in syncrunner
    self.sync()
  File "/var/lib/python-support/python2.5/offlineimap/accounts.py", line 142, 
in sync
    remoterepos.syncfoldersto(localrepos, [statusrepos])
  File "/var/lib/python-support/python2.5/offlineimap/repository/Base.py", 
line 135, in syncfoldersto
    srcfolders = src.getfolders()
  File "/var/lib/python-support/python2.5/offlineimap/repository/IMAP.py", 
line 194, in getfolders
    imapobj = self.imapserver.acquireconnection()
  File "/var/lib/python-support/python2.5/offlineimap/imapserver.py", line 
224, in acquireconnection
    self.sslclientkey, self.sslclientcert)
  File "/usr/lib/python2.5/imaplib.py", line 1128, in __init__
    IMAP4.__init__(self, host, port)
  File "/usr/lib/python2.5/imaplib.py", line 163, in __init__
    self.open(host, port)
  File "/var/lib/python-support/python2.5/offlineimap/imapserver.py", line 65, 
in open
    imaplibutil.new_open_ssl(self, host, port)
  File "/var/lib/python-support/python2.5/offlineimap/imaplibutil.py", line 
172, in new_open_ssl
    self.sslobj = socket.ssl(self.sock._sock, self.keyfile, self.certfile)
  File "/usr/lib/python2.5/socket.py", line 79, in ssl
    return _realssl(sock, keyfile, certfile)
sslerror: (8, 'EOF occurred in violation of protocol')


Last 1 debug messages logged for Account sync Backup prior to exception:
maildir: MaildirRepository initialized, sep is '.'
$shell$

************************
* error messages end   *
************************


--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.26-1-686

Debian Release: 5.0
  500 unstable        www.debian-multimedia.org 
  500 unstable        ftp.de.debian.org 
  500 unstable        deb.opera.com 

--- Package information. ---
Depends             (Version) | Installed
=============================-+-===========
python               (>= 2.3) | 2.5.2-3
python-support     (>= 0.7.1) | 0.8.7



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to