old-www/LDP/nag2/x-087-2-cnews.misc.html

383 lines
6.1 KiB
HTML

<HTML
><HEAD
><TITLE
>Miscellaneous Files</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.57"><LINK
REL="HOME"
TITLE="Linux Network Administrators Guide"
HREF="index.html"><LINK
REL="UP"
TITLE="C News"
HREF="x-087-2-cnews.html"><LINK
REL="PREVIOUS"
TITLE="Expiring News"
HREF="x-087-2-cnews.explist.html"><LINK
REL="NEXT"
TITLE="Control Messages"
HREF="x-087-2-cnews.control.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Linux Network Administrators Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x-087-2-cnews.explist.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 21. C News</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x-087-2-cnews.control.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="X-087-2-CNEWS.MISC"
>21.7. Miscellaneous Files</A
></H1
><P
>There are a number of files that control the behavior of C News, but are not
essential. All of them reside in <TT
CLASS="FILENAME"
>/etc/news</TT
>. We describe
them briefly here:</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="FILENAME"
>newsgroups</TT
></DT
><DD
><P
>&#13;
This is a companion file of <TT
CLASS="FILENAME"
>active</TT
> that contains a list
of each newsgroup name along with a one-line description of its main topic.
This file is automatically updated when C News receives a
<SPAN
CLASS="SYSTEMITEM"
>checknews</SPAN
> control message.</P
></DD
><DT
><TT
CLASS="FILENAME"
>localgroups</TT
></DT
><DD
><P
>
If you have a lot of local groups, you can keep C News from complaining about
them each time you receive a <TT
CLASS="LITERAL"
>checkgroups</TT
> message by putting their names and descriptions in this file, just as they would
appear in <TT
CLASS="FILENAME"
>newsgroups</TT
>.</P
></DD
><DT
><TT
CLASS="FILENAME"
>mailpaths</TT
></DT
><DD
><P
>&#13;
This file contains the moderator's address for each moderated group. Each
line contains the group name followed by the moderator's email address
(offset by a tab).</P
><P
>Two special entries are provided as defaults:
<SPAN
CLASS="SYSTEMITEM"
>backbone</SPAN
> and
<SPAN
CLASS="SYSTEMITEM"
>internet</SPAN
>. Both provide, in bang-path
notation, the path to the nearest backbone site and the site that understands
RFC-822 style addresses (<SPAN
CLASS="SYSTEMITEM"
>user@host</SPAN
>).
The default entries are:
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
>internet backbone</PRE
></TD
></TR
></TABLE
></P
><P
>You do not have to change the <SPAN
CLASS="SYSTEMITEM"
>internet</SPAN
> entry if you have
<B
CLASS="COMMAND"
>exim</B
> or <B
CLASS="COMMAND"
>sendmail</B
> installed; they
understand RFC-822 addressing.</P
><P
>The <SPAN
CLASS="SYSTEMITEM"
>backbone</SPAN
> entry is used whenever a
user posts to a moderated group whose moderator is not listed explicitly. If
the newsgroup's name is <SPAN
CLASS="SYSTEMITEM"
>alt.sewer</SPAN
>
and the <SPAN
CLASS="SYSTEMITEM"
>backbone</SPAN
> entry contains
<SPAN
CLASS="SYSTEMITEM"
>path!%s</SPAN
>, C News will mail the
article to <SPAN
CLASS="SYSTEMITEM"
>path!alt-sewer</SPAN
>, hoping
that the backbone machine is able to forward the article. To find out which
path to use, ask the news-admin at the site that feeds you. As a last resort,
you can also use <SPAN
CLASS="SYSTEMITEM"
>uunet.uu.net!%s</SPAN
>.</P
></DD
><DT
><TT
CLASS="FILENAME"
>distributions</TT
></DT
><DD
><P
>&#13;This file is not really a C News file, but is used by some newsreaders
and <B
CLASS="COMMAND"
>nntpd</B
>. It contains the list of distributions recognized
by your site and a description of their (intended) effects. For example,
Virtual Brewery has the following file:
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
>world everywhere in the world
local Only local to this site
nl Netherlands only
mugnet MUGNET only
fr France only
de Germany only
brewery Virtual Brewery only</PRE
></TD
></TR
></TABLE
></P
></DD
><DT
><TT
CLASS="FILENAME"
>log</TT
></DT
><DD
><P
>&#13;This file contains a log of all C News activities. It is culled regularly by
running <B
CLASS="COMMAND"
>newsdaily</B
>&#8201;; copies of the old log files are kept in
<TT
CLASS="FILENAME"
>log.o</TT
>, <TT
CLASS="FILENAME"
>log.oo</TT
>, etc.</P
></DD
><DT
><TT
CLASS="FILENAME"
>errlog</TT
></DT
><DD
><P
>This is a log of all error messages created by C News. These messages do not include
logs of articles junked due to being sent to an invalid wrong group or other
user errors. This file is mailed to the newsmaster
(<SPAN
CLASS="SYSTEMITEM"
>usenet</SPAN
> by default)
automatically by <B
CLASS="COMMAND"
>newsdaily</B
> if it is not found empty.</P
><P
><TT
CLASS="FILENAME"
>errlog</TT
> is cleared by <B
CLASS="COMMAND"
>newsdaily</B
>.
<TT
CLASS="FILENAME"
>errlog.o</TT
> keeps old copies and companions.</P
></DD
><DT
><TT
CLASS="FILENAME"
>batchlog</TT
></DT
><DD
><P
>This file logs all runs of <B
CLASS="COMMAND"
>sendbatches</B
>. It is usually of scant
interest. It is also attended by <B
CLASS="COMMAND"
>newsdaily</B
>.</P
></DD
><DT
><TT
CLASS="FILENAME"
>watchtime</TT
></DT
><DD
><P
>This is an empty file created each time <B
CLASS="COMMAND"
>newswatch</B
> runs.</P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x-087-2-cnews.explist.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x-087-2-cnews.control.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Expiring News</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="x-087-2-cnews.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Control Messages</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>