------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1543
           Summary: wrong position for new header when used add_header
           Product: Exim
           Version: 4.82.1
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: low
         Component: ACLs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


When i try to add a new Cc field i found that action for “:at_start:” and
“:after_received:” is the same. 
The Cc header added at the beginning of the message. 

Exim.conf part:

acl_check_rcpt:
 warn  set acl_m10envrcpt =$local_part@$domain

acl_check_data:
  warn log_message = Add header Cc
    condition = ${if eq {$acl_m1}{1}}
    add_header = :after_received:Cc: $acl_m10envrcpt

Delivered message headers part:

Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Thu, 30 Oct 2014 12:31:27 +0000
Cc: [email protected]
Received: from mail.domain1.com (x.x.x.x) by mail.domain1.com (MTA) id .....
Received: from mail.domain.com (127.0.0.1) by mail.domain.com (MlfMTA v3.2r9)
id .....
From: [email protected]
To: undisclosed-recipients:;
Date: Thu, 16 Oct 2014 12:16:29 -0400
Subject: test
Accept-Language: en-US
Content-Language: en-US
Content-Type: multipart/related;
        boundary="_005_6085D13AD9162E419_";
        type="multipart/alternative"
MIME-Version: 1.0


-- 
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to