Article View: news.software.nntp
Article #30508Re: A channel-fed control message handler
From: Fluffy
Date: Sat, 15 Aug 1998 00:00
Date: Sat, 15 Aug 1998 00:00
64 lines
2843 bytes
2843 bytes
Olaf Titz <olaf@bigred.inka.de> wrote: > Fluffy <fluffy@meow.org> wrote: > > controlchan\ > > :!*,control,control.*,!control.cancel\ > > :Tc,Wnm\ > > :/news/bin/controlchan > > I'm not sure how and if that works. Distribution of control messages > contains a few "gotchas". E.g. on an unwanted newgrouper we just had > to find out that newgroups and rmgroups, as opposed to other controls, > are never "junked"[1] and the documentation is a bit fuzzy on how > exactly controls are propagated. What the control messages do is like this: - Are any of the existing groups in the Newsgroups: header accepted by this feed? If yes, send it. - If a newgroup is being sent to the group being created, and that group doesn't yet exist, would this newsfeed be carrying the group if it *did* already exist? If yes, send it. - Does the feed accept the control pseudogroup that holds the message? If yes, send it. (There's still the old *.ctl hack in there too.) > In fact, it looks to me like the code in ARTpost() first finds out all > the sites an article is propagated to based on the Newsgroups header, > then files them in control.* if a Control header is there. This would > mean that your controlchan entry only applies to postings which have > control.something in their Newsgroups header. Nope. I've got it running with INN 2.1 and it's propagating to the channel feed: Date: 15 Aug 1998 13:58:25 -0000 From: usenet@fluffy.meow.org To: usenet@fluffy.meow.org Subject: newgroup meow.config y created fluffy@meow.org Path: meow.org!not-for-mail From: fluffy@meow.org Newsgroups: meow.general Subject: junk Control: newgroup meow.config Date: 15 Aug 1998 13:58:22 GMT Organization: Fluffy's Meow Server Lines: 1 Approved: fluffy Distribution: local Message-ID: <6r445u$n64$1@fluffy.meow.org> NNTP-Posting-Host: localhost X-Trace: fluffy.meow.org 903189502 23748 127.0.0.1 (15 Aug 1998 13:58:22 GMT) X-Complaints-To: mom NNTP-Posting-Date: 15 Aug 1998 13:58:22 GMT Xref: meow.org control.newgroup:21 meow
Technical Details
Message-ID:
<6r456m$n97$1@fluffy.meow.org>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-mailReferences:
<6r3u38$joa$1@fluffy.meow.org> <6r414s$ra8$2@danube.inka.de>Show Full Headers
Complete Article Headers
Message-ID: <6r456m$n97$1@fluffy.meow.org> Subject: Re: A channel-fed control message handler Date: Sat, 15 Aug 1998 00:00:00 +0000 From: fluffy@meow.org (Fluffy) References: <6r3u38$joa$1@fluffy.meow.org> <6r414s$ra8$2@danube.inka.de> 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: 381415172 Sender: fluffy@localhost X-Complaints-To: mom X-Trace: fluffy.meow.org 903190550 23847 127.0.0.1 (15 Aug 1998 14:15:50 GMT) Organization: International Brotherhood of Vulii NNTP-Posting-Date: 15 Aug 1998 14:15:50 GMT Newsgroups: news.software.nntp