diff options
author | Ben Sima <ben@bsima.me> | 2018-11-10 13:00:27 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-11-10 13:00:27 -0800 |
commit | 50fa3c7a8dd65a873e34d04ae9171d2dde592f13 (patch) | |
tree | 90bffec01b7c2715449e4e7f89f5e384e71e4ce0 /checkmail | |
parent | 923b3d2625568a807a798590f54e15734bb47396 (diff) |
checkmail: just use notmuch
Diffstat (limited to 'checkmail')
-rwxr-xr-x | checkmail | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |