Article View: news.software.nntp
Article #82146Re: Readers behaviour with newsgroups status
From: D. Stussy
Date: Tue, 17 Nov 2009 19:40
Date: Tue, 17 Nov 2009 19:40
88 lines
5889 bytes
5889 bytes
"Julien ΓLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:hdullq$lj1$1@news.trigofacile.com...
> > As a result of your query, I picked a group that was marked "j" on my
> > server and attempted to post to it. My client prevented such. I then
> > attempted to post to it as a crosspost with my "local.test" group
(marked
> > "y"). A warning did occur, but the post was accepted. When I reviewed
the
> > post via the local group, the "Xref:" header contained ONLY the
> > "local.test" group's article number, so the cross-posting to "j" did
NOT
> > occur. The "j" group was blocked from local posting.
> >
> > Therefore, I conclude that the behavior is or is equivalent to in
result to
> > what I stated previously.
>
> It it also what I said: a *crosspost* is filed only into the group
> with status "y". (And a post to *only* the group with status "j" is
> accepted.)
A post ONLY to a "j" group should NOT be accepted. "j" groups should NOT
be returned to the users in a "LIST ACTIVE" output. Such are
"pass-through" groups which are NOT LOCALLY CARRIED. As such, they should
not be locally postable, and "don't exist" as far as clients are concerned.
"j" groups exist only for peers that include the "junk" pseudogroup in
their newsfeed distribution (i.e. the pass-through mechanism).
INN currently returns "j" groups in some places and not in others, and when
it does so, it presents an "n" to the client. (INN also seems to convert
"x" to "n", but I find that some (many?) clients understand "x".) As "x"
can exist on certain pseudogroups (e.g. "control"), where an adminstrator
may need to read it, I chose to return "x" groups when their overviews are
NOT EMPTY (when the highmark is not zero) to clients. My patch, in the
first 3 sections, seeks to harmonize the list to be consistent.
> > 3) Create dummy entries in "newsgroups" indicating timestamp a
hierarchy's
> > checkgroups was last processed.
> >
> > --- control/docheckgroups.in 2009-10-12 18:24:04.000000000 +0000
> > +++ control/docheckgroups.in 2009-10-20 00:00:00.000000000 +0000
> > @@ -79,6 +79,9 @@
> > ${AWK} '{ if ($1 !~ /'"${PATS}"'/) { print $0 } }' ${NEWSGROUPS}
>>${T}/$$updatednewsgroups
> > ${AWK} '{ if (($1 !~ /'"${1:-.}"'/) && ($1 ~ /'"${PATS}"'/)) {
print $0 } }' ${NEWSGROUPS} >>${T}/$$updatednewsgroups
> > cat ${T}/$$newdesc >>${T}/$$updatednewsgroups
> > + DATE=`date --utc "+%Y-%m-%d %H:%M:%S UTC"`
> > + for x in `grep "\." ${T}/$$msg|cut -d . -f 1|sort -u` ; do
> > + echo -e $x.CHECKGROUPS\\tCheckgroups processed on $DATE
>>${T}/$$updatednewsgroups ; done
> > mv -f ${NEWSGROUPS} ${NEWSGROUPS}.old
> > ${SORT} ${T}/$$updatednewsgroups | ${SED} 's/ [ ]*/
/' \
> > | ${AWK} -F'\t' '{if (length($1) < 8) {print $1"\t\t\t"$2} \
>
> What if a newsgroup named "fr.checkgroups" already exists
> in the newsgroups file?
Group names may NOT have upper-case characters. My marker does. The
update of the newsgroups file is case-sensitive as to group name.
Therefore, a collision should never occur (if it does, it's due to
administrative error).
When a subsequent checkgroups comes in, any existing entry is removed (as
it's not in the checkgroups message) and a new entry generated, effectively
replacing it.
Although I went with the timestamp of the actual processing, an alternative
would have been to extract the date from the message and use it instead.
Comparing the actual processing time vs. posted time could be used as a
measure of propagation.
This seems to work properly when a checkgroups message is for a TLH (top
level hierarchy). If not a TLH, it generates an entry for the
corresponding TLH - e.g. "checkgroups microsoft.public.*" generates an
entry for "microsoft.CHECKGROUPS". "cn.bbs.*" would generate an entry for
"cn.CHECKGROUPS". As most checkgroups messages are for TLHs, I decided to
ignore this problem for the meantime as I didn't see an easy solution.
Instead of the "for x" loop (which really applies to the big-8 message, as
all others will generally have a single TLH), it would have been nice to
use the parameter from the checkgroups control line (when specified), but
again, I was lazy and it didn't seem to matter. If you like the idea and
can generate a better solution for subhierarchies, feel free to do so.
Technical Details
Message-ID:
<hduu80$4ro$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.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.mb-net.net!open-news-network.org!news.snarked.org!not-for-mailReferences:
<hdkrlm$mve$1@news.trigofacile.com> <hdm006$b65$1@news2.rz.uni-karlsruhe.de> <hdm6lp$3n4$1@news.trigofacile.com> <hdno49$ohu$1@snarked.org> <hdphsq$d58$1@news.trigofacile.com> <hdq40h$dqm$1@snarked.org> <hdqub3$rre$1@news.trigofacile.com> <hdr37g$nl8$1@snarked.org> <hdullq$lj1$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <hduu80$4ro$1@snarked.org> Subject: Re: Readers behaviour with newsgroups status Date: Tue, 17 Nov 2009 11:40:51 -0800 From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> References: <hdkrlm$mve$1@news.trigofacile.com> <hdm006$b65$1@news2.rz.uni-karlsruhe.de> <hdm6lp$3n4$1@news.trigofacile.com> <hdno49$ohu$1@snarked.org> <hdphsq$d58$1@news.trigofacile.com> <hdq40h$dqm$1@snarked.org> <hdqub3$rre$1@news.trigofacile.com> <hdr37g$nl8$1@snarked.org> <hdullq$lj1$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.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.mb-net.net!open-news-network.org!news.snarked.org!not-for-mail Newsgroups: news.software.nntp,news.software.readers Lines: 88 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: pool-71-118-51-37.lsanca.dsl-w.verizon.net X-Trace: snarked.org 1258486848 4984 71.118.51.37 (17 Nov 2009 19:40:48 GMT) X-Complaints-To: newsmaster+complaints@snarked.org NNTP-Posting-Date: Tue, 17 Nov 2009 19:40:48 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 X-Original-Bytes: 5680