Re: [exim] how exim parses multiple headers into variables

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Heiko Schlittermann
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] how exim parses multiple headers into variables
Marc Haber <mh+exim-users@???> (Sa 02 Mai 2015 21:39:30 CEST):
> On Fri, 1 May 2015 21:38:31 +0200, Heiko Schlittermann
> <hs@???> wrote:
> >Seing this, there is no bug in Exim. Exim does just what you told it to
> >do. As indicated by the filter test output.
>
> I see. It's still clumsy behavior that the output of $h_header_foo
> cannot be inserted into another header without jumping through hoops.


Which result whould you expect, if you "fold" multiple headers into one?

> >Using 'headers add "x-torres-spam-score: $h_x-spam-score"' IS wrong.
> yes. that violates the principle of least surprise.


You try to put the values of multiple headers (of the same
name) into one header. How should this be done with less suprise?
(Same question as above.)

--
Heiko