-- /"\ | Kari \ / ASCII Ribbon Campaign | Hurtta X Against HTML Mail | / \ |
Have I read RFC 2060 wrong ? I have understand that commands such as STORE 132 FLAGS () is valid. However cyrus seems complain about that. Following is from my program's transcript list: 1786 [9] 22:22:03 T>> [len 27] "A00603 STORE 132 FLAGS ()" 0D 0A 1786 [9] 22:22:03 R>> [len 53] 17 03 01 00 30 A8 F7 5E 1F 7E 44 C5 7D ... 1786 [9] 22:22:03 R<< [len 77] 17 03 01 00 48 DE 5D 1E 09 FC 4C F3 E9 ... 1786 [9] 22:22:03 T<< [len 48] "A00603 BAD Invalid flag name in Store command" 0D 0A 1786 [9] 22:22:03 T>> [len 32] "A00604 STORE 133 FLAGS (\Seen)" 0D 0A 1786 [9] 22:22:03 R>> [len 61] 17 03 01 00 38 C4 92 84 0D AD A2 17 55 ... 1786 [9] 22:22:03 R<< [len 77] 17 03 01 00 48 08 CF C8 52 94 E3 4E 72 ... 1786 [9] 22:22:03 T<< [len 50] "* 133 FETCH (FLAGS (\Seen))" 0D 0A 1786 [9] 22:22:03 T<< [continue] "A00604 OK Completed" 0D 0A T>> are writes to imapd (R>> are same after TLS processing is applied -- all raw bytes are not logged.) T<< are reads from imapd (R<< are actual readed bytes before TLS procesissing is done -- all raw bytes are not logged.) Output of bytes is on HEX format except that printable ascii is printed as is on quotes. So Cyrus imapd responded to A00603 STORE 132 FLAGS () with A00603 BAD Invalid flag name in Store command Grammar on RFC 2060 says: store ::= "STORE" SPACE set SPACE store_att_flags store_att_flags ::= (["+" / "-"] "FLAGS" [".SILENT"]) SPACE (flag_list / #flag) flag_list ::= "(" #flag ")" So 0 flags on list should have allowed? -- /"\ | Kari \ / ASCII Ribbon Campaign | Hurtta X Against HTML Mail | / \ |