On Wed, 23 Nov 2005, Kjetil Torgrim Homme wrote:

> here's the definition we use in our vacation transport:
> 
>   subject = Auto: I'm away from my mail \
>       ${if def:h_subject: {(was: ${rfc2047:$h_subject:} )}}
> 
> the ${rfc2047 function will unfortunately generate illegal encoded words
> whenever the Subject is more than 60 letters or so, 

Not true since release 4.50. Here's the ChangeLog entry:

32. The RFC2047 encoding function was originally intended for short strings
    such as real names; it was not keeping to the 75-character limit for
    encoded words that the RFC imposes. It now respects the limit, and     
    generates multiple encoded words if necessary. To be on the safe side, I
    have increased the buffer size for the ${rfc2047: expansion operator from 
    1024 to 2048 bytes. 

-- 
Philip Hazel            University of Cambridge Computing Service,
[EMAIL PROTECTED]      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book

-- 
## 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