New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imap lib server compabilities #54901
Comments
When i trying to connect to courier-imap server i got error: |
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.) |
As i see in debug information: CAPABILITIES: ('0', 'ACL', 'ACL2=UNION')
|
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? |
By the way, an SSL login runs just fine for me against my Courier-IMAP server. Does regular IMAP work for you? |
|
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. |
|
I found than it is server configuration problem. |
You are welcome. Glad you were able to solve it. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: