What version of cyrus are you running? Against our 2.1.11 server I have:
x store 1 flags () * 1 FETCH (FLAGS ()) x OK Completed -Rob On Mon, 27 Jan 2003, David Harris wrote: > Here's a snippet of a transaction between a client and the Cyrus server > (sorry, I don't know the version - this was reported by a customer): > > -------------------------- Cut here ---------------------------- > 13:33:00.687 << 0023 A28 STORE 16 FLAGS ()\0D\0A > 13:33:00.687 >> 0045 A28 BAD Invalid flag name in Store command\0D\0A > -------------------------- Cut here ---------------------------- > > Now, leaving aside any issues with the aim of the command, is my > reading of RFC2060 correct that the command is legal as shown? > > I believe the relevant EBNF is: > > -------------------------- Cut here ---------------------------- > store ::= "STORE" SPACE set SPACE store_att_flags > > store_att_flags ::= (["+" / "-"] "FLAGS" [".SILENT"]) SPACE > (flag_list / #flag) > > flag_list ::= "(" #flag ")" > -------------------------- Cut here ---------------------------- > > To me, this reads that any parenthesized list of zero or more flags is a > legitimate parameter to the command. > > If this command *is* legal, then it seems to me that Cyrus shouldn't be > returning a BAD response - but I wanted to make sure that I'm not > misunderstanding the BNF or that this hasn't been subsequently > amended before passing it on to the developers. > > Could I seek guidance from the mighty on this? > > Cheers! > > -- David -- > > ------------------ David Harris -+- Pegasus Mail ---------------------- > Box 5451, Dunedin, New Zealand | e-mail: [EMAIL PROTECTED] > Phone: +64 3 453-6880 | Fax: +64 3 453-6612 > > Thought for the day: > Remember, even if you win the rat race - you're still a rat. > > > > -- > ----------------------------------------------------------------- > For information about this mailing list, and its archives, see: > http://www.washington.edu/imap/imap-list.html > ----------------------------------------------------------------- > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski | Andrew Systems Group * Research Systems Programmer PGP:0x5CE32FCC | Cyert Hall 207 * [EMAIL PROTECTED] * 412.268.7456 -----BEGIN GEEK CODE BLOCK---- Version: 3.12 GCS/IT/CM/PA d- s+: a-- C++++$ ULS++++$ P+++$ L+++(++++) E W+ N o? K- w O- M-- V-- PS+ PE++ Y+ PGP+ t+@ 5+++ R@ tv-@ b+ DI+++ G e h r- y? ------END GEEK CODE BLOCK-----