Re: [exim] How to Unfold Subject Line ?

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Magnus Holmgren
日付:  
To: exim-users
題目: Re: [exim] How to Unfold Subject Line ?
On Thursday 15 March 2007 16:07, mark david mcCreary wrote:
> I'd like to have Exim unfold Subject lines that wrap across multiple
> lines.
>
> Anybody have a recipe for that to share ?


I though $header_*: unfolded long lines (it would make sense, because "[e]ach
header field is logically a single line of characters" [RFC2822] and,
furthermore, RFC 2047 encoded words with whitespace in-between must be joined
when decoded, which $header_*: does), but it doesn't seem so.

I think what you need is an expression like this:

${sg {$rh_Subject:}{\\n([ \\t])}{\$1}}

because headers add doesn't process or encode the header at all.

Note that things will break if there happens to be more than one Subject:
line.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)