inews(1)

NAME
inews - Send a Usenet article.

SYNOPSIS
inews [ -D ] [ -O ] [ -S ] [ input ]

DESCRIPTION
inews reads a Usenet news article including headers from the named file or standard input if no file is given. It adds some headers and performs some checks. If the article fails the checks (e.g. the article lacks a body, or has no Newsgroups: line), the article is rejected. Otherwise the article is posted.

OPTIONS

-D  Debug mode. inews adds header lines and performs some checks. If the checks are successful, the article is printed on the standard output and not posted.

-O  If no Organization: header is found, and a value for organization is specified in noffle.conf(5), inews will add a Organization: header using that value. To suppress this behaviour, use the -O flag.

-h -A -V -W
    For compatibility with inews programs used with other news servers, inews accepts, but ignores, the ``-h'', ``-A'', ``-V'' and ``-W'' flags.

-N  For compatability with inews programs used with other news servers, the ``-N'' flag is treated as the ``-D'' flag.

-S  Normally, if a file named .signature exists in the user's home directory, inews will try to append it to the end of the article. If the file cannot be read, the article will not be posted. If the -S flag is given, .signature will not be added.

NOTES
inews exits with a zero status if the article was successfully posted, or a non-zero status if a check fails or posting fails.

This inews is supplied with the NOFFLE news server. It is, in fact, the main noffle(1) executable, and the inews program is just a link to the main noffle program. If the noffle program sees it is being executed under the name inews it adjusts its behaviour accordingly.

FILES
NOFFLE takes its configuration from a configuration file, by default /etc/noffle.conf. For a description of this file, see noffle.conf(5).

SEE ALSO
noffle(1), noffle.conf(5),

AUTHORS
Markus Enzenberger <markus.enzenberger@t-online.de>
Volker Wysk <volker.wysk@student.uni-tuebingen.de>
Jim Hague <jim.hague@acm.org>
Uwe Hermann <uh1763@bingo-ev.de> 1998-2000.