#!/bin/sh
#
# this is a simple shell script that we put in place to replace
# the shell in the prog mailer in sendmail.cf. if someone invokes
# prog, somehow, this will mail us a copy of what they attempted
# to invoke.
#
(
	echo This program was invoked as a shell script by sendmail
	echo running on the firewall, with arguments:
	echo  $*
	echo
	echo Perhaps this may indicate an attempt on someones part
	echo to trigger a sendmail security hole. Below is the message.
	echo This message generated by sendmail and /usr/local/etc/progmailer
	cat
) | /usr/ucb/mail -s "program execution" root
