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.


Thanks,

Brian Kirsch - Email Framework Engineer
Open Source Applications Foundation
543 Howard St. 5th Floor�
San Francisco, CA 94105�
(415) 946-3056�


-------------------

<x-tad-bigger>Error Message:

2004-09-24 14:32:24,973 INFO [loginClient] Current View is: <XMLRepositoryView: IMAP_38ed16e6
-0e71-11d9-9978-000a95ca1ecc>
2004-09-24 14:32:24,974 INFO >>> 0001 CAPABILITY
2004-09-24 14:32:25,001 INFO <<< * CAPABILITY IMAP4 IMAP4REV1 ACL NAMESPACE UIDPLUS IDLE
LITERAL+ QUOTA ID MULTIAPPEND LISTEXT CHILDREN BINARY LOGIN-REFERRALS AUTH=LOGIN
AUTH=PLAIN
2004-09-24 14:32:25,074 INFO <<< 0001 OK completed
2004-09-24 14:32:25,082 INFO >>> 0002 AUTHENTICATE LOGIN
2004-09-24 14:32:25,147 INFO <<< + VXNlcm5hbWU6
2004/09/24 14:32 PDT [ChandlerIMAP4Client,client] Traceback (most recent call last):
File "/Users/builder/heikki/external/release/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/protocols/basic.py", line 225, in dataReceived


File "/OSAF/Chandler/chandler/parcels/osaf/mail/imap.py", line 60, in lineReceived
imap4.IMAP4Client.lineReceived(self, line)
File "/Users/builder/heikki/external/release/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/mail/imap4.py", line 2045, in lineReceived


File "/Users/builder/heikki/external/release/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/mail/imap4.py", line 2062, in _regularDispatch


--- <exception caught here> ---
File "/Users/builder/heikki/external/release/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/mail/imap4.py", line 2091, in dispatchCommand


File "/Users/builder/heikki/external/release/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/mail/imap4.py", line 2118, in response_UNAUTH


File "/Users/builder/heikki/external/release/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/mail/imap4.py", line 2130, in _defaultHandler


File "/Users/builder/heikki/external/release/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/mail/imap4.py", line 367, in <lambda>


File "/Users/builder/heikki/external/release/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/site-packages/twisted/mail/imap4.py", line 2320, in __cbContinueAuth


File "/Users/builder/heikki/external/release/Library/Frameworks/Python.framework/Versions/
2.3/lib/python2.3/base64.py", line 37, in encodestring
for i in range(0, len(s), MAXBINSIZE):</x-tad-bigger>

Reply via email to