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)