NAME
checkhost - checks that request file is from a permitted host
SYNOPSIS
checkhost request_file [verbose]
DESCRIPTION
checkhost ascertains that the MAILADDR in the specified request file
is from a host which appears in the file `$HOME_DIR/checkhost.config'.
Depending on the entry in checkhost.config, access can be permitted to all
users at a specific host or simply to certain ones. The program also checks
whether the PRIORITY does not exceed the maximum value posted in
checkhost.config. If an offending situation is found, a message is printed to
stdout and the program exits with a non-zero exit code; otherwise no message
is printed and the program exits with a zero exit code. Usually
checkhost is called by the
accepter.csh
The format of checkhost.config is somewhat reminiscent of the .rhosts file in
UNIX. In order to permit universal access by a host lines of the following
format are
used.
hostname[,max_priority]
or
hostname[,max_priority] +
Access can be limited to certain users by appending their names:
hostname user1[,max_priority] ...
where local max_priority may differ from user to users.
The same user can get access from any host (this is potentially dangerous) by
the following
syntax:
+ user1[,max_priority] ...
SEE ALSO
accepter.csh