On Tue, 25 Feb 2003, Jesper Toft wrote:
>When copying mails from one folder to an other, they become unread, even if
>marked as read in the source folder.

The messages must be copied to the new/ folder of the destination mailbox,
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.

>While looking for how to change this behavior, i noticed this line.
>bincimapd-copy.cc:242
>       for (int i = 0; i < 1000; ++i)
>A quick test ( copying 2000 emails ) showed that my mailsetup was able to copy
>at least 200 emails pr. sec. couldnt this be a problem on a bigger setup?

Yes, you're right. Does anyone have any good suggestions here?

Andy

-- 
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP    | Nil desperandum

Reply via email to