On Thu, 13 Feb 2003, Jesper Toft wrote:
>Hi,
>I got a little problem with the LSUB command,
>0 LSUB "" "*"
>* LSUB () "." "INBOX"
>0 OK LSUB completed
>That looks good...
>but when sending:
>0 LSUB "" *
>It doesnt reply, and at the next good command i get:
>* NO Syntax Error: in expectCommand, in expectCommandAuth, in expectLSUB,
>expected list_mailbox
>Have i missread the imap protocol specs, or did i hit a bug?

You hit two bugs ;). The first is fixed and will be out in the release 
this week-end. The second bug is that LSUB expects you to quote the '*', 
and that's caused by a too quick interpretation of the RFC:

list_wildcards  ::= "%" / "*"

The quotes are there for editorial clarity (doh). I'll put this one up on
the buglist.

Andy

-- 
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP    | Nil desperandum

Reply via email to