summaryrefslogtreecommitdiff
path: root/checkmail
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-11-07 12:17:19 -0800
committerBen Sima <ben@bsima.me>2018-11-07 12:17:19 -0800
commit923b3d2625568a807a798590f54e15734bb47396 (patch)
tree5e9dc43fa0fd77abad7aec7c230533a267172334 /checkmail
parent1ec7b6c43bc264798adec51efcfed7060c9d9c83 (diff)
Update checkmail script to use notmuch/mbsync
Diffstat (limited to 'checkmail')
-rwxr-xr-xcheckmail2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkmail b/checkmail
index 979942b..c742351 100755
--- a/checkmail
+++ b/checkmail
@@ -8,7 +8,7 @@ echo "$(date +%Y.%m.%d..%H.%M) $(basename $0)" >> /var/log/ben.cron.log
if ping -q -c 1 -W 1 mail.bsima.me >/dev/null
then
msmtp-queue -r # outbox: send an queued mails
- offlineimap # download new mails
+ notmuch new # download new mails (also runs 'mbsync --all')
eml -n # display new email count
else
echo "Could not reach mail server."