Commit | Line | Data |
---|---|---|
ff0ad508 CE |
1 | #/bin/sh |
2 | # | |
3 | # Cause a single email message from stdin to be delivered, after | |
4 | # pausing one second to allow the mail daemon to cope. | |
5 | # | |
6 | # Usage: deliver-once USER | |
7 | # | |
8 | # USER is the person to deliver this email message to. | |
9 | ||
10 | if test -n "$2" || test -z "$1"; then | |
11 | echo Incorrect number of arguments | |
12 | exit 1 | |
13 | fi | |
14 | ||
15 | sleep 1 | |
16 | /usr/sbin/exim4 -bm $1 |