Rebuild UIDs for mdbox

Darac Marjal mailinglist at darac.org.uk
Mon Nov 28 09:59:05 UTC 2016


On Sun, Nov 27, 2016 at 11:45:10PM -0700, @lbutlr wrote:
>On Nov 27, 2016, at 1:41 PM, Darac Marjal <mailinglist at darac.org.uk> wrote:
>> Firstly, that page states that UIDs should be 32-bit integers. If so,
>> why do there appear to be UIDs greater than 3 billion in the mailbox?
>
>Because 32 bits hold 4 billion decimal?
>
>2^32 = 4,294,967,296

Ah, yes. It's a bug in claws-mail then. It *IS* storing the UID in an 
unsigned int, but then comparing it to G_MAXINT which is the signed 
maximum.

Sorry for the noise.

>
>(this is why FAT32 has a 4GB file size limit).

-- 
For more information, please reread.


More information about the dovecot mailing list