diff options
author | Ben Sima <ben@bsima.me> | 2018-11-14 08:43:32 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-11-14 08:43:32 -0800 |
commit | 85b3367fe12a5a4c14b164c1beffd7aa146b4327 (patch) | |
tree | 8f7f33821f118adcd5b4cce1a458e3330fccbe6b | |
parent | 50fa3c7a8dd65a873e34d04ae9171d2dde592f13 (diff) |
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.
-rwxr-xr-x | sendmail | 6 |
1 files changed, 6 insertions, 0 deletions
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 |