On Tue, Mar 23, 2010 at 6:19 AM, Paul Lesniewski <p...@squirrelmail.org> wrote: > Hello, > > I am finding that imapproxy does not seem to handle LOGIN commands in > literal format correctly. When talking directly to the IMAP server, > this works fine: > > $ telnet localhost 143 > Trying 127.0.0.1... > Connected to localhost.localdomain (127.0.0.1). > Escape character is '^]'. > * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE > THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION > STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, > Inc. See COPYING for distribution information. > A01 LOGIN {16} > + OK > p...@example.com {4} > + OK > test > A01 OK LOGIN Ok. > A02 LOGOUT > * BYE Courier-IMAP server shutting down > A02 OK LOGOUT completed > Connection closed by foreign host. > > > But imapproxy stuffs it up: > > $ telnet localhost 144 > Trying 127.0.0.1... > Connected to localhost.localdomain (127.0.0.1). > Escape character is '^]'. > * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE > THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION > Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See > COPYING for distribution information. > A01 LOGIN {16} > + go ahead > p...@example.com {4} > A01 NO LOGIN failed > > > The problem is seen by watching what imapproxy sends to the IMAP > server with your favorite packet sniffer: > > A0001 LOGIN {16} {16}
I have committed a fix for this issue to the IMAP Proxy source repository. It should be in the next snapshot build for version 1.2.8 (within 24 hours). Cheers, Paul -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ----- squirrelmail-imapproxy mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-imapproxy@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.imapproxy List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-imapproxy