chiark
/
gitweb
/
~cjwatson
/
bin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
008357a
)
pull-mail: New script to encapsulate what my crontab needs to do to pull
author
Colin Watson
<cjwatson@chiark.greenend.org.uk>
Fri, 25 Oct 2002 12:32:28 +0000
(12:32 +0000)
committer
Colin Watson
<cjwatson@chiark.greenend.org.uk>
Fri, 25 Oct 2002 12:32:28 +0000
(12:32 +0000)
down mail.
pull-mail
[new file with mode: 0644]
patch
|
blob
diff --git a/pull-mail
b/pull-mail
new file mode 100644
(file)
index 0000000..
2c11b99
--- /dev/null
+++ b/
pull-mail
@@ -0,0
+1,10
@@
+#! /bin/sh
+set -e
+
+if ! [ -e ~/.nomail ]; then
+ date >> ~/.fetchmail/log
+ fetchmail >> ~/.fetchmail/log
+ bsmtp-pull gluck
+fi
+
+exit 0