[issue1482] IMAP4 SSL isn't working

2008-01-31 Thread David Binger

David Binger added the comment:

Bill's patch does appear to fix the ssl-related problem.

imaplib is still broken in py3k, though, due
to bytes/str issues.

--
nosy: +dbinger

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1482
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1482] IMAP4 SSL isn't working

2008-01-31 Thread Bill Janssen

Bill Janssen added the comment:

But that's issue 1210, which is still open.  David, do you want to
submit a patch for 1210?

Meanwhile, do we still need this issue to be open?

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1482
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1482] IMAP4 SSL isn't working

2008-01-31 Thread David Binger

David Binger added the comment:

On Jan 31, 2008, at 12:42 PM, Bill Janssen wrote:


 Bill Janssen added the comment:

 But that's issue 1210, which is still open.  David, do you want to
 submit a patch for 1210?

I see that you are correct that 1210 is the bytes/str issue.
I regret it, but I won't be able to supply a patch.


 Meanwhile, do we still need this issue to be open?

Unless I'm missing something, the patch b that you posted
has not been checked in.  I think the issue should remain
open until that happens.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1482
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1482] IMAP4 SSL isn't working

2008-01-31 Thread Bill Janssen

Bill Janssen added the comment:

I guess I'll check it in.  There's no effective test case for the
imaplib module, though.  So if it's broken, we won't know.

When I try connecting to my local IMAP server, I get

 c = imaplib.IMAP4(127.0.0.1)
Traceback (most recent call last):
  File stdin, line 1, in module
  File /local/python/3k/src/Lib/imaplib.py, line 190, in __init__
raise self.error(self.welcome)
imaplib.error: b'* OK [CAPABILITY IMAP4rev1 LOGINDISABLED STARTTLS]
UpLib IMAP Server (V4r1) ready.'


I think this is bug 1210.  However, it is able to connect to an
SSL-protected server (not the one above) and get the same error message,
so I think the SSL patch works.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1482
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1482] IMAP4 SSL isn't working

2008-01-31 Thread Bill Janssen

Bill Janssen added the comment:

I've committed the patch.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1482
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1482] IMAP4 SSL isn't working

2008-01-31 Thread Bill Janssen

Bill Janssen added the comment:

I guess I'll check it in.  There's no effective test case for the
imaplib module, though.  So if it's broken, we won't know.

When I try connecting to my local IMAP server, I get

 c = imaplib.IMAP4(127.0.0.1)
Traceback (most recent call last):
  File stdin, line 1, in module
  File /local/python/3k/src/Lib/imaplib.py, line 190, in __init__
raise self.error(self.welcome)
imaplib.error: b'* OK [CAPABILITY IMAP4rev1 LOGINDISABLED STARTTLS]
UpLib IMAP Server (V4r1) ready.'


I think this is bug 1210.  However, it is able to connect to an
SSL-protected server (not the one above) and get the same error message,
so I think the SSL patch works.

--
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1482
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1482] IMAP4 SSL isn't working

2008-01-31 Thread Bill Janssen

Changes by Bill Janssen:


__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1482
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1482] IMAP4 SSL isn't working

2008-01-05 Thread vila

Changes by vila:


--
nosy: +vila

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1482
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1482] IMAP4 SSL isn't working

2007-12-10 Thread Bill Janssen

Bill Janssen added the comment:

I'm still getting this with the latest SSL module fixes.  I'm guessing
this is a problem with the implementation of imaplib, but I haven't
looked into it yet.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1482
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1482] IMAP4 SSL isn't working

2007-12-10 Thread Bill Janssen

Bill Janssen added the comment:

Here's a fix for the 3K branch.

Added file: http://bugs.python.org/file8921/b

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1482
__

b
Description: Binary data
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1482] IMAP4 SSL isn't working

2007-12-10 Thread Bill Janssen

Changes by Bill Janssen:


--
keywords: +patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1482
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1482] IMAP4 SSL isn't working

2007-11-21 Thread Christian Heimes

New submission from Christian Heimes:

The SSL version of the imap4 client isnt' working under 3.0. After I
applied the patch from http://bugs.python.org/issue1210 I tried to
connect to an IMAP server over SSL. The connection hangs.

import imaplib
conn = imaplib.IMAP4_SSL(mailbox.rwth-aachen.de, 993)

After a while I stopped the attempt with CTRL+C
Traceback (most recent call last):
  File stdin, line 1, in module
  File /home/heimes/dev/python/py3k/Lib/imaplib.py, line 1137, in __init__
IMAP4.__init__(self, host, port)
  File /home/heimes/dev/python/py3k/Lib/imaplib.py, line 184, in __init__
self.welcome = self._get_response()
  File /home/heimes/dev/python/py3k/Lib/imaplib.py, line 907, in
_get_response
resp = self._get_line()
  File /home/heimes/dev/python/py3k/Lib/imaplib.py, line 1000, in
_get_line
line = self.readline()
  File /home/heimes/dev/python/py3k/Lib/imaplib.py, line 1170, in readline
char = self.sslobj.read(1)
  File /home/heimes/dev/python/py3k/Lib/ssl.py, line 160, in read
return self._sslobj.read(len)
KeyboardInterrupt

--
assignee: janssen
components: Library (Lib)
keywords: py3k
messages: 57735
nosy: janssen, tiran
priority: normal
severity: normal
status: open
title: IMAP4 SSL isn't working
versions: Python 3.0

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1482
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1482] IMAP4 SSL isn't working

2007-11-21 Thread Bill Janssen

Bill Janssen added the comment:

I'll take a look at it this weekend.

Bill

On Nov 21, 2007 1:27 AM, Christian Heimes [EMAIL PROTECTED] wrote:

 New submission from Christian Heimes:

 The SSL version of the imap4 client isnt' working under 3.0. After I
 applied the patch from http://bugs.python.org/issue1210 I tried to
 connect to an IMAP server over SSL. The connection hangs.

 import imaplib
 conn = imaplib.IMAP4_SSL(mailbox.rwth-aachen.de, 993)

 After a while I stopped the attempt with CTRL+C
 Traceback (most recent call last):
   File stdin, line 1, in module
   File /home/heimes/dev/python/py3k/Lib/imaplib.py, line 1137, in __init__
 IMAP4.__init__(self, host, port)
   File /home/heimes/dev/python/py3k/Lib/imaplib.py, line 184, in __init__
 self.welcome = self._get_response()
   File /home/heimes/dev/python/py3k/Lib/imaplib.py, line 907, in
 _get_response
 resp = self._get_line()
   File /home/heimes/dev/python/py3k/Lib/imaplib.py, line 1000, in
 _get_line
 line = self.readline()
   File /home/heimes/dev/python/py3k/Lib/imaplib.py, line 1170, in readline
 char = self.sslobj.read(1)
   File /home/heimes/dev/python/py3k/Lib/ssl.py, line 160, in read
 return self._sslobj.read(len)
 KeyboardInterrupt

 --
 assignee: janssen
 components: Library (Lib)
 keywords: py3k
 messages: 57735
 nosy: janssen, tiran
 priority: normal
 severity: normal
 status: open
 title: IMAP4 SSL isn't working
 versions: Python 3.0

 __
 Tracker [EMAIL PROTECTED]
 http://bugs.python.org/issue1482
 __


__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1482
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com