[Dovecot] 1.0alpha4: pop3_reuse_xuidl patch

grant beattie grant at grunta.com
Tue Dec 6 22:52:54 EET 2005

On Tue, Dec 06, 2005 at 10:50:21PM +0200, Timo Sirainen wrote:

> 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.

does Dovecot use S= for anything? and are these filename tokens
configurable and/or documented? I couldn't find a mention in the
config file.

I should be able to get Exim to do anything I want with Maildir
filenames, so I'll look into this later today. thanks for the tip :)


More information about the dovecot mailing list