Thread View: news.software.nntp
3 messages
3 total messages
Started by *selah*
Mon, 08 Sep 1997 00:00
How to add new newsgroups
Author: *selah*
Date: Mon, 08 Sep 1997 00:00
Date: Mon, 08 Sep 1997 00:00
7 lines
672 bytes
672 bytes
I was wondering how a new newsgroup gets added to an nntp server after the control message has been received. (Assuming that the server doesn't automatically add it to the list.)
Re: How to add new newsgroups
Author: Forrest J. Cavalier III
Date: Mon, 08 Sep 1997 00:00
Date: Mon, 08 Sep 1997 00:00
38 lines
1899 bytes
1899 bytes
In article <slrn61787o.bjd.soma@amanda.dorsai.org>, soma@dorsai.org wrote...
>
>I was wondering how a new newsgroup gets added to an nntp server after the
>control message has been received. (Assuming that the server doesn't
>automatically add it to the list.)
>
INN considers a message a control message:
If there is a Control: header
or If there is no control header, and the Subject starts with cmsg
During processing, INN calls ARTcontrol() which does:
If it is a cancel, it processes it internally, calling ARTcancel()
If not a cancel and it matches the name of an executable file in the
_PATH_CONTROLPROGS directory,
it does some validation if it is an ihave or sendme,
then it Spawns the executable. The executable generally calls
parsecontrol, and based on the results of that, will call ctlinnd
(if newgroup or rmgroup.)
If it does not match the name of an executable file, then it
calls _PATH_BADCONTROLPROG.
That's it in a nutshell.
Free advice: Keep your _PATH_CONTROLPROGS directory clean!
Having old or extra files around with 'x' bits, (e.g. parsecontrol.orig)
is a bad idea.
Forrest Cavalier, Mib Software, INN customization and consulting
500+ pages of INN docs, FAQ, RFCs, etc:
http://www.mibsoftware.com/userkt/forprov.htm
Re: How to add new newsgroups
Author: Jon Bell
Date: Tue, 09 Sep 1997 00:00
Date: Tue, 09 Sep 1997 00:00
27 lines
1949 bytes
1949 bytes
In article <slrn61787o.bjd.soma@amanda.dorsai.org>, *selah* <soma@dorsai.org> wrote: >I was wondering how a new newsgroup gets added to an nntp server after the >control message has been received. (Assuming that the server doesn't >automatically add it to the list.) If that particular server is not configured to add new groups automatically, it sends an e-mail to its administrator, notifying him/her that a newgroup message has arrived. The administrator then adds the group "by hand" if desired. Actually, there's another option: the server can be configured to ignore newgroup messages completely, from certain specified addresses. For example, it might automatically process all newgroup messages for the "Big 8" hierarchies from the moderator of news.announce.newgroups, and toss all others in the bit-bucket. In addition, it might forward all newgroups for 'alt' groups to the admin, except for those from people who are known to try to create "joke" groups. It all depends on how the server is configured. -- Jon Bell <jtbell@presby.edu> Presbyterian College Dept. of Physics and Computer Science Clinton, South Carolina USA [for beginner's Usenet info, see http://web.presby.edu/~jtbell/usenet/ ]
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads