[issue10692] imap lib server compabilities

2010-12-16 Thread Yevgeniy

Yevgeniy shchemele...@gmail.com added the comment:

I found than it is server configuration problem.
When i add variable IMAP_COPABILITY to /etc/courier/imapd-ssl all troubles are 
gone. Variable did not exported from /etc/courier/imapd, but documentation sad 
that it imports automatically.
Thank you very much for your attention and help.

--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10692
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10692] imap lib server compabilities

2010-12-16 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

You are welcome.  Glad you were able to solve it.

--
resolution:  - invalid
stage: unit test needed - committed/rejected

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10692
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10692] imap lib server compabilities

2010-12-15 Thread Yevgeniy

Yevgeniy shchemele...@gmail.com added the comment:

Have you confirmed that the same server is listening on port 993 as is 
listening on port 143? 
I found that is mistake in courier-imap(-ssl) configuration.
I have some troubles with it configuring(may by incorrect certificates).
When i make right configuration i will test again python code and writŠµ here 
results.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10692
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10692] imap lib server compabilities

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Starttls support was only added in Python 3.2.  Apparently your server is set 
to disallow non-SSL connections.

Have you confirmed that the same server is listening on port 993 as is 
listening on port 143?  The debug info from imaplib makes it look like 
different capability information is being returned, though the banner does look 
the same.

Please run the regular IMAP4 test with debug on, I think it may be getting past 
the capabilities query before it produces the starttls error, and if so it 
would be interesting to compare the two debug traces.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10692
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10692] imap lib server compabilities

2010-12-14 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
versions: +Python 2.7 -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10692
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10692] imap lib server compabilities

2010-12-13 Thread Yevgeniy

New submission from Yevgeniy shchemele...@gmail.com:

When i trying to connect to courier-imap server i got error:
server not IMAP4 compliant
But as i see in the debug information and server responses there is error in 
the source code of library.
imaplib.py version: 2.58 
courier-imap server version: 0.91-ubuntu1
os version: ubunto 10.04(lucid)
You can see debug information and telnet session in attached file.
Best regards, Yevgeniy.

--
components: Library (Lib)
files: debug.txt
messages: 123871
nosy: silversky
priority: normal
severity: normal
status: open
title: imap lib server compabilities
type: performance
versions: Python 2.6
Added file: http://bugs.python.org/file20028/debug.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10692
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10692] imap lib server compabilities

2010-12-13 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Where does the non-telnet part of your trace come from?  How did you produce 
it?  Does this error still occur using 2.7?  (Python 2.6 is in security fix 
only mode at this point.)

--
nosy: +eric.smith, r.david.murray
stage:  - unit test needed
type: performance - behavior

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10692
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10692] imap lib server compabilities

2010-12-13 Thread Yevgeniy

Yevgeniy shchemele...@gmail.com added the comment:

Where does the non-telnet part of your trace come from?  How did you produce 
it?
When i got this error i set Debug = 5 in imaplib.py
and run next code:
import imaplib
M = imaplib.IMAP4_SSL('localhost')
M.login('username', 'password')
M.logout()

Does this error still occur using 2.7?
Yes

As i see in debug information: CAPABILITIES: ('0', 'ACL', 'ACL2=UNION')
but in the telnet session i see next answer:
* CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS LOGINDISABLED
Because of this i think that we have maybe some kind of error in the source 
code of library.
p.s. sorry for my English )

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10692
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10692] imap lib server compabilities

2010-12-13 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Well, in that case your telnet session doesn't tell us all that much, since you 
are using IMAP4_SSL in the Python but regular non-SSL in the telnet session.  
Are you sure it is even the same server running on the SSL port?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10692
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10692] imap lib server compabilities

2010-12-13 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

By the way, an SSL login runs just fine for me against my Courier-IMAP server.  
Does regular IMAP work for you?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10692
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10692] imap lib server compabilities

2010-12-13 Thread Yevgeniy

Yevgeniy shchemele...@gmail.com added the comment:

 By the way, an SSL login runs just fine for me against my Courier-IMAP 
 server.  Does regular IMAP work for you?
No it dose not.
When i run:
M = myimaplib.IMAP4(host)
M.login(username, password)
I got error: STARTTLS required

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10692
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com