/usr/doc/inn-1.4unoff3-2)
news user.
su news.
/var/lib/news (this is
where your history file, active file, active.times and newsgroups
file go).
cat upstream.active | awk 'amp;#123; printf("%s 000000000 000000000 %s\n", $1, $4)
amp;#125;' > active
(All on one line.)
000000000's
in it.
newsgroups file,
which contains descriptions of the active newsgroups.
This file also should exist in the /var/lib/news
subdirectory.
/var/lib/news subdirectory.
/etc/news subdirectory.
expire.ctl file, which is used by
the expire program.
expire.ctl file may look like this:
/remember/:14
*:A:3:4:5
newsfeeds file.
This file indicates how articles should be sent to upstream or downstream
sites. The newsfeed file is sensitive to typos, so be careful.
ME\
:*,!control,!junk,!rookie.*::\
redhat.com\
:*,!control,!junk\
:Tf,Wnm:news.redhat.com
nnrp.access file allows newsreader clients access
to the news server.
nnrp.access:
*.rookie.com:Read Post:::*
nnrp.access file.
hosts.nntp file:
news.redhat.com
blue.redhat.com
green.rookie.com
organization: Top Server
server: green.rookie.com
domain: rookie.com
fromhost: green.rookie.com
moderatormailer: %s@uunet.uu.net
pathhost: green.rookie.com
print \$3. This
should be changed to print \$4.
redhat.com:blue.redhat.com::
blue.redhat.com::
news.redhat.com::
news.daily script gets run once a day in order to be
articles get expired and such.
6 4 * * * /usr/lib/news/bin/news.daily > /dev/null 2>&1 &
/etc/rc.d/rc.news and change
DOINNWATCH=false to DOINNWATCH=true
turned on/, you should
start getting articles. Examine the /var/log/messages
file to see how things are going. Since the user news
will send messages to itself, you will want to edit the
/etc/aliases file so that messages sent to news get sent
to your user account.
/usr/lib/news/bin,
and su to news. Run inncheck -perms and
check to see if any permissions need to be changed.
ME: can't open file,
make sure the news user has read or write access to that file.