[Dovecot] New index / mailbox API

DINH Viet Hoa dinh.viet.hoa at free.fr
Sun Nov 23 14:07:07 EET 2003


Timo Sirainen wrote :

> But if you give UID, there's no way to know where in the mbox file the
> message begins unless you store the UID -> offset in memory, which index
> already does, so why not just give the offset..
> 
> The point was that you have to have the mailbox locked and synchronized
> before trying to open any messages. Synchronizing updates the offsets
> and while mailbox is locked the offsets can't change.

sorry, I thought it was for external IMAP UID. These are, in fact, 
internal usage identifiers.

-- 
DINH V. Hoa,

"monde de merde" -- Erwan David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20031123/482940f3/attachment-0001.bin>


More information about the dovecot mailing list