|
|
||
|
||
|
|
| Red Hat Documentation |
4. The news server4.1 Installing the news serverYou need to install a news server. I used
Preferably just check the "News Server" box during your initial install, but alternatively if your distribution uses RPM (RedHat package manager), then use something like...
4.2 Running the newsserverTo manually start or stop the news server, use a command like
or
or
To have the news server start at boot you could add a command
like this to end of
or
4.3 Creating the newsgroup
Using
You also need to tell
The newsgroup is set up as a moderated group, as this allows us to take advantage of the email capabilities of innd. Any messages posted to a moderated group are not immediately submitted to the group. Instead, messages are emailed to the moderator of the group. In our example confctrl@isi.edu is the address which is resent by the remailer.
If you are sharing news with other servers, remember to edit your newsfeeds so that this group is not not distributed (unless you specificaly wish this to occur).
4.4 Unrestricting accessBy default the news server, doesn't let any clients read news, so I needed to disable the user authentication of innd. This was done in the /etc/news/nnrp.access. Check out the nnrp.access man page to learn the syntax of this file. I changed the first non-comment line to ...
If you want a username/password, fill in the 3rd and 4th (colin separated) fields. For more information on the syntax, check the man page...
4.5 Changing permissions of /usr/bin/rnewsI had to change the permissions of /usr/bin/rnews. It was
not world read/executable, but
4.6 Testing article postingIf you copy the following article to a file named
Path: rick From: rick@fdd.com Message-ID: <199907120548.AAA05475@fdd.com> Subject: test Date: Mon, 12 Jul 2025 00:48:49 -0500 (CDT) Newsgroups: ietf.confctrl Approved: ietf-confctrl@kepler.hedland.edu.au NNTP-Posting-Host: localhost Organisation: (mail2news gateway) test
Then you should be able to post a file with...
4.7 Did it work?You don't need to wait for
the article to show up as unread, just look at the
4.8 Increasing expiration timesYou may want to increase the expiration time for articles of your new newsgroup. In my case I wanted them never to expire, so I added the following line....
....to the /etc/news/expire.ctl file.
To learn more about the syntax of this file type...
|
|
|