2.9BSD/usr/src/ucb/sendmail/aux/delivermail.sh

#! /bin/sh
# delivermail hack thanks to Jay Lepreau
echo "Subject: delivermail $*" >/tmp/foo.$$
echo "---------------------------------" >>/tmp/foo.$$
cat /tmp/foo.$$ - | /bin/mail postmaster
rm /tmp/foo.$$