[Imap-protocol] Handle failures during STORE command execution

Norman Maurer norman at apache.org
Wed Jun 23 08:41:21 PDT 2010


Hi there,

I'm currently working on an java based IMAP-Server and wonder how I
need so react on failures while processing a "STORE" command.

If we have for example the following command:

a store 1:100 flags \Seen

What should I return if the flag update fails for for message 3 only?
Do I still return the new flags for the rest of the messages (+just
return the old flags for message 3) and response with ok or do I need
to rollback all the changes made during processing the command and
response with an error ?

I'm currently try to understand if I need to handle such commands in
some kind of transaction..

Thanks,
Norman


More information about the Imap-protocol mailing list