RELAYNEWS(8)

NAME
relaynews - emulate C News program to send Usenet articles

SYNOPSIS
relaynews [ -i ] [ -n ] [ -r ] [ -s ] [ -dfhlmt ] [ -o days ] [ -x exclusion ] [ -u ] [ input ]

DESCRIPTION
Relaynews is an emulation of the C News program of the same name. It parses the flags, and then execs inews(1) with the ``-h'' flag to actually check and forward the article to the campus NNTP server.

If the ``-r'' flag is used, relaynews will redirect its standard output and error to the news log and error log files. If the ``-i'' flag is used, then only standard output will be redirected.

The ``-n'' and ``-o'' flags are ignored because their actions are handled by innd(8). The ``-u'' flag is always ignored.

If the ``-x'' flag is used, it is passed on to inews.

The ``-s'' flag is ignored, but note that relaynews always exits with the exit status of inews, which indicates whether or not the article was posted successfully.

Note that unlike the C News relaynews, this program cannot accept more than one input file. Also, this program does not spool its article if the server is unavailable. If spooling is needed, then the article should be prepared with all the headers and rnews(1) should be used instead.

HISTORY
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews.

SEE ALSO
inews(1), innd(8), rnews(1).