🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by ruud Mon, 08 Nov 2004 07:14
I am feeding too much
#70286
Author: ruud
Date: Mon, 08 Nov 2004 07:14
25 lines
1799 bytes
I have a INN-2.3.4 server with lots of groups and two peers.
One of my peering partner is complaining that i feed him articles that he don't
want.
His server has only nl.* and alt.nl.*
So this is my newsfeeds file:
#################################################
# innfeed funnel master.
innfeed!\
        :!*\
        :Tc,Wnm*:/usr/lib/news/bin/startinnfeed

# hades.palmboys.nl
hades.palmboys.nl/\
hades.palmboys.nl\
       :!*,nl.*,alt.nl.*\
       :Tm:innfeed!

#################################################

But still, my server is sending everything to hades.palmboys.nl.
Can somebody tell me how to fix this problem ?

-- 
Gr. Ruud
http://www.nl-netwerken.com
Re: I am feeding too much
#70288
Author: Jeffrey M. Vinocur
Date: Mon, 08 Nov 2004 08:52
14 lines
1568 bytes
In article <cmn6c3$l8r$1@box.nl-netwerken.com>,
ruud  <ruud@localhost.invalid> wrote:
>I have a INN-2.3.4 server with lots of groups and two peers.
>One of my peering partner is complaining that i feed him articles that he don't
>want.

Your newsfeeds file looks correct to me.  Is there any way your
server could be using an outdated config -- are you sure you've
run `ctlinnd reload newsfeeds` after changing the file?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: I am feeding too much
#70289
Author: ruud
Date: Mon, 08 Nov 2004 09:42
16 lines
1643 bytes
Jeffrey M. Vinocur wrote:

>>One of my peering partner is complaining that i feed him articles that he
>>don't want.
> 
> Your newsfeeds file looks correct to me.  Is there any way your
> server could be using an outdated config -- are you sure you've
> run `ctlinnd reload newsfeeds` after changing the file?

I restarted the whole server with
service innd restart 
Is ctlinnd reload newsfeeds a better way ?

-- 
Gr. Ruud
http://www.nl-netwerken.com
Re: I am feeding too much
#70296
Author: Jeffrey M. Vinocur
Date: Wed, 10 Nov 2004 02:08
20 lines
1765 bytes
In article <cmnf19$lq8$1@box.nl-netwerken.com>,
ruud  <ruud@localhost.invalid> wrote:
>Jeffrey M. Vinocur wrote:
>
>> Your newsfeeds file looks correct to me.  Is there any way your
>> server could be using an outdated config -- are you sure you've
>> run `ctlinnd reload newsfeeds` after changing the file?
>
>I restarted the whole server with
>service innd restart 
>Is ctlinnd reload newsfeeds a better way ?

Well, `ctlinnd reload` is less disruptive (and quicker).  But
certainly restarting the whole server process would have the same
effect of reloading the config files.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: I am feeding too much
#70298
Author: I.R. van Dongen
Date: Wed, 10 Nov 2004 10:18
14 lines
1656 bytes
Jeffrey M. Vinocur wrote:
>>Jeffrey M. Vinocur wrote:
>>
>>>Your newsfeeds file looks correct to me.  Is there any way your
>>>server could be using an outdated config -- are you sure you've
>>>run `ctlinnd reload newsfeeds` after changing the file?

It seems changing it to !* did help, even changing it to !*,nl.test 
helped. We'll just test with a bigger part every day and check where the 
problem starts.

Gr,

Ivo van Dongen
Re: I am feeding too much
#70300
Author: Dr.Ruud
Date: Wed, 10 Nov 2004 16:31
19 lines
1530 bytes
Toen ik ruud kietelde, kwam er dit uit:

> hades.palmboys.nl/\
> hades.palmboys.nl\
>        :!*,nl.*,alt.nl.*\
>        :Tm:innfeed!

That entry looks strange to me.
Unfolded it looks like this:

hades.palmboys.nl/hades.palmboys.nl:!*,nl.*,alt.nl.*:Tm:innfeed!

-- 
Affijn, Ruud   `  -  ´
               + ` ´ *
                 ´ `     Jvr qvg yrrfg,
               ´  =  `   fgresg wbatre.

Re: I am feeding too much
#70301
Author: Jeffrey M. Vinocur
Date: Thu, 11 Nov 2004 00:10
21 lines
1563 bytes
In article <cmtjcu.d4.1@news.isolution.nl>,
Dr.Ruud <rvtol+news@isolution.nl> wrote:
>Toen ik ruud kietelde, kwam er dit uit:
>
>> hades.palmboys.nl/\
>> hades.palmboys.nl\
>>        :!*,nl.*,alt.nl.*\
>>        :Tm:innfeed!
>
>That entry looks strange to me.
>Unfolded it looks like this:
>
>hades.palmboys.nl/hades.palmboys.nl:!*,nl.*,alt.nl.*:Tm:innfeed!

I'm staring and staring and I can't see what you think is wrong
with it.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: I am feeding too much
#70306
Author: Dr.Ruud
Date: Thu, 11 Nov 2004 10:15
59 lines
2729 bytes
Toen ik Jeffrey M. Vinocur kietelde, kwam er dit uit:
> Dr.Ruud:
>> ruud:

>>> hades.palmboys.nl/\
>>> hades.palmboys.nl\
>>>        :!*,nl.*,alt.nl.*\
>>>        :Tm:innfeed!

>> That entry looks strange to me.
>> Unfolded it looks like this:
>>
>> hades.palmboys.nl/hades.palmboys.nl:!*,nl.*,alt.nl.*:Tm:innfeed!

> I'm staring and staring and I can't see what you think is wrong
> with it.

I don't think it's wrong, but it might have implications.

newsfeeds(5)
<quote>
The format of an entry is:
              sitename[/exclude,exclude,...]\
                   :pattern,pattern...[/distrib,distrib...]\
                   :flag,flag...\
                   :param
[...]
If sitename already appears in
the article's Path header, then the article will not be sent to the
site. [...]
If an entry has an exclusion sub-field, then
the article will not be sent to that site if any of the names specified
as excludes appear in the Path header.
</quote>

So why repeat the sitename as an exclude.

And maybe:
The slash is put after the sitename, not at the next line with the
exclude. I haven't checked the code on how \LF is interpreted. It might
be translated to a whitespace, and whitespace around field-values might
be harmful, was a thought that crossed my mind.


Would this be exactly the same?

hades.palmboy\
s.nl\
  :!*,nl.*,alt.nl.*\
  :Tm:innfeed!


-- 
Affijn, Ruud   `  -  ?
               + ` ? *
                 ? `     Jvr qvg yrrfg,
               ?  =  `   fgresg wbatre.

Re: I am feeding too much
#70310
Author: I.R. van Dongen
Date: Thu, 11 Nov 2004 16:05
26 lines
1768 bytes
Dr.Ruud wrote:
> And maybe:
> The slash is put after the sitename, not at the next line with the
> exclude. I haven't checked the code on how \LF is interpreted. It might
> be translated to a whitespace, and whitespace around field-values might
> be harmful, was a thought that crossed my mind.
> 
> 
> Would this be exactly the same?
> 
> hades.palmboy\
> s.nl\
>   :!*,nl.*,alt.nl.*\
>   :Tm:innfeed!
> 
> 

Yes, it would, since you "escape" the LF causing it to not be 
interpreted. Try this in your favourite shell:
$ l\<enter>
s<enter>

Gr,

Ivo
Re: I am feeding too much
#70309
Author: Dr.Ruud
Date: Thu, 11 Nov 2004 19:35
42 lines
2725 bytes
Toen ik I.R. van Dongen kietelde, kwam er dit uit:
> Dr.Ruud wrote:

>> And maybe:
>> The slash is put after the sitename, not at the next line with the
>> exclude. I haven't checked the code on how \LF is interpreted. It
>> might be translated to a whitespace, and whitespace around
>> field-values might be harmful, was a thought that crossed my mind.
>>
>>
>> Would this be exactly the same?
>>
>> hades.palmboy\
>> s.nl\
>>   :!*,nl.*,alt.nl.*\
>>   :Tm:innfeed!

> Yes, it would, since you "escape" the LF causing it to not be
> interpreted. Try this in your favourite shell:
> $ l\<enter>
> s<enter>

That an escaped LF is not interpreted, depends on the interpreter.
You show how some shell does it, I could show you how
procmail (or sed) does it. An LF can be very functional.

So 'escape' doesn't mean what you think it means. It means
something like 'switch mode' or 'go to a different state'.

For several environments this 'other mode' means that LFs
are ignored, for others it means 'if an LF follows, skip it
and all following whitespace, and return a single whitespace',
for yet others it just means 'return a literal LF' or even
something completely different.

-- 
Affijn, Ruud   `  -  ´
               + ` ´ *
                 ´ `     Jvr qvg yrrfg,
               ´  =  `   fgresg wbatre.

Re: I am feeding too much
#70313
Author: Jeffrey M. Vinocur
Date: Fri, 12 Nov 2004 23:11
37 lines
2195 bytes
In article <cmvhqa.1u0.1@news.isolution.nl>,
Dr.Ruud <rvtol+news@isolution.nl> wrote:
>
>If an entry has an exclusion sub-field, then
>the article will not be sent to that site if any of the names specified
>as excludes appear in the Path header.
></quote>
>
>So why repeat the sitename as an exclude.

There's no benefit to repeating the name of the site.  But it
won't hurt anything, and it certainly wouldn't cause -more-
articles to be fed than intended.


>The slash is put after the sitename, not at the next line with the
>exclude. I haven't checked the code on how \LF is interpreted. It might
>be translated to a whitespace, and whitespace around field-values might
>be harmful, was a thought that crossed my mind.

Whitespace at the start of a continued line is ignored.
Regardless, this also wouldn't cause extra articles to be fed.


>Would this be exactly the same?
>
>hades.palmboy\
>s.nl\
>  :!*,nl.*,alt.nl.*\
>  :Tm:innfeed!

I believe it would.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads