Re: [exim] How to get Subject in transport?

Top Page
Delete this message
Reply to this message
Author: Chris Knadle
Date:  
To: exim-users
Subject: Re: [exim] How to get Subject in transport?
On Monday, August 06, 2012 08:07:39, Алексей Киреев wrote:
> Hello.
>
> How can i get Subject header in transport appendfile.c?
>
> log_write(0, LOG_MAIN, "DEBUG: transport delivered to dir=%s from=%s,
> subject=%s, size=%d", path, sender_address, subject, message_size);
>
> Variable "subject" does not exists, other variables are present.


Rather than build this into Exim4 itself, I do this via an ACL:

acl_check_data:
...
  warn
    logwrite = msg Subject: $header_Subject:
    logwrite = msg To: $recipients
    logwrite = return path: $return_path
    logwrite = reply addr:  $reply_address


-- Chris

--
Chris Knadle
Chris.Knadle@???