RE: [exim] Auto-reply and foreign characters

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Kjetil Torgrim Homme
CC: Clive McDowell, exim-users
Tárgy: RE: [exim] Auto-reply and foreign characters
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,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book