[Dovecot] dovecot tpop3d UIDL mbox
    Ben Winslow 
    rain at bluecherry.net
       
    Tue Oct 17 15:53:42 UTC 2006
    
    
  
On Mon, 16 Oct 2006 00:32:07 +0300
Timo Sirainen <tss at iki.fi> wrote:
> How does tpop3d generate UIDLs for mbox mails?
tpop3d's UIDLs for messages in an mbox file are an MD5 hash of the
first 512 bytes of the message (including the "From " line and the
message body), or the entire message if it's less than 512 bytes.
If indexes are enabled, tpop3d will only calculate the UIDL when the
message is first seen -- otherwise, it'll calculate it every time.
The good(?) news is that tpop3d doesn't update/add the Status header,
so there's a good chance that dovecot's initial calculation of the UIDL
will match; the bad news is that dovecot DOES update/add the Status
header, so the UIDL will change unless dovecot saves it somewhere.
--
Ben Winslow <rain at bluecherry.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20061017/578b454f/attachment-0001.pgp 
    
    
More information about the dovecot
mailing list