5 Setting Up News as a Local Reader/Server

5.9 Creating newsgroups on your system

Now that News is up and running, you'll need to create the newsgroups you plan to carry on your system. By default, News will not create new groups to accommodate incoming items which have unknown newsgroup names in their Newsgroups: header. This can be overridden by specifying the /CreGrp qualifier to the Add File command, but this is generally a bad idea, since it will result in the creation of many bogus newsgroups in response to typographic errors or pranks in the headers of incoming items. In fact, it's a good idea in general to manually review any group creation or deletion, so that you don't suddenly find your system in a mess because of bad network control messages.

About now, you may be thinking, with a touch of panic, "I'm planning to carry 2500 newsgroups, and I have to create every one of them BY HAND???" Relax - all is not lost. Since most of the newsgroups you're carrying probably fall into established hierarchies, you can take advantage of a mechanism known as a checkgroups message to streamline newsgroup creation. A checkgroups message is a posting which contains a listing of newsgroup names and titles (one line descriptions of the groups' purposes), as well as information identifying moderated newsgroups. When this posting is fed to News as a control message, it will automatically create a DCL procedure containing the commands necessary to create the groups listed in the posting, and will mail this procedure to the local address USENET. A template for a checkgroups message which covers the Usenet groups is regularly posted to the newsgroup news.announce.newgroups (see if you can borrow temporary access to news on a system which is already up and running). If you are setting up your system to match the newsgroups carried on another system running News, you can ask someone on that system to execute the News command Extract/Directory=NewsGroupTitles to obtain a list of newsgroups you can use as the basis for a checkgroups message. In addition, the administrative newsgroups for various other hierarchies often carry checkgroups postings, or lists of newsgroups which can easily be edited into a checkgroups message, following the pattern of the one from news.announce.newgroups. Using this posting as an example, here is how to create the groups you want on your system:

Once you have done this for each hierarchy you will carry, you should manually create any newsgroups not included in checkgroups messages (e.g. local newsgroups).

This completes the setup of your local system. It is now ready to receive items from incoming feeds, and to allow local users to read and post items.

previous: 5.8 Running News for the first time
next: 5.10 Setting up the NNTP server
Table of Contents