Re: [exim] emailsize

Pàgina inicial
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
A: Stefan Klatt
CC: exim-users
Assumpte: Re: [exim] emailsize
Stefan Klatt wrote:

> has anybody a correct transportconfiguration for maildir with the size
> (S=xxx and W=xxx) at email filenames ?


I played with it a while ago, and the best I could come up with was this:

vdeliver:
driver = appendfile
maildir_format
...
use_crlf
maildir_tag = 2,,W=$message_size

I would have preferred to not have use_crlf, but dovecot expects the
"virtual size" (bytes that will be sent) in W=xxx. The obvious thing to
do that would be ${eval:$message_size+$message_linecount+1}, but
$message_linecount (unlike $message_size) is not updated when headers
are added etc., so that does not work. I wanted make up a fix for that
in Exim, but did not get around to do it. Hm, maybe filing a bug report
would be a good start. :)