From 7cf00fd9819f663cd411f1079cbbd22127ec7941 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 27 Mar 2025 21:29:41 -0400 Subject: fix typo and missing ~/tmp dir --- sendmail | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sendmail b/sendmail index 473231c..150cd96 100755 --- a/sendmail +++ b/sendmail @@ -2,12 +2,13 @@ # msmtpq has weird exit semantics. if it fails to send, it returns a bunch of # text which emacs treats as "failure to send" but msmtpq treats as "added to -# outbot to send later". i guess exit code is not respected by emacs? anyway, +# outbox to send later". i guess exit code is not respected by emacs? anyway, # msmtpq does not drop messages, but saves them in a queue, so we can just fire # and forget. next time we get online, msmtpq will send all the messages in the # queue. d=$(date) +mkdir -p ~/tmp echo $d >> ~/tmp/msmtp.log echo $d >> ~/tmp/msmtp.err msmtpq "$@" >> ~/tmp/msmtp.log 2> ~/tmp/msmtp.err -- cgit v1.2.3