#! /bin/sh
#
# This program is called from AQgetentry to send a rejection message 
#
# usage: AQreject "destination" "username"

PATH=/aeneas/ftp/archive/bin:/usr/local:/bin:/usr/ucb:/usr/bin
export PATH
WHO="$2"; export WHO
/usr/lib/sendmail -ba "$1" << xxx
Subject: I don't understand your message
From: ATHENA-DIST archive service <archive-server>
In-reply-to: message from $WHO
To: $1

This message comes to you from the archive server at garp!aeneas.mit.edu,
archive-server@ATHENA-DIST.MIT.EDU. It received a message from you that it
was not able to understand. The server is just a dumb program, and it is not
very creative about figuring out what you want.

If you want to learn how to use the archive server, then send it a one-word
message whose contents is the word "help". Remember that the mail address of
the archive server is archive-server@ATHENA-DIST.MIT.EDU, also reachable as
...!#UUCP-NAME#!archive-server

If you want to communicate with a person and not a program, then send mail to
	archive-management@ATHENA-DIST.MIT.EDU
or
	...!#UUCP-NAME#!archive-management

Brian Reid
DEC Western Research Laboratory, Palo Alto, California, USA
xxx
echo "`date`" reject $1 $WHO >> /aeneas/ftp/archive/requestqueue/out.log
