Re: Re: moving mail between folders is intermittently failing

Timo Sirainen <[email protected]> Tue, 04 May 2010 22:41:35 +0300
Newsgroups gmane.mail.imap.uw.c-client
Message-ID <1273002095.3278.35.camel@hurina>
On Tue, 2010-05-04 at 12:03 -0700, Mark Crispin wrote:

> A better implementation would use an index file that maps between a
> UID
> and a device/inode number of the file.  To open and synchronize, you
> stat() all the files and then correlate that with the index to build a
> map.  This would also identify newly-added and expunged messages. 

It wouldn't be enough to identify message with device/inode, because
inodes get reused. So if message A is expunged and a new message B is
saved (both externally to IMAP server's knowledge), IMAP server might
now think that A still exists, except now it has B's contents.

_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAkvgeG8ACgkQyUhSUUBViskYQQCfV9YR4nZMwYRQ/71vQQ76L/fv
fxQAniy9f6+LUVAQ0aBo190wEK0YeNSQ
=sdsF
-----END PGP SIGNATURE-----