|
|
You can configure UUCP to use TCP as its transport protocol. This is usually done to transfer mail to and from remote systems that do not support SMTP.
To configure UUCP to use a CS dialer:
#CS - - - CSso that it reads:
CS - - - CS
remotesys Any CS,e - -,listen:10103This will try to establish a connection with the listener on the remote system, remotesys, using the service number 10103.
The name remotesys must be resolvable to an IP address.
LOGNAME=nuucpwhich is equivalent to:
LOGNAME=nuucp \
MACHINE=other \
REQUEST=no \
SENDFILES=call \
READ=/var/spool/uucppublic \
WRITE=/var/spool/uucppublic \
AUTH=no \
COMMANDS=rmail
The following entries would permit extremely liberal access by
nuucp, but only from remotesys:
LOGNAME=nuucp \
MACHINE=remotesys \
REQUEST=yes \
SENDFILES=yes \
READ=/ \
WRITE=/ \
COMMANDS=all
MACHINE=other \
REQUEST=no \
SENDFILES=call \
READ=/var/spool/uucppublic \
WRITE=/var/spool/uucppublic \
COMMANDS=rmail
In this example,
the LOGNAME=nuucp entry is only suitable for initial testing.
You should subsequently restrict the settings for COMMANDS,
READ, REQUEST, SENDFILES,
and WRITE to close any potential security holes.