[Dovecot] Indexing Performance Question (was tpop3d vs dovecot)

Jan Srzednicki w at expro.pl
Fri Feb 2 12:17:19 UTC 2007

On Fri, Feb 02, 2007 at 02:14:47PM +0200, Timo Sirainen wrote:
> On Fri, 2007-02-02 at 12:42 +0100, Jan Srzednicki wrote:
> > Wouldn't it make sense to add the line count field to the index file?
> > That would solve the CR+LF issue.
> Cache file already contains the message's virtual size (linefeeds as
> CRLF), so after once counting the virtual size it shouldn't open the
> maildir file again unless there's a bug (as in this case there was).

ACK, I see.

> > And I have another idea, which some time ago saved my butt with Courier:
> > add a line count L=?? maildir flag, which would make messages look like:
> > 
> > -rw-------    1 root     root         4811 Feb  9  2006 1138386088.22293_0.mail1,S=4811,L=104
> Dovecot supports reading the virtual size from ,W=1234 in the filename.

It doesn't seem to use/set it by default, how can I make it to?

Jan Srzednicki
w at expro.pl

More information about the dovecot mailing list