On Dec 22, 2016, at 12:36 PM, Wietse Venema <wie...@porcupine.org> wrote:

# Final command.  Shell will remove the temp file and exit with
# Sendmail's exit code.
/usr/sbin/sendmail "$@"

And do not forget the '--' in
pipe ... argv=/path/to/script -f ${sender} -- ${recipient}

And the missing "< $msg" in the final command:

/usr/sbin/sendmail "$@" < $msg

--
Viktor.

Reply via email to