#!/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 smtp-refuser configured.

