Daniël van Eeden added the comment:

As far as I understood the RFC:

A client should send CAPA and check if there is a SASL tag in the response 
(e.g. "SASL PLAIN").

===============================
+OK Dovecot ready.
AUTH PLAIN base64_encoded_info
+OK Logged in.
LIST
===============================
I've replace the base64 encoded authentication info with 'base64_encoded_info'

For other authentication mechanisms the response can be longer (it may contain 
a challenge) and the request may only contain the mechanim.

I don't have a server which supports anything else than AUTH PLAIN, so I could 
verify/test this.

----------
keywords: +patch
Added file: http://bugs.python.org/file33651/poplib_auth.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20352>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to