[Dovecot] 1.0alpha4: pop3_reuse_xuidl patch
tss at iki.fi
Tue Dec 6 22:50:21 EET 2005
On Wed, 2005-12-07 at 07:35 +1100, grant beattie wrote:
> > Actually since the message size needs to be read anyway (unless you can
> > get it to be written as W=1234 in maildir file), the X-UIDL lookup
> > shouldn't cost anything since it's written to cache file immediately.
> > Except I'm not sure if Dovecot's caching code currently is smart enough
> > to save the X-UIDL header while saving message sizes..
> ooh, so W=<size> will optimize away having to read the whole message?
> that's great! I am currently using S=<size> (for Exim quota
> calculation purposes), but I will switch to W= if it will reduce disk
> IO :)
Yes, but you shouldn't just fake W= with wrong size or things can break.
S= is used for the file's actual size. W= is used for the "virtual
size", the size that the message would have with CR+LF linefeeds. So you
could have both.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20051206/42029a0e/attachment.pgp
More information about the dovecot