[exim-dev] [Bug 1543] wrong position for new header when use…

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 1543] wrong position for new header when used add_header
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1543




--- Comment #1 from Jeremy Harris <jgh146exb@???> 2014-11-13 19:20:13 ---
Works for me; this is testcase 0496 in the testsuite:
======
>From CALLER@??? Tue Mar 02 09:44:33 1999

At-Start: some text
Received: from CALLER by myhost.test.ex with local-smtp (Exim x.yz)
        (envelope-from <CALLER@???>)
        id 10HmaX-0005vi-00
        for someone@???; Tue, 2 Mar 1999 09:44:33 +0000
After-Received: some text
From: some@ne 
To: someone@???
Message-Id: <E10HmaX-0005vi-00@???>
Sender: CALLER_NAME <CALLER@???>
Date: Tue, 2 Mar 1999 09:44:33 +0000
X-ACL-Warn: data1 data1
X-ACL-Warn: data2 data2
X-ACL-Warn: data3
X-ACL-Warn:
X-ACL-Warn: data4
At-End: some text
X-multiline: foo
        bar


Testing message
=========

The At-Start, After-Received and At-End header lines there were added by:

  warn     message = :after_received:After-Received: some text\n\
                     :at_start:At-Start: some text\n\
                     :at_end:  At-End: some text


(and if I change them all to "Cc" the iserted positions do not change.


How are you viewing the message? Is it via an MUA which might be
re-ordering header lines itself? Some are known to.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email