Section: Maintenance Commands (8)Updated: Harold TayLocal indexUp
snntpd - small news server
is a small news server. It needs to be run under inetd or tcpserver,
as root or as the owner of /var/spool/sn.
not fork into the background.
It expects to read and write from and to the network
on descriptors 0 and 1.
is taken to be a logging program, and all log output is piped to it.
is not specified, log messages are directed to descriptor 2.
specifies how long
should wait for input before it gives up and exits.
is in seconds and defaults to 600.
includes it's pid in log output.
Suppress NNTP greeting on startup. This is useful if you want to
perform authentication before running
or want to provide your own greeting, from a wrapper.
POSTING AND POSTING PERMISSIONS
Posts are usually handled externally by the
which is responsible for fine-grain posting control; handling of
control messages; and the ultimate distribution of the posted
permits or denies posting in a very simple manner:
exists, posting is not allowed.
Otherwise, if the environment variable
is not set, posting is not allowed.
is set (to the empty string), posting is generally allowed, and all
POSTed articles are piped to the
script, which has the final say in the matter. The value of
is not currently used, but is reserved.
If this file exists, and is a fifo,
will write the name of a newsgroup into it as that
newsgroup becomes the current one. If the fifo does not exist
will not create it.
If this file exists,
will display its first line and exit. If the file can't be read or
is empty, a default message is displayed. This is useful for
temporarily disabling the news server while you perform any
If this script or program exists, it is invoked instead of
to accept a posted article.
These files really belong to
and it is unfortunate that
has to check for their existence to determine the posting flag for
the LIST command. See
If this file exists, its first line is taken as the
description of that group for use with the LIST NEWSGROUPS command.
is a binary file containing entry times, to support the
is an empty file retained for it's timestamp, to support the
catches SIGHUP, the files
(see below) are checked again, as they are during startup. Other
signals have default behaviour.
for a list of environment variables exported by
The PATH must be set such that
in order to accept postings.
does not include /usr/sbin, /usr/sbin will be appended to it.
This variable helps determine the site-wide posting policy. See
If this value is set, it is taken to be the dotted-quad IP address
of the connecting client. If it is not set,
attempts to derive it for itself, and then set its value.
as above, but for the server's dotted-quad IP.
If this is set and is not empty, the value is used everywhere in place of
the default news spool directory.