Configuring Taylor UUCP

(Note : This tutorial covers Taylor config file format. If you are using HDB or V2 config file format, refer to a book like "Managing UUCP and Usenet" by O'Reilly and Associates.)

A Taylor config file is called sys and lives wherever you put it ($(prefix)/conf/uucp by default).

Here is a sample config file :

#
# Demo Taylor UUCP config file
#
########################################
#
# Port settings
#
# Some sort of abitrary name for this port (ie. if you have two modems you
# might call them "banksia" and "maestro" or whateveer)
#
port type modem
#
# Device and speed of your modem
#
port device /dev/cua2
port baud 38400
#
# Modem chat script - how to dial the number - insert any modem setup commands
# here.  \D inserts the phone number (defined below for each system)
#
port dialer chat "" ATZ\r\d\c OK ATM0L0D\D CONNECT 
#
# If the modem returns any of these, consider the connection attempt a
# failure.  \s is a space.
#
port dialer chat-fail BUSY
port dialer chat-fail NO\sCARRIER
#
# What to send to the modem when we successfully or unsuccessfully finish.
#
port dialer complete \d\d+++\dATH\r\c
port dialer abort \d\d+++\d\dATH\r\c
########################################
#
# Chat script once we are connected
#
# \L inserts the login name (defined below for the system)
# \P inserts the password (also defined below)
#
chat "" \r\c ogin:-\n\n-ogin:-\n\n-ogin: \L word: \P
########################################
#
# File delivery stuff
#
# Make sure this is setup properly, or you could suffer from security problems !
#
# Local users can send any files (via the "uucp" command) from
# ~ (which means /usr/spool/uucppublic)
#
local-send ~
#
# The remote system may be sent any files from these directories.
#
remote-send ~ /usr/spool/ftp/pub
#
# When a local user requests a file, it can be received into these directories
#
local-receive ~
#
# When a remote user sends a file, it can be received into these directories
#
remote-receive ~
#
# Can the remote system request and send files ?
#
request yes
#
# Upon making (or receiving) a call, allow file transfers queued up for the
# remote systems
#
transfer yes
########################################
#
# These commands can be executed by the remote system
# The commands can live in this path
#
commands rnews rmail uucp
command-path /bin /usr/bin /usr/sbin
########################################
#
# We use the following order of preference to choose the transfer protocol.
#
# 'g' is the lowest common denominator for protocols.
# 'i' is the default if both systems are running Taylor UUCP, but it often has
# problems, so we force use of the 'g' protocol here.
#
protocol g
#
# 'g' protocol uses 64 byte packets by default.  This is sub-optimal, so we
# use something more useful like 1k packets
#
protocol-parameter g packet-size 1024
protocol-parameter g remote-packet-size 1024
########################################
#
# System definitions
#
#
# System name
#
system core
#
# Login and password info
#
call-login YourLogin
call-password YourPassword
#
# What times are we allowed to call ?
#
time any
#
# Phone number ?
#
phone YourFeedSiteNumber