summaryrefslogtreecommitdiff
path: root/checkmail
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-11-10 13:00:27 -0800
committerBen Sima <ben@bsima.me>2018-11-10 13:00:27 -0800
commit50fa3c7a8dd65a873e34d04ae9171d2dde592f13 (patch)
tree90bffec01b7c2715449e4e7f89f5e384e71e4ce0 /checkmail
parent923b3d2625568a807a798590f54e15734bb47396 (diff)
checkmail: just use notmuch
Diffstat (limited to 'checkmail')
-rwxr-xr-xcheckmail4
1 files changed, 1 insertions, 3 deletions
diff --git a/checkmail b/checkmail
index c742351..f537158 100755
--- a/checkmail
+++ b/checkmail
@@ -7,9 +7,7 @@ echo "$(date +%Y.%m.%d..%H.%M) $(basename $0)" >> /var/log/ben.cron.log
# Check that we can reach the mail server first
if ping -q -c 1 -W 1 mail.bsima.me >/dev/null
then
- msmtp-queue -r # outbox: send an queued mails
- notmuch new # download new mails (also runs 'mbsync --all')
- eml -n # display new email count
+ notmuch new
else
echo "Could not reach mail server."
exit 1