From 85b3367fe12a5a4c14b164c1beffd7aa146b4327 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 14 Nov 2018 08:43:32 -0800 Subject: Add sendmail script This exists because emacs treats any output from the sendmail program as failure, and `msmtpq` outputs the result of every call. So I silence msmtpq, and emacs is happy. --- sendmail | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 sendmail (limited to 'sendmail') diff --git a/sendmail b/sendmail new file mode 100755 index 0000000..08ba3d7 --- /dev/null +++ b/sendmail @@ -0,0 +1,6 @@ +#! /usr/bin/env sh + +## pass all params to msmtpq & redirect output +msmtpq "$@" > ~/tmp/msmtp.log + +exit 0 -- cgit v1.2.3