PROCESS-UUCP(8)

NAME
process-uucp - generate MMDF mail style domain and channel tables from pathalias output

SYNOPSIS
process-uucp [ -r relay-host ] [ -c host ... ] [ -d domain ... ] file ...

DESCRIPTION
Process-uucp(8) takes output from pathalias and generates tables one would want to use within MMDF for routing UUCP based mail. The two type of tables which can be generated are channel tables and domain tables.

By default, the domain tables contain entries of the form:
    domain: domain.upper.domain
And channel table entries are of the form:
    domain.upper.domain: path!path!path!%s
These tables can be modified by the following options:

-r  This option causes domain entries to be changed to have the form:
        domain: domain.upper.domain, relay-host
    Locally I use this option in generating the original table, then
    when installing the table I run the following sed command:
        sed "s/, *`hostname`.*$//" <table.new >table
    which will remove the ", relay-host" stuff when we're installing the table on "relay-host". We have one host here which interfaces us to the UUCP network, and that host is what is listed as relay-host.

-c  This option causes there to be generated many channel tables depending on the first host of the path. The intention is to have authorization set up so that channels where we pay out money to make the UUCP connection can be restricted from people as necessary. However, I have not managed to understand authorization as yet and this is not used.

-d  This option selects domains for which to make extra domain tables. Domain entries for domains not listed in a -d option are put into wrkdmn.uucp-top with an entry like:
        domain.upper.domain: domain.upper.domain
    Sometimes it is desired to have other domains seperated out into their own tables. If -d is used, entries in these tables will be as described earlier.

NOTE that a wrkdmn.uucp-uucp file is not automatically created.

FILES
wrkchn.uucp-uucp, wrkchn.uucp-<host>, wrkdmn.uucp-top, wrkdmn.uucp-<domain>

SEE ALSO
pathalias(1), the MMDF manual pages and installation documents,
<mmdf-sources>/src/shellfiles/RUN-UUCP, <mmdf-sources>/src/shellfiles/PROCESS-UUCP

AUTHOR
David Herron -- Resident E-Mail Hack
University of Kentucky
Mathematical Sciences
Patterson Office Tower rm 907
Lexington, KY 40506

david@ms.uky.edu, {rutgers,uunet,cbosgd}!ukma!david, david@ukma.bitnet

BUGS
When writing records to files, all opens are done in "append" mode. This means that if you do not remove the files before you run process-uucp then you probably won't get what you really want.

The file names chosen are arguably silly. However for my justification of the file names, see the comments in the source.