Hi Brian -
(B
(BI don't understand your question. Why do you think that Cyrus is sending
(Ba non-BASE64 challenge? "VXNlcm5hbWU6" looks like perfectly good BASE64
(Bto me. I'd prefer "VXNlciBOYW1lAA==" but what Cyrus sends is fine.
(B
(B-- Mark --
(B
(BOn Fri, 1 Oct 2004, Brian Kirsch wrote:
(B> Hello,
(B> I am working on Chandler a Python based Personal Information Management
(B> System (www.osafoundation.org).
(B> We are using Twisted as our IMAP library. I am running in to an issue with
(B> AUTH=LOGIN. It works for most
(B> IMAP servers as Twisted assumes a base64 encoded challenge. But on some
(B> servers such as Cyrus I am getting a non-base64 challenge. I did some
(B> searching on the web but I can't seem to find a spec on the AUTH=LOGIN
(B> exchange.
(B> Can someone clue me in or point me to some references. There error is
(B> included below as well.
(B>
(B>
(B> Thanks,
(B>
(B> Brian Kirsch - Email Framework Engineer
(B> Open Source Applications Foundation
(B> 543 Howard St. 5th Floor$B��(B
(B> San Francisco, CA 94105$B��(B
(B> (415) 946-3056$B��(B
(B>
(B>
(B> -------------------
(B>
(B> Error Message:
(B>
(B> 2004-09-24 14:32:24,973 INFO [loginClient] Current View is:
(B> <XMLRepositoryView: IMAP_38ed16e6
(B> -0e71-11d9-9978-000a95ca1ecc>
(B> 2004-09-24 14:32:24,974 INFO >>> 0001 CAPABILITY
(B> 2004-09-24 14:32:25,001 INFO <<< * CAPABILITY IMAP4 IMAP4REV1 ACL NAMESPACE
(B> UIDPLUS IDLE
(B> LITERAL+ QUOTA ID MULTIAPPEND LISTEXT CHILDREN BINARY LOGIN-REFERRALS
(B> AUTH=LOGIN
(B> AUTH=PLAIN
(B> 2004-09-24 14:32:25,074 INFO <<< 0001 OK completed
(B> 2004-09-24 14:32:25,082 INFO >>> 0002 AUTHENTICATE LOGIN
(B> 2004-09-24 14:32:25,147 INFO <<< + VXNlcm5hbWU6
(B> 2004/09/24 14:32 PDT [ChandlerIMAP4Client,client] Traceback (most recent call
(B> last):
(B> File "/Users/builder/heikki/external/release/Library/Frameworks/
(B> Python.framework/Versions/
(B> 2.3/lib/python2.3/site-packages/twisted/protocols/basic.py", line 225, in
(B> dataReceived
(B>
(B> File "/OSAF/Chandler/chandler/parcels/osaf/mail/imap.py", line 60,
(B> in lineReceived
(B> imap4.IMAP4Client.lineReceived(self, line)
(B> File "/Users/builder/heikki/external/release/Library/Frameworks/
(B> Python.framework/Versions/
(B> 2.3/lib/python2.3/site-packages/twisted/mail/imap4.py", line 2045, in
(B> lineReceived
(B>
(B> File "/Users/builder/heikki/external/release/Library/Frameworks/
(B> Python.framework/Versions/
(B> 2.3/lib/python2.3/site-packages/twisted/mail/imap4.py", line 2062, in
(B> _regularDispatch
(B>
(B> --- <exception caught here> ---
(B> File "/Users/builder/heikki/external/release/Library/Frameworks/
(B> Python.framework/Versions/
(B> 2.3/lib/python2.3/site-packages/twisted/mail/imap4.py", line 2091, in
(B> dispatchCommand
(B>
(B> File "/Users/builder/heikki/external/release/Library/Frameworks/
(B> Python.framework/Versions/
(B> 2.3/lib/python2.3/site-packages/twisted/mail/imap4.py", line 2118, in
(B> response_UNAUTH
(B>
(B> File "/Users/builder/heikki/external/release/Library/Frameworks/
(B> Python.framework/Versions/
(B> 2.3/lib/python2.3/site-packages/twisted/mail/imap4.py", line 2130, in
(B> _defaultHandler
(B>
(B> File "/Users/builder/heikki/external/release/Library/Frameworks/
(B> Python.framework/Versions/
(B> 2.3/lib/python2.3/site-packages/twisted/mail/imap4.py", line 367, in <lambda>
(B>
(B> File "/Users/builder/heikki/external/release/Library/Frameworks/
(B> Python.framework/Versions/
(B> 2.3/lib/python2.3/site-packages/twisted/mail/imap4.py", line 2320, in
(B> __cbContinueAuth
(B>
(B> File "/Users/builder/heikki/external/release/Library/Frameworks/
(B> Python.framework/Versions/
(B> 2.3/lib/python2.3/base64.py", line 37, in encodestring
(B> for i in range(0, len(s), MAXBINSIZE):
(B>
(B
(B-- Mark --
(B
(Bhttp://staff.washington.edu/mrc
(BScience does not emerge from voting, party politics, or public debate.
(BSi vis pacem, para bellum.
- Re: LIST % wildcard as the last charac... Andreas Aardal Hanssen
- Re: LIST % wildcard as the last ch... Philip Guenther
- Re: LIST % wildcard as the last charac... Alexey Melnikov
- Re: LIST % wildcard as the last ch... Ken Murchison
- Re: LIST % wildcard as the la... Alexey Melnikov
- Re: LIST % wildcard as th... Ken Murchison
- Re: LIST % wildcard as the la... Philip Guenther
- Re: LIST % wildcard as th... Ken Murchison
- Re: LIST % wildcard as th... Alexey Melnikov
- Question regarding AUTH=LOGIN Brian Kirsch
- Re: Question regarding AU... Mark Crispin
- Re: Question regarding AU... Brian Kirsch
- Re: Question regarding AU... Mark Crispin
- Re: Question regarding AU... Grant Baillie
- RE: LIST % wildcard as the last character David Truckenmiller
