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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andrew Hearn
Date:  
À: exim-users
Sujet: Re: [exim] maildir_tag - appending size suitable for Dovecot
Michael Haardt wrote:
>> 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.


Thanks,

I do add headers in ACL's, but seems $message_linecount includes headers
at ACL time... I'll try it out.

Andrew.