#! /bin/sh
# senduuname - mail `uuname` to sender identified in stdin's headers
# =()<. ${NEWSCONFIG-@<NEWSCONFIG>@}>()=
. ${NEWSCONFIG-/usr/local/lib/news/config}
export NEWSCTL NEWSBIN NEWSARTS
PATH=$NEWSCTL/bin:$NEWSBIN/relay:$NEWSBIN:$NEWSPATH ; export PATH
umask $NEWSUMASK

SENDER="`newsreply`"
(echo "Subject: response to your senduuname"; echo ""; uuname) | mail "$SENDER"
echo "uuname output sent to $SENDER" | mail $NEWSMASTER
