chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
pull-mail: fetchmail returns 1 if there was no mail to fetch. Boggle.
[bin.git]
/
pull-mail
1
#! /bin/sh
2
3
if ! [ -e ~/.nomail ]; then
4
date >> ~/.fetchmail/log
5
fetchmail >> ~/.fetchmail/log
6
bsmtp-pull gluck
7
fi
8
9
exit 0