πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #84680

Re: Checkgroups - Ignore invalid lines

#84680
From: D. Stussy
Date: Wed, 15 Feb 2012 19:40
47 lines
3110 bytes
"Julien Γ‰LIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:jhg5k7$ffg$1@news.trigofacile.com...
> > However, that doesn't really answer the question of what INN
> > should do when it encounters a message which violates the standards.
>
> As far as I see, controlchan removes unrecognized lines when processing
> checkgroups.
>
> control/modules/checkgroups.pl
>
>     foreach (@body) {
>       my ($ngname, $ngdesc) = split(/\s+/, $_, 2);
>       next if ($ngname !~ /$newsgrouppats/);
>
>
> I believe you are then only speaking about mails sent by controlchan
> when control.ctl specifies not to automatically process the message?

What I see as the action taken:

The valid newsgroup description lines get processed.
The invalid lines get mailed to the news administrator.

The latter action may be happening due to this entry in "control.ctl":

# Default to mailing all checkgroups messages to the administrator.
checkgroups:*:*:mail

I have not experimented with this, but as all group names which pass
through the program should have two components, maybe the three default
entries for checkgroups, newgroup, and rmgroup should be re-written as
(e.g.):

checkgroups:*:*.*:mail
newgroup:*:*.*:mail
rmgroup:*:*.*:mail


That is, the group field should have "*.*", not "*", so as to require the
presence of a period (thus implying two components).  Maybe ISC's file
should be updated with this change?

The five allowed single-component groups ("control", "general", "junk",
"test", and "to") don't get checkgrouped and should be subjected to the
"all:*:*:drop" entry anyway.

Technical Details
Message-ID: <jhh2t3$ui7$1@snarked.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.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!rt.uk.eu.org!tr22g12.aset.psu.edu!usenet.stanford.edu!newsfeed.news.ucla.edu!news.snarked.org!pool-71-106-167-208.lsanca.dsl-w.verizon.net!not-for-mail
References: <ffm.checkgroup.20120201000001@ffm.arcornews.de> <jh3vk9$539$1@snarked.org> <9pses5FdrcU1@mid.individual.net> <jhcgjd$aes$1@snarked.org> <jhg5k7$ffg$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <jhh2t3$ui7$1@snarked.org>
Subject: Re: Checkgroups - Ignore invalid lines
Date: Wed, 15 Feb 2012 11:40:11 -0800
From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org>
References: <ffm.checkgroup.20120201000001@ffm.arcornews.de> <jh3vk9$539$1@snarked.org> <9pses5FdrcU1@mid.individual.net> <jhcgjd$aes$1@snarked.org> <jhg5k7$ffg$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!rt.uk.eu.org!tr22g12.aset.psu.edu!usenet.stanford.edu!newsfeed.news.ucla.edu!news.snarked.org!pool-71-106-167-208.lsanca.dsl-w.verizon.net!not-for-mail
Newsgroups: news.software.nntp,news.admin.hierarchies
Lines: 47
Reply-To: "D. Stussy" <replies+newsgroups@kd6lvw.ampr.org>
Injection-Date: Wed, 15 Feb 2012 20:00:36 +0000 (UTC)
Injection-Info: snarked.org;
 posting-host="pool-71-106-167-208.lsanca.dsl-w.verizon.net:71.106.167.208";
 logging-data="31303"; mail-complaints-to="newsmaster+complaints@snarked.org"
X-No-Archive: Yes
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MSMail-Priority: Normal
X-Original-Bytes: 2837