#!/bin/sh

TMPFILE=`tempfile` || exit 1

echo "What is the name of the person who handles spam blocking?"
read NAME
echo $NAME > $TMPFILE

echo "What is that person's phone number?"
read PHONE
echo $PHONE >> $TMPFILE

mv $TMPFILE /etc/smtp-refuser.conf

echo You must also have rules to block specific sites in your
echo tcpd hosts.allow file.  Please see the example file in
echo /usr/share/doc/smtp-refuser/examples/.
echo ""
echo Press enter to continue...
read JUNK

unset NAME PHONE JUNK

