[Bug 259151] Moving/copying messages to folders causes redownload of the entire folder [Exchange server]
Thiago Macieira
thiago at kde.org
Wed Dec 8 14:19:40 GMT 2010
https://bugs.kde.org/show_bug.cgi?id=259151
--- Comment #5 from Thiago Macieira <thiago kde org> 2010-12-08 15:19:38 ---
Actually, come to think of it, I think the entire code is bogus. There's never
a good reason to redownload the entire mailbox as long as the UIDVALIDITY
remains the same.
The RFC says (2.3.1.1):
[...] Unique identifiers
are assigned in a strictly ascending fashion in the mailbox; [...]
The unique identifier of a message MUST NOT change during the
session, and SHOULD NOT change between sessions. Any change of
unique identifiers between sessions MUST be detectable using the
UIDVALIDITY mechanism discussed below.
[...]
1) Unique identifiers MUST be strictly ascending in the
mailbox at all times. [...]
It looks to me like the code is checking the wrong parameter. The only valid
reason for redownloading everything is a change in UIDVALIDITY. As long as the
UIDVALIDITY remains the same, the client should simply download any UIDs it did
not know about.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Kdepim-bugs
mailing list