]> git.ipfire.org Git - thirdparty/chrony.git/commit
reference: specify recipient in message when sending email
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 20 Jun 2018 11:02:55 +0000 (13:02 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 20 Jun 2018 14:45:26 +0000 (16:45 +0200)
commit9a6369d8f1a402331ada1e6fda43153ecb5e421f
tree168bacd95aca67805f5e5d548fdb9e115bd0c296
parent49cdd6bf09932d518914340ceeda59ce68f9c217
reference: specify recipient in message when sending email

Instead of adding the recipient to the sendmail command line (which is
interpretted by the shell) add a "To" line to the message and run
sendmail with the -t option to read the recipient from the message.
reference.c