Two or more channels are needed for the IMTA to communicate using UUCP. A single common channel is used for all incoming messages, no matter from what system they originated. An additional outbound 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.
The entry for the incoming message channel should resemble the following (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 uuhost.bravo.com and its UUCP name is simply uuhost. A channel definition for this system might be:
uucp_uuhost uucp master
uuhost-uucp
uuhost.bravo.com uuhost
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:
uucp_second uucp master daemon uuhost
uuhost-second
uuhost.bravo.com uuhost
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_uuhost uucp master
uuhost
Rewrite rules should be set up to point at the proper outgoing channel using the channel's official host name. For example
uucp.ymir.university.edu $E$U@ymir
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.
The IMTA uucp_slave program is used to replace the rmail program on UNIX. You should rename the original rmail program (for example, to rmail.org) and create a symbolic link that links rmail to /opt/SUNWmail/imta/lib/uucp_slave as follows:
# cd /usr/bin
# mv rmail rmail.org
# ln -s /opt/SUNWmail/imta/lib/uucp_slave rmail