On 25 Feb 2003, Jonas Pasche wrote: >Hi Andy, >> The messages must be copied to the new/ folder of the destination mailbox >Which document requires this? I don't know better, but it seems to be a >stupid requirement to use the "new" folder when copying or moving >messages, thus losing all flags...
It's a strict requirement in Maildir, to avoid losing emails. ><whining> > With Courier-IMAP, it works fine... without delay... ></whining> Can you explain how it works? Does Courier-IMAP keep all flags that are set by the COPY command? >*bg* >> and the only way to safely set the \Seen flag (or any other flags) is to >> move the message into cur/ after one whole second has lapsed. It's not >> impossible, quite doable, that COPY waits for one second after completion >> to be able to move the messages into place. But it messes up the code so >> much that I'm likely to keep it that way. >I sometimes move a bunch of mails to a new folder, i.e. from >"qmail-current" to "qmail-2003-01". Does that mean that moving 3000 >messages requires _additional_ 3000 seconds to happen? >Jonas No, an additional _one_ second. :-) Andy -- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | Nil desperandum

