On Tue, Dec 09, 2003 at 10:41:28AM +0100, Peter Stuge wrote:
[..]
>  2038 < 00000008 UID STORE  -Flags (\Deleted)
>  2038 > * BAD Syntax error: Expected Set
> 
> Oh ye IMAP gurus, this happens when I want to erase a message in V-webmail.
> I suspect it isn't Binc at fault, but wanted to show it/get comments anyway.
> I'm guessing there's something missing between STORE and -Flags (because of
> the double space)..?

Both my suspicion and my guess was right, there's supposed to be a message
number, or range, after the STORE command, which V-webmail wasn't sending
because there weren't any messages to remove the flag from.

I changed this in V-webmail so that it doesn't call imap_clearflag_full()
unless it actually has some messages to work with.

Arguably the IMAP extension (imap2002) should handle this more gracefully
than to send out invalid IMAP on the wire however..


//Peter

Reply via email to