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

Timo Sirainen tss at iki.fi
Fri Feb 2 10:40:16 UTC 2007


On Fri, 2007-02-02 at 01:03 +0100, Jakob Hirsch wrote:
> >> Hm, how does dovecot know that a message contains crlf, so it can use
> >> sendfile instead of read/write? If you have some kind of simple
> >> autodetection, like "read the first line, if it contains crlf, assume
> >> all other lines also do", we already have some (non-optimized) form of
> >> that.
> >> I guess this also affects IMAP, right?
> > There's no simple autodetection. There's a "message is binary safe" flag
> > in cache file that gets set after the message has once been parsed and
> > only CRLF-linefeeds were seen.
> 
> Oh. So dovecot-deliver could already do that? (maybe it already honours
> the mail_save_crlf?)

Deliver doesn't update the cache file at all in v1.0 branch. It does use
mail_save_crlf though.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070202/fe9e74ea/attachment.pgp 


More information about the dovecot mailing list