Re: [exim] maildir_tag - appending size suitable for Dovecot

Góra strony
Delete this message
Reply to this message
Autor: Michael Haardt
Data:  
Dla: exim-users
Temat: Re: [exim] maildir_tag - appending size suitable for Dovecot
> maildir_tag = ,W=$message_size
>
> However, Dovecot wants the 'virtual' size and exim creates the 'actual'
> size - and so Dovecot sends truncated email to pop3 clients!
> http://wiki.dovecot.org/POP3Server
>
> Is there a way around this? I've seen references to use_crlf, but am
> umsure if this is what I want...


A hack is:

W=${eval:$message_size+$message_linecount}

In case you add headers in the router, you have to add their number
here as well, because adding headers does not change message_linecount.

Michael