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
[email protected]
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/