DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T u

⟦454c94133⟧ TextFile

    Length: 3674 (0xe5a)
    Types: TextFile
    Names: »uucp-queue.8«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦bfebc70e2⟧ »EurOpenD3/mail/sendmail-5.65b+IDA-1.4.3.tar.Z« 
        └─⟦f9e35cd84⟧ 
            └─⟦this⟧ »sendmail/uiuc/uucp-queue.8« 

TextFile

.TH UUCP-QUEUE 8 "University of Illinois"
.SH NAME
uucp-queue - enqueue UUCP mail with path expansion
.SH SYNOPSIS
.B uucp-queue
[
.BI "-f" "sender"
] [
.B "-p"
] [
.B "-d"
] [
.B "- uux options"
]
host user [user...]
.SH DESCRIPTION
.I Uucp-queue
is a filter called by
.I sendmail
to build a proper
.I uux
command line for transmitting a letter across the UUCP
network.
.I Sendmail
invokes
.I uucp-queue
with a set of
.I uucp-queue
options,
.I uux
options,
and a
.I host
and
.IR user .
.PP
.I Uucp-queue
accepts several options to modify its behavior.
The
.BI "-f" "sender"
specifies the author of the letter.
This is stored in logfile along with the first hop, and
message size for later analysis.
This allows system administrators to evaluate the 
composition of traffic flowing out of the system,
checking for unusual levels of traffic initiated by
neighboring systems.
The logging option can be disabled at compile time.
.PP
The
.B "-p"
option indicates that the routing database is in 
.I pathalias
format.
.I Pathalias
databases contain routes of
the form ``site!site2!site3!site4!%s''
Each route is a
.BR printf (3)
format string which accepts a 
single string argument for the user portion of the address.
If the
.B "-p"
option is not specified, the user name is merely
appended to the route obtained from the database.
Finally, the
.B "-d"
option indicates that
.I uucp-queue
should enter a debugging mode.
In this mode,
.I uucp-queue
reports on the path it uses and the
.I uux
command line it builds.
No letter is enqueued when in debugging mode.
.PP
.I Uucp-queue
pays no attention to the contents of the letter given to
it by 
.IR sendmail .
The bytes are merely passed along to
.IR uux .
.PP
Options to
.I uucp-queue
are terminated by either a bare `-' option or 
an argument not beginning with `-'.
Any options between a bare `-' and the first non-option
argument are considered options to
.IR uux .
To pass the `-r' and `-z' options to
.IR uux ,
one might use:
.ce 1
uucp-queue - -r -z host user
A typical
.I uucp-queue
command line might look like:
.ce 1
uucp-queue -p - - -r -z -gC host user
This command line says that the routing database is in pathalias
format, that the uux options should be ``- -r -z -gC''
and that the letter is destined for ``user'' on ``host''.
.PP
.I Uucp-queue
gets routes from the ``/usr/local/lib/usemap'' database.
An attempt is made to find a route to the full hostname.
If such a route can not be found,
.I uucp-queue
tries partial matches.
If a route to ``site.some.domain'' is not found,
.I uucp-queue
will try ``.some.domain'' and ``.domain''.
If such ``partial routes'' are found,
the user field is appropriate modified to include the
full site name.
.SH BUGS
4.1 BSD /bin/rmail only accepts one recipient.
This makes
.IR "uucp-queue" "'s"
ability to handle multiple recipients pretty much worthless.
.PP
With partial routes, it probably isn't always true that
we want to change ``user'' to ``fulltarget!user''.
It seems to work though.
.PP
The partial route matching and fully qualified domain name
schemes used here work with a modified version of pathalias.
Vanilla pathalias might not provide all of the necessary
features.
.PP
The partial route matching algorithms aren't used when
this program is used in conjunction with
.IR router (8).
This is not necessarily a bug.
.SH FILES
.PD 0
.TP 30
/usr/local/lib/usemap
Raw routing database.
.TP 30
/usr/local/lib/usemap.{dir,pag}
Compiled routing database.
.PD
.SH SEE ALSO
pathalias(1),
router(8),
sendmail(8),
uux(1)
.SH AUTHOR
.nf
Ray Essick
Department of Computer Science
University of Illinois at Urbana-Champaign
Urbana, IL
essick@cs.uiuc.edu, uiucdcs!essick
.fi