4 Feb
2007
4 Feb
'07
1:56 a.m.
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?