Article View: news.software.nntp
Article #83522Re: [INN] POST instead of IHAVE?
From: Julien ÉLIE
Date: Mon, 11 Oct 2010 21:47
Date: Mon, 11 Oct 2010 21:47
75 lines
3877 bytes
3877 bytes
Hi Edmund,
> ] altnet.test:
> ] last checked: Sun Oct 10 21:33:33 2010
> ] 30 articles available. First 1 Last 17
> ] Our current highest: 17 (nothing to get)
>
> Those 30 articles are on the downstream host, not on my machine.
These 30 articles are on the upstream host. pullnews here indicates
what it can see on the upstream host, that is to say your machine.
I do not understand why "30 articles available" when the last one is 17!
Were there cancels?
Problem with your overview?
> pullnews should have found 4 articles on my machine. pullnews seems
> to determine the "17" from the config file, which of course doesn't
> get updated when I post an article.
But a run of pullnews should see that the last article has increased.
Otherwise, there is a problem. Do you see the new articles in your
usual news reader?
> ] connecting to upstream server news.xxxxxxx.com...done.
>
> And the above shouldn't happen, too, I think. I doesn't hurt though.
Yes, you're right.
That behaviour was already present when a server is marked, but without any
newsgroup to fetch.
Patch to prevent that connection:
--- pullnews.in (révision 9112)
+++ pullnews.in (copie de travail)
@@ -385,6 +390,10 @@
my $shash = $servers->{$server};
+ # No need to connect to the upstream server when there is no newsgroup
+ # to fetch. (The value 1 is for the "_order" key in the hash.)
+ next if keys(%{$shash}) == 1;
+
my $connectionAttempts = 0;
my $upstream;
{{
> As I'm not really conversant in Perl (I hate it, in fact), I haven't
> yet found out how pullnews determines which articles to POST to the
> downstream server.
All the new ones from upstream servers (amongst them, your own server).
> I have ":Tf,Wnm:news.xxxxxxx.com" in newsfeeds, but
> pullnews does not appear to look in .../outgoing/news.xxxxxxx.com
pullnews does not look at these files. It looks at what is present
on upstream servers. pullnews connects to upstream servers, and reads
the new articles (as any news client would do). It then posts them
to the downstream server.
--
Julien ÉLIE
« Un sourire coûte moins cher que l'électricité
mais donne autant de lumière. » (Abbé Pierre)
Technical Details
Message-ID:
<i900m5$6f9$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.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-151-1-74-104.w81-48.abo.wanadoo.fr!not-for-mailReferences:
<i834on$hg6$1@dk3uz.ampr.org> <i858pc$a9s$1@news.trigofacile.com> <i85q09$i4f$1@dk3uz.ampr.org> <i86rij$34j$1@news.trigofacile.com> <i8qtpl$g9i$1@dk3uz.ampr.org> <i8rtpv$iv1$1@news.trigofacile.com> <i8tebe$d42$1@dk3uz.ampr.org>Show Full Headers
Complete Article Headers
Message-ID: <i900m5$6f9$1@news.trigofacile.com> Subject: Re: [INN] POST instead of IHAVE? Date: Mon, 11 Oct 2010 23:47:52 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <i834on$hg6$1@dk3uz.ampr.org> <i858pc$a9s$1@news.trigofacile.com> <i85q09$i4f$1@dk3uz.ampr.org> <i86rij$34j$1@news.trigofacile.com> <i8qtpl$g9i$1@dk3uz.ampr.org> <i8rtpv$iv1$1@news.trigofacile.com> <i8tebe$d42$1@dk3uz.ampr.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.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-151-1-74-104.w81-48.abo.wanadoo.fr!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 75 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-15"; reply-type=original Content-Transfer-Encoding: 8bit Injection-Date: Mon, 11 Oct 2010 21:47:49 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-host="aaubervilliers-151-1-74-104.w81-48.abo.wanadoo.fr:81.48.13.104"; logging-data="6633"; mail-complaints-to="abuse@trigofacile.com" In-Reply-To: <i8tebe$d42$1@dk3uz.ampr.org> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18263 X-Original-Bytes: 3657