Package: offlineimap
Version: 4.0.9
Severity: normal

I installed uw-imapd-ssl 4:2001adebian-6 from woody on my mail server,
and tried to access it with offlineimap from unstable.  I got the
following error:

% offlineimap -u TTY.TTYUI             
OfflineIMAP 4.0.8 (Rev 592)
Copyright (C) 2002 - 2004 John Goerzen <[EMAIL PROTECTED]>
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 madstop:
   ***** Processing account madstop
Account sync madstop:
   Copying folder structure from IMAP to MappedIMAP
Account sync madstop:
   Establishing connection to madstop.pimlott.net:993.
madstop: Enter password: 
Account sync madstop:
   Establishing connection to madstop.pimlott.net:993.
madstop: Enter password: 
Folder sync madstop[mail/test]:
   Syncing mail/test: IMAP -> MappedIMAP
Copy message 1 from mail/test:
   Copy message 1 IMAP[mail/test] -> MappedIMAP[mail/test], 
LocalStatus[mail.test]
Thread 'Copy message 1 from mail/test' terminated with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/offlineimap/threadutil.py", line 153, 
in run
    Thread.run(self)
  File "/usr/lib/python2.3/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.3/site-packages/offlineimap/folder/Base.py", line 276, 
in copymessageto
    newuid = object.savemessage(uid, message, flags)
  File "/usr/lib/python2.3/site-packages/offlineimap/folder/UIDMaps.py", line 
156, in savemessage
    newluid = self._mb.savemessage(self, -1, content, flags)
  File "/usr/lib/python2.3/site-packages/offlineimap/folder/IMAP.py", line 224, 
in savemessage
    date, content)[0] == 'OK')
  File "/usr/lib/python2.3/site-packages/offlineimap/imaplib.py", line 319, in 
append
    return self._simple_command(name, mailbox, flags, date_time)
  File "/usr/lib/python2.3/site-packages/offlineimap/imaplib.py", line 976, in 
_simple_command
    return self._command_complete(name, apply(self._command, (name,) + args))
  File "/usr/lib/python2.3/site-packages/offlineimap/imaplib.py", line 778, in 
_command
    while self._get_response():
  File "/usr/lib/python2.3/site-packages/offlineimap/imaplib.py", line 824, in 
_get_response
    resp = self._get_line()
  File "/usr/lib/python2.3/site-packages/offlineimap/imaplib.py", line 917, in 
_get_line
    line = self.readline()
  File "/usr/lib/python2.3/site-packages/offlineimap/imaplib.py", line 1149, in 
readline
    return self.sslobj.readline()
  File "/usr/lib/python2.3/site-packages/offlineimap/imaplib.py", line 1091, in 
readline
    linebuf = self.read(1024)
  File "/usr/lib/python2.3/site-packages/offlineimap/imaplib.py", line 1082, in 
read
    retval = self._read(n)
  File "/usr/lib/python2.3/site-packages/offlineimap/imaplib.py", line 1070, in 
_read
    return self.sslsock.read(n)
sslerror: (8, 'EOF occurred in violation of protocol')


Last 12 debug messages logged for Copy message 1 from mail/test prior to 
exception:
imap: Returned object from fetching 1: ('OK', [('1 (UID 1 BODY[] {693}', 
'Return-path: <[EMAIL PROTECTED]>\r\nEnvelope-to: [EMAIL PROTECTED]: Thu, 07 
Apr 2005 07:43:23 -0700\r\nReceived: from andrew by madstop.pimlott.net with 
local (Exim 3.35 #1 (Debian))\r\n\tid 1DJYE7-0002J3-00\r\n\tfor <[EMAIL 
PROTECTED]>; Thu, 07 Apr 2005 07:43:23 -0700\r\nDate: Thu, 7 Apr 2005 07:43:23 
-0700\r\nFrom: Andrew Pimlott <[EMAIL PROTECTED]>\r\nTo: Andrew Pimlott <[EMAIL 
PROTECTED]>\r\nSubject: test\r\nMessage-ID: <[EMAIL 
PROTECTED]>\r\nMime-Version: 1.0\r\nContent-Type: text/plain; 
charset=us-ascii\r\nContent-Disposition: inline\r\nUser-Agent: 
Mutt/1.5.6+20040907i\r\nX-Bogosity: Ham, tests=bogofilter, spamicity=0.000042, 
version=0.94.1\r\nContent-Length: 0\r\nLines: 0\r\n\r\n'), ')'])
imap: savemessage: called
imap: savemessage: using date " 7-Apr-2005 07:43:23 -0800"
imap: savemessage: initial content is: 'Return-path: <[EMAIL 
PROTECTED]>\r\nEnvelope-to: [EMAIL PROTECTED]: Thu, 07 Apr 2005 07:43:23 
-0700\r\nReceived: from andrew by madstop.pimlott.net with local (Exim 3.35 #1 
(Debian))\r\n\tid 1DJYE7-0002J3-00\r\n\tfor <[EMAIL PROTECTED]>; Thu, 07 Apr 
2005 07:43:23 -0700\r\nDate: Thu, 7 Apr 2005 07:43:23 -0700\r\nFrom: Andrew 
Pimlott <[EMAIL PROTECTED]>\r\nTo: Andrew Pimlott <[EMAIL 
PROTECTED]>\r\nSubject: test\r\nMessage-ID: <[EMAIL 
PROTECTED]>\r\nMime-Version: 1.0\r\nContent-Type: text/plain; 
charset=us-ascii\r\nContent-Disposition: inline\r\nUser-Agent: 
Mutt/1.5.6+20040907i\r\nX-Bogosity: Ham, tests=bogofilter, spamicity=0.000042, 
version=0.94.1\r\nContent-Length: 0\r\nLines: 0\r\n\r\n'
imap: savemessage: new headers are: 
X-OfflineIMAP-1507185133-6d616473746f70-6d61696c2f74657374: 
1112887115-0251739269695-v4.0.8
imap: savemessage_addheader: called to add 
X-OfflineIMAP-1507185133-6d616473746f70-6d61696c2f74657374: 
1112887115-0251739269695-v4.0.8
imap: savemessage_addheader: insertionpoint = 33
imap: savemessage_addheader: leader = 'Return-path: <[EMAIL PROTECTED]>'
imap: savemessage_addheader: newline = 
'\r\nX-OfflineIMAP-1507185133-6d616473746f70-6d61696c2f74657374: 
1112887115-0251739269695-v4.0.8'
imap: savemessage_addheader: trailer = '\r\nEnvelope-to: [EMAIL PROTECTED]: 
Thu, 07 Apr 2005 07:43:23 -0700\r\nReceived: from andrew by madstop.pimlott.net 
with local (Exim 3.35 #1 (Debian))\r\n\tid 1DJYE7-0002J3-00\r\n\tfor <[EMAIL 
PROTECTED]>; Thu, 07 Apr 2005 07:43:23 -0700\r\nDate: Thu, 7 Apr 2005 07:43:23 
-0700\r\nFrom: Andrew Pimlott <[EMAIL PROTECTED]>\r\nTo: Andrew Pimlott <[EMAIL 
PROTECTED]>\r\nSubject: test\r\nMessage-ID: <[EMAIL 
PROTECTED]>\r\nMime-Version: 1.0\r\nContent-Type: text/plain; 
charset=us-ascii\r\nContent-Disposition: inline\r\nUser-Agent: 
Mutt/1.5.6+20040907i\r\nX-Bogosity: Ham, tests=bogofilter, spamicity=0.000042, 
version=0.94.1\r\nContent-Length: 0\r\nLines: 0\r\n\r\n'
imap: savemessage: new content is: 'Return-path: <[EMAIL 
PROTECTED]>\r\nX-OfflineIMAP-1507185133-6d616473746f70-6d61696c2f74657374: 
1112887115-0251739269695-v4.0.8\r\nEnvelope-to: [EMAIL PROTECTED]: Thu, 07 Apr 
2005 07:43:23 -0700\r\nReceived: from andrew by madstop.pimlott.net with local 
(Exim 3.35 #1 (Debian))\r\n\tid 1DJYE7-0002J3-00\r\n\tfor <[EMAIL PROTECTED]>; 
Thu, 07 Apr 2005 07:43:23 -0700\r\nDate: Thu, 7 Apr 2005 07:43:23 
-0700\r\nFrom: Andrew Pimlott <[EMAIL PROTECTED]>\r\nTo: Andrew Pimlott <[EMAIL 
PROTECTED]>\r\nSubject: test\r\nMessage-ID: <[EMAIL 
PROTECTED]>\r\nMime-Version: 1.0\r\nContent-Type: text/plain; 
charset=us-ascii\r\nContent-Disposition: inline\r\nUser-Agent: 
Mutt/1.5.6+20040907i\r\nX-Bogosity: Ham, tests=bogofilter, spamicity=0.000042, 
version=0.94.1\r\nContent-Length: 0\r\nLines: 0\r\n\r\n'
imap: savemessage: new content length is 786

This is a test mailbox containing one test message.  I can open it just
fine (over IMAP SSL) with mutt.  Here is my config file:

    [general]
    accounts = madstop

    [Account madstop]
    localrepository = madstop
    remoterepository = madstop

    [Repository madstop]
    type = Maildir
    localfolders = ~/mail

    [Repository madstop]
    type = IMAP
    ssl = yes
    remotehost = pimlott.net
    remoteuser = andrew

    reference = mail
    folderfilter = lambda f: re.search('test', f)

Also, I noticed that I am asked for my password twice with the TTY.TTYUI
interface.

Andrew

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages offlineimap depends on:
ii  python2.3                     2.3.5-2    An interactive high-level object-o

-- no debconf information


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

Reply via email to