-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 25 February 2003 11:42, Andreas Aardal Hanssen wrote: > 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.
And there is no way to set flags in new/ or simply copy "seen" mails into cur/ ? > >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? I was about to send a patch with INT_MAX. - -- Jesper Toft Systemudvikler, esoft ApS Kongensgade 66-68, DK-5000 Odense C Tlf: 70 222 466, Fax: 63 122 466 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+W1xDAbrQXS2Uy7wRAgTEAKDmo0nPbq0hvXATX5XASOUOVSMSygCgv0/0 c/3qQKZ+LYWZjHllM3MAnw8= =O4sV -----END PGP SIGNATURE-----

