diff options
author | Ben Sima <ben@bensima.com> | 2025-03-27 21:29:41 -0400 |
---|---|---|
committer | Ben Sima <ben@bensima.com> | 2025-03-27 21:29:41 -0400 |
commit | 7cf00fd9819f663cd411f1079cbbd22127ec7941 (patch) | |
tree | bcc04fa2a8c615571e0cdf267f0795f2ce187435 /sendmail | |
parent | f80bbb901d240bca887ec82a96e4ec861c516506 (diff) |
fix typo and missing ~/tmp dir
Diffstat (limited to 'sendmail')
-rwxr-xr-x | sendmail | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |