HCoop delivery scripts
[hcoop/zz_old/config/exim4-hopper.git] / deliver-once
CommitLineData
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
10if test -n "$2" || test -z "$1"; then
11 echo Incorrect number of arguments
12 exit 1
13fi
14
15sleep 1
16/usr/sbin/exim4 -bm $1