[exim] add_header behavior

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Konstantin
Data:  
Para: exim-users
Assunto: [exim] add_header behavior
Hi All

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. MUA (thunderbird) show message without problems, but i have
another SMTP which do not parse it correctly.

I am using exim-4.82-1.

Can you suggest what i did wrong? I
Also it would be good to have the same actions for headers_add in router
section.


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@???
<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
.....



Thank you.

--
*This message was delivered using 100% recycled electrons*.