On Tue, 2007-01-23 at 17:07 +1100, Stephen Gowing wrote:
Hi,
Dovecot (at least versions 0.99.10.4, 0.99.11, 1.0rc15, rc17 and rc18) allows message Unique Identifiers to be an unsigned 32 bit value, so something like "X-UID: 4085788205" is allowed.
Some IMAP clients I've tested (Thunderbird 1.5.0.9, SquirrelMail 1.4.9a/PHP 4.3.2) appear to use signed 32 bit identifiers and request the above message as UID 2147483647 (max signed 32 bit integer). Evolution 2.0.2 fetches 4085788205 without complaint.
Is there any chance Dovecot could decide to invalidate and renumber a folder when identifiers greater than 2147483647 are found?
Dovecot used to do that in the early versions, but now it requires changing a couple of different things so it's not done. Also I'm not sure if it's such a good idea to do it automatically, because it might lose some important information. Some clients map their own metadata with the UID number.
I don't think it's a real problem anyway? 0.99.x versions could have allowed the UIDs to grow just by sending it a mail with a large X-UID value, but that's not possible anymore.