On 17 Nov 2015, at 03:01, Daniel Oakes <[email protected]> wrote:
> What I'm trying to do is log a specific header line in the received: portion
> to a different log file.
You need the ${run{/some/script}} expansion construct. In a simple (and
untested!) form:
warn condition = ${run{/bin/echo "${sg{$h_Received:}{\Nregex
here\N}{replacement}}"}{true}{true}}
Regards
Graeme
--
## 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/