-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Timo,
On 2009-11-10 15:30, Timo Sirainen wrote: > On Nov 10, 2009, at 2:21 AM, Patrick Nagel wrote: > >> So it seems that neither EXPUNGE nor re-SELECT seems to have any >> "refreshing" >> effect. > > I'll see tomorrow if I can reproduce it. Thanks and good night :) >> Nikita Koshikov told me to "Try to add :INDEX=MEMORY to location >> setting". >> >> After my tests above I tried that, and suddenly everything works as >> expected. >> It seems logical to have the index of a virtual folder in memory only, >> since it >> is generated dynamically anyway, and is outdated before it's even >> written to >> disk (at least without some configurable "virtual search result max age" >> parameter). So maybe the easiest solution is, to imply ':INDEX=MEMORY' >> when a >> namespace location is a virtual folder? > > Well, that also makes the performance somewhat bad. And UIDVALIDITY > changes every time, so client's local caching won't work. And if client > uses multiple connections to the same mailbox, it might get confused > since each connection gets a different UIDVALIDITY. Ok, I wasn't aware of all those implications. Patrick. - -- STAR Software (Shanghai) Co., Ltd. http://www.star-group.net/ Phone: +86 (21) 3462 7688 x 826 Fax: +86 (21) 3462 7779 PGP key: E883A005 https://stshacom1.star-china.net/keys/patrick_nagel.asc Fingerprint: E09A D65E 855F B334 E5C3 5386 EF23 20FC E883 A005 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkr5GYsACgkQ7yMg/OiDoAXQUgCgrzG/aAH1oP/gju4cS4xedxRo T7YAoLbCN/O3d7YiCmR798mrWBlNw5IF =zvHa -----END PGP SIGNATURE-----