summaryrefslogtreecommitdiff
path: root/sendmail
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-11-27 18:51:08 -0500
committerBen Sima <ben@bsima.me>2020-12-09 20:08:12 -0500
commita302e9fa7b3a94b0797b674ec336c28ffef2bdc7 (patch)
treeeed6d13d01ab2fa97fc92e49d5f2da36d908f3b7 /sendmail
parentb6f69063593258242e32b8c8262e608ce324718c (diff)
Add debugging timestamps
Diffstat (limited to 'sendmail')
-rwxr-xr-xsendmail3
1 files changed, 3 insertions, 0 deletions
diff --git a/sendmail b/sendmail
index 26a174c..473231c 100755
--- a/sendmail
+++ b/sendmail
@@ -7,5 +7,8 @@
# and forget. next time we get online, msmtpq will send all the messages in the
# queue.
+d=$(date)
+echo $d >> ~/tmp/msmtp.log
+echo $d >> ~/tmp/msmtp.err
msmtpq "$@" >> ~/tmp/msmtp.log 2> ~/tmp/msmtp.err
exit 0