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

Jakob Hirsch jh at plonk.de
Sat Feb 3 23:56:23 UTC 2007

Quoting Timo Sirainen:

(oops, forgot list cc...)

>>> Dovecot supports reading the virtual size from ,W=1234 in the filename.

Oh. Is this documented somewhere? And are there any other filename tags?

> I think at least Exim supports adding the ,W= to the maildir file.

Should be something like this in the appendfile transport for dovecot:
maildir_tag = W=${eval:$message_size+$message_linecount}

to get filenames like new/1170546076.H147536P16502.ymmv.de:W=354
(Adding $message_linecount with eval: is only needed when the file
contains only LFs, of course.)

Or should it be "...:,W=354"?

What happens if the number is wrong? If dovecot trusts in it, it would
break the imap session, I guess, but would dovecot complain about it?

More information about the dovecot mailing list