[exim-dev] [Bug 1543] New: wrong position for new header whe…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Konstantin
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 1543] New: 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
           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: jgh146exb@???
        ReportedBy: myownletters@???
                CC: exim-dev@???



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: <sender@???>
Envelope-to: user@???
Delivery-date: Thu, 30 Oct 2014 12:31:27 +0000
Cc: user@???
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: sender@???
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