Article View: news.software.nntp
Article #87710Re: a strange newsfeeds behaviour
From: Julien ÉLIE
Date: Wed, 10 May 2017 20:20
Date: Wed, 10 May 2017 20:20
106 lines
4552 bytes
4552 bytes
Hi Paolo,
> i need a real time updated file that lists all articles posted through my
> server
Understood.
> since my local posts are identified by lines like this one inside all
> newsfeeds generated files:
>
> ----------------------
> localhost alt.prophecies.nostradamus 1646 1494280103 1494280073 <oeqp36
> $av6$2@gioia.aioe.org>
> ---------------------
>
> i assumed that innd calls itself 'localhost' and i understood the
> character "!" means no. So denying to exclude articles from 'localhost'
> means to admit it. I reasoned in this way.
Articles locally posted are indeed identified as "localhost" for the
feeding site. However, that name is not used at all for the exclusion
pattern in newsfeeds (looking in the Path header field).
> -------------
> TESTINFLOW1/localhost:*:Tf,H2,Wsgbtpm:
>
> TESTINFLOW2/!
> localhost,news.glorb.com,news.lightlink.com,usenet.pasdenom.info\
> :*:Tf,H2,Wsgbtpm:
> ---------------------
I believe that if you do not mention "localhost" in the first test and
"!localhost" in the second test, it will work the same.
What you see comes from the use of "H2", meaning to feed articles with 1
or 2 hops in the Path header field.
Your local posts only have:
Path: .POSTED!not-for-mail
Those from Glorb:
Path: news.glorb.com!news.alt.net
Those from Lightlink:
Path: adore2!not-for-mail
Those from Pasdenom:
Path: usenet.pasdenom.info!from-devjntp
Other news servers add more hops. For instance:
Path:
eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Path:
proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp3-2.free.fr!not-for-mail
Path:
porbandar.httrack.net!news.httrack.net!news3.httrack.net!.POSTED!bleachbot!usenet!not-for-mail
Path:
news.trigofacile.com!.POSTED.2a01cb0800a77500fdf70fda11a03c52.ipv6.abo.wanadoo.fr!not-for-mail
> after the same time, with my configuration (TESTINFLOW2) innd makes a
> file (TESTINFLOW2) with *1223* articles and *1204* of them come from my
> server, 19 are spurious (about *1.2%*). My configuration seems to produce
> much more accurate results than what I get with yours. This seems absurd.
> remaining articles come from bofh (12), lightlink (6), pasdenon (2).
I believe it is coherent with my explanations above.
So. The question is how to achieve what you want?
Usually, the "Oaioe.org" flag is added to newsfeeds but you remove trace
injection fields from your local posts, so the O flag cannot be used in
your case.
Couldn't you use a channel feed writing to your file? The newsfeeds man
page has an example:
watcher!:*:Tc,Wbnm\
:exec awk '$1 > 1000000 { print "BIG", $2, $3 }' > /dev/console
Maybe to adapt with a check of $1 being "localhost" and appending to a
file? Of course you should keep "H2".
Or keep your current TESTINFLOW1 file and just remove the lines that do
not begin with "localhost "?
--
Julien ÉLIE
« J'ai un copain, il est pilote d'essai… Enfin, il ne l'est pas
encore ; pour l'instant, il essaie d'être pilote ! » (Raymond
Devos)
Technical Details
Message-ID:
<oevsn7$8m7$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.(19219).mbox.7z!not-for-mailReferences:
<oeo11j$1v32$1@gioia.aioe.org> <oeqgdn$cmv$1@news.trigofacile.com> <oeqmpp$6pv$1@gioia.aioe.org> <oeqnv9$8vq$2@gioia.aioe.org> <oet92q$i7r$1@news.trigofacile.com> <oetbur$1a0q$1@gioia.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <oevsn7$8m7$1@news.trigofacile.com> Subject: Re: a strange newsfeeds behaviour Date: Wed, 10 May 2017 22:20:55 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <oeo11j$1v32$1@gioia.aioe.org> <oeqgdn$cmv$1@news.trigofacile.com> <oeqmpp$6pv$1@gioia.aioe.org> <oeqnv9$8vq$2@gioia.aioe.org> <oet92q$i7r$1@news.trigofacile.com> <oetbur$1a0q$1@gioia.aioe.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.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 10 May 2017 20:20:55 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb0800a775001191eec21ac97c1c.ipv6.abo.wanadoo.fr:2a01:cb08:a7:7500:1191:eec2:1ac9:7c1c"; logging-data="8903"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 In-Reply-To: <oetbur$1a0q$1@gioia.aioe.org> X-Received-Bytes: 4491 X-Received-Body-CRC: 1710257397