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. :)



-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to