🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8812

Re: Configuration question...

#8812
From: Todd D. Taft
Date: Wed, 26 Jun 1996 00:00
39 lines
2428 bytes
In article <Pine.LNX.3.91.960623210112.3736A-100000@apollo.sportct.com>,
Louis Zirkel III  <lzirkel@sportct.com> wrote:
>I'm a new news administrator and I have a silly question that I can't 
>seem to find the answer to.  How do I get INN to automatically create new 
>newsgroups as they're sent through NNTP?  This has been driving me crazy 
>and I appreciate any help I can get.

Look in your control.ctl file.  That's what sets how your machine
handles all control messages that it gets (newgroup, rmgroup, cancel,
etc.).  In my file, I've got entries that look like this:
##      NEWGROUP MESSAGES
##  Any newsgroups
newgroup:*:*:mail
newgroup:tale@*.uu.net:comp.*|misc.*|news.*|rec.*|sci.*|soc.*|talk.*|humanities.*:doit
##  ALT newsgroups
newgroup:*:alt.*:doit=newgroup

What this does is:

The default action for newgroup messages is to send me a copy of the
control message; however, the group is not created.  If the message is
in a big 8 group (comp, misc, etc.), and the message is sent by Dave
Lawrence (tale@uunet.uu.net), then the server creates the group, and
sends me a message indicating that (the message also has the contents
of the original control message) to indicate that.  If the newgroup is
in the alt hierarchy, the group is created, I am not sent mail, but
the fact that the the group was created, as well as the control
message text that prompted the creation, is logged in the file
"newgroup" within my logging directory.  I would advise against using
anything that opens up permissions even wider than what I have here;
doing so will likely give you a lot of newsgroups that you don't
really want.
-- 
Todd D. Taft                              taft@cs.unc.edu
WWW: http://www.cs.unc.edu/~taft/         todd_taft@unc.edu
U.N.C. Department of Computer Science Facilities Staff

Technical Details
Message-ID: <4qrl5g$sua@tsc.cs.unc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <Pine.LNX.3.91.960623210112.3736A-100000@apollo.sportct.com>

Show Full Headers
Complete Article Headers
Message-ID: <4qrl5g$sua@tsc.cs.unc.edu>
Subject: Re: Configuration question...
Date: Wed, 26 Jun 1996 00:00:00 +0000
From: taft@cs.unc.edu (Todd D. Taft)
References: <Pine.LNX.3.91.960623210112.3736A-100000@apollo.sportct.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 162293557
Organization: The University of North Carolina at Chapel Hill
Newsgroups: news.software.nntp