PMDF System Manager's Guide


Previous Contents Index

25.2.1 Setting Up the Channel

Two or more channels are needed for PMDF on UNIX to communicate using UUCP. A single common channel is used for all incoming messages, no matter from what system they originated. An additional channel is needed for each system connected via UUCP. The incoming message channel is slave-only and should never have any messages queued to it. The outgoing message channels are master-only.

25.2.1.1 Adding the Channel to the Configuration File

The entry for the incoming message channel should look like this (do not use a different channel name):


uucp_gateway uucp slave 
uucp-gateway

Entries for outgoing UUCP message channels will vary depending on the name of the system to which the channel connects. For example, suppose the remote system's official name is YMIR.CLAREMONT.EDU and its UUCP name is simply ymir. A channel definition for this system might be:


uucp_ymir uucp master 
ymir-uucp 
ymir.claremont.edu ymir 

In this case the name of the remote host to which the channel connects is derived from the channel name. When a second channel connecting to the same remote host is needed, it can be defined as follows:


uucp_second uucp master daemon ymir 
ymir-second 
ymir.claremont.edu ymir 

In this case the daemon channel keyword has been used to explicitly specify the name of the remote system to which the channel connects.

If the official name and UUCP name are the same, ymir, the entry can be simplified:


uucp_ymir uucp master 
ymir 

Rewrite rules should be set up to point at the proper outgoing channel using the channel's official host name.

25.2.1.2 Setting Up the Master Program

Once the UUCP channels have been added to the configuration file, the UUCP master program should be ready to use. No additional log, script or option files are needed.

25.2.1.3 Setting Up the Slave Program

The PMDF uucp_slave program is used to replace the rmail program on UNIX. You should rename the original rmail program to, e.g., rmail.org , and create a symbolic link that links rmail to /pmdf/bin/uucp_slave as follows:


# cd /usr/bin
# mv rmail rmail.org
# ln -s /pmdf/bin/uucp_slave rmail


Previous Next Contents Index