control.ctl(5)


NAME

   control.ctl - specify handling of Usenet control messages

DESCRIPTION

   The  file  /etc/news/control.ctl  is  used  to determine what action is
   taken  when  a  control  message  is  received.   It  is  read  by  the
   parsecontrol  script, which is called by all the control scripts.  (For
   an explanation of how the control scripts are invoked, see innd(8).)

   The file consists of a series of lines; blank lines and lines beginning
   with  a  number  sign  (``#'') are ignored.  All other lines consist of
   four fields separated by a colon:
          message:from:newsgroups:action

   The first field is the name of the  message  for  which  this  line  is
   valid.   It  should  be  either the name of the control message, or the
   word ``all'' to mean that it is valid for all messages.

   The second field is  a  shell-style  pattern  that  matches  the  email
   address  of  the  person posting the message.  (The poster's address is
   first converted to lowercase.)  The matching is done using the  shell's
   case statement; see sh (1) for details.

   If  the  control  message is ``newgroup'' or ``rmgroup'' then the third
   field specifies the shell-style pattern that must match the group being
   created  or  removed.   If  the control message is of a different type,
   then this field is ignored.

   The fourth field specifies what action to take if this line is selected
   for the message.  The following actions are understood:

   doit   The action requested by the control message should be performed.
          In most cases the control script will also send mail to usenet.

   doifarg
          If the control message has an argument, this  is  treated  as  a
          ``doit''  action.   If no argument was given, it is treated as a
          ``mail'' entry.  This is used in ``sendsys'' entries  script  so
          that  a site can request its own newsfeeds(5) entry by posting a
          ``sendsys  mysite''  article.   On  the  other   hand,   sendsys
          ``bombs'' ask that the entire newsfeeds file be sent to a forged
          reply-to address; by using ``doifarg'' such messages will not be
          processed automatically.

   doit=file
          The  action  is  performed,  but  a  log entry is written to the
          specified log file, file.  If file is the word ``mail'' then the
          record  is mailed.  A null string is equivalent to /dev/null.  A
          pathname that starts with a  slash  is  taken  as  the  absolute
          filename  to use as the log.  All other pathnames are written to
          /var/log/news/file.log.  The log is  written  by  writelog  (see
          newslog(8)).

   drop   No action is taken; the message is ignored.

   log    A  one-line log notice is sent to standard error.  Innd normally
          directs this to the file /var/log/news/errlog.

   log=file
          A log entry is written to the specified log file, file, which is
          interpreted as described above.

   mail   A mail message is sent to the news administrator.

   Lines are matched in order; the last match found in the file is the one
   that is used.  For example, with the following three lines:
          newgroup:*:*:drop
          newgroup:tale@*.uu.net:comp.*|misc.*|news.*|rec.*|sci.*|soc.*|talk.*:doit
          newgroup:kre@munnari.oz.au:aus.*:mail
   A newgroup coming from ``tale'' at a UUNET machine will be  honored  if
   it  is in the mainstream Usenet hierarchy.  If ``kre'' posts a newgroup
   message creating ``aus.foo'',  then  mail  will  be  sent.   All  other
   newgroup messages are ignored.

HISTORY

   Written  by  Rich  $alz <rsalz@uunet.uu.net> for InterNetNews.  This is
   revision 1.8, dated 1996/09/06.

SEE ALSO

   innd(8), newsfeeds(5), scanlogs(8).

                                                            CONTROL.CTL(5)


More Linux Commands

manpages/gnutls_x509_crq_get_version.3.html
gnutls_x509_crq_get_version(3) - API function (Man Page)....
This function will return the version of the specified Certificate request. RETURNS version of certificate request, or a negative error code on error. REPORTING

manpages/XtIsWMShell.3.html
XtIsWMShell(3) - obtain and verify a widget's class.........
The XtClass function returns a pointer to the widgets class structure. The XtSuperclass function returns a pointer to the widgets superclass class structure. Th

manpages/xdg-user-dirs-update.1.html
xdg-user-dirs-update(1) Update XDG user dir configuration...
xdg-user-dirs-update updates the current state of the users user-dirs.dir. If none existed before then one is created based on the system default values, or fal

manpages/pygmentize.1.html
pygmentize(1) highlights the input file - Linux manual page
Pygments is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify sourc

manpages/netcat.1.html
netcat(1) - arbitrary TCP and UDP connections and listens...
The nc (or netcat) utility is used for almost anything involving TCP or UDP. Open TCP connections, send UDP packets, listen on arbitrary TCP and UDP ports, scan

manpages/geocpset.1.html
geocpset(1) adds control points based on geometric position
geocpset is a tool for panoramas which contains featureless images, e.g. sky images. In this images a control point detector does not find control points. geocp

manpages/pam_issue.8.html
pam_issue(8) - PAM module to add issue file to user prompt
pam_issue is a PAM module to prepend an issue file to the username prompt. It also by default parses escape codes in the issue file similar to some common getty

manpages/Mail::SPF::Mech::IP4.3pm.html
Mail::SPF::Mech::IP4(3pm) - SPF record "ip4" mechanism class
An object of class Mail::SPF::Mech::IP4 represents an SPF record mechanism of type ip4. Constructors The following constructors are provided: new(%options): ret

manpages/Tcl_DiscardResult.3.html
Tcl_DiscardResult(3) - save and restore an interpreter's sta
These routines allows a C procedure to take a snapshot of the current &amp;#9474; state of an interpreter so that it can be restored after a call to &amp;#9474; Tcl_Eva

manpages/memleaks.3ncurses.html
memleaks(3ncurses) - curses memory-leak checking (Man Page)
These functions are used to simplify analysis of memory leaks in the ncurses library. They are normally not available; they must be configured into the library

manpages/Tk_Get3DBorderFromObj.3.html
Tk_Get3DBorderFromObj(3) - draw borders with three-dimension
These procedures provide facilities for drawing window borders in a way that produces a three-dimensional appearance. Tk_Alloc3DBorderFromObj allocates colors a

manpages/perlfork.1.html
perlfork(1) - Perl's fork() emulation - Linux manual page...
The fork() emulation is implemented at the level of the Perl interpreter. What this means in general is that running fork() will actually clone the running inte





We can't live, work or learn in freedom unless the software we use is free.