From 50fa3c7a8dd65a873e34d04ae9171d2dde592f13 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 10 Nov 2018 13:00:27 -0800 Subject: checkmail: just use notmuch --- checkmail | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'checkmail') 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 -- cgit v1.2.3