Le 13/03/2015 17:36, Bernd Waibel a écrit : > I am not firm with IMAP, is there a "move" operation? > If the "move" operation is implemented as a "delete" and "create" operation, > the identity will be lost. > Is it possible to implement the "move" operation as a "database renaming > operation", to keep the identity?
The MOVE IMAP operation is not implemented in James : - the processor of the IMAP command is incomplete - lot's of MAILBOX implementation does not have this operation implemented. But, yes you can imagine just updating the mail entry, with setting a new mailbox, new UID and new ModSeq. The actual behaviour is the "copy and delete" one Le 13/03/2015 17:36, Bernd Waibel a écrit : > But you may need to implement something like a "trash" inside the > database? To cover the delete and insert action. > Would this help? You can do this by "logging" add, copy and delete operations, but you still have to do modifications in James to achieve this, and need to look in these logs each time you want the history of an e-mail. I think this can be expansive. If I had this problem, I would add to the database schema a value that identifies a mail and its copies... Regards, Benoit --------------------------------------------------------------------- To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org