Figure 21.1: News flow through relaynews

Installation
C News should be available in a prepackaged format for any modern Linux distribution, so installation will be easy. If not, or if you want to install from the original source distribution, then of course you can.[126] No matter how you install it, you will need to edit the C News configuration files. Their formats are described in the following list:
The
Not usually edited by the administration; contains directions for handling articles in each newsgroup the site handles.
This file should contain your organization's name, for example, 'Virtual Brewery, Inc.' On your home machine, enter 'private site,' or anything else you like. Most people will not consider your site properly configured if you haven't customized this file.
This file is a list of all newsgroups, with a one-line description of each one's purpose. These descriptions are frequently used by your newsreader when displaying the list of all groups to which you are subscribed.
Your site's mail name, e.g.,
Your site's name for news purposes. Quite often, the UUCP site name is used, e.g.,
You should probably edit this file to reflect your preferred expiration times for special newsgroups. Disk space may play an important role in your choices.
To create an initial hierarchy of newsgroups, obtain
# cp active active.old
# sed 's/ [0-9]* [0-9]* / 0000000000 00001 /' active.old › active
# rm active.old
The second command invokes the sed stream editor. This invocation replaces two strings of digits with a string of zeroes and the string 000001, respectively.
Finally, create the news spool directory and the subdirectories used for incoming and outgoing news:
# cd /var/spool
# mkdir news news/in.coming news/out.going news/out.master
# chown -R news.news news
# chmod -R 755 news
If you're using precompiled newsreaders sourced from a different distribution to the C News server you have running, you may find that some expect the news spool in
# ln -sf /usr/spool/news /var/spool/news
Now you are ready to receive news. Note that you don't have to create the individual newsgroup spool directories. C News automatically creates spool directories for any newsgroup it receives an article for, if one doesn't already exist.
In particular, this happens to
C News needs a user to send error messages and status reports to. By default, this is
While you're hacking
The sys File
The
The
ME:all/all::
You also have to add a line for each site to which you feed news. Each line looks like this:
Entries may be continued across newlines using a backslash (
This is the name of the site the entry applies to. One usually chooses the site's UUCP name for this. There has to be an entry for your site in the
The special site name