On Oct 1, 2004, at 15:02,�Brian Kirsch wrote:

Hello,
I am working on Chandler a Python based Personal�Information Management System (www.osafoundation.org).
We are using Twisted as our IMAP library. I am running in to an issue with AUTH=LOGIN. It works for most�
IMAP servers as Twisted assumes a base64 encoded challenge. But on some servers such as Cyrus I am getting a non-base64 challenge. I did some searching on the web but I can't seem to find a spec on the AUTH=LOGIN exchange.
Can someone clue me in or point me to some references. There error is included below as well.

Here's a reference to a (now expired?) draft on the LOGIN SASL mechanism:


<http://asg.web.cmu.edu/cyrus/download/sasl/draft-murchison-sasl- login-00.txt>

In general, though, SASL over IMAP requires�the challenges and responses to be base64 encoded. So, the transcript you showed looks correct: the server is sending "VXNlcm5hbWU6", which is just "Username:" base64 encoded. Do you have cases where the server is sending "Username:" unencoded?

--Grant




Reply via email to