Don't you hate it when you figure out your own question? :)
> I was wondering if there was a wrapper or some other
> add-on that makes linux think "mail" is installed, but in fact just
> interprets "mail" commands to qmail commands.
>
> cat $TMPDIR/checkreport.$$ | $MAIL -s "$HOSTNAME $DATE ACTIVE SYSTEM
> ATTACK!" $SYSADMIN
I guess you can make qmail act like sendmail, but sendmail still isn't
/bin/mail. :) But in /var/qmail/bin there are plenty of other
"wrapper" type programs. Here's the same code from above, modified to
work with /var/qmail/bin/mailsubj, which takes input from stdin and allows
you to specify a subject and a recipient.
cat $TMPDIR/checkreport.$$ | $MAIL "$HOSTNAME $DATE ACTIVE SYSTEM ATTACK!"
$SYSADMIN