On 2016-05-16, Jeremy Harris <jgh@???> wrote: > On 16/05/16 19:17, Kris Oye wrote:
>> Actually, I looked at my implementation and it's not actually receiving anything except the command line parameters. I am reading the body from the spool (ick).
>
> OK, so another option for you is to read the -H file as well from the
> spool, and pull the headers from it. See
> http://exim.org/exim-html-current/doc/html/spec_html/ch-format_of_spool_files.html > for that.
You can alternatively pipe it from "exim -Mvc $EXIM_ID"