🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Mike Lovell Thu, 21 Jun 2012 19:01
inn2 - Peering (incoming) only "specific" newsgroups
#84961
Author: Mike Lovell
Date: Thu, 21 Jun 2012 19:01
28 lines
1880 bytes
I've got peering details from my ISP, I want to use them for posting
approved moderated messages, so I want to restrict what they send me to
a very small list of newsgroups, lets say 2 for now.


I'm only setting up receiving posts for the moment (I'll work on sending
to them to the peer later).


Is this sufficient to set the peer to send me only the two groups:

	alt.test
	alt.test.moderated

Config:

	#--- incoming.conf

	peer myprovider
	{
		hostname:	"out.isp.net"
		patterns:	alt.test,alt.test.moderated
	}


Regards,

	~ Mike
Re: inn2 - Peering (incoming) only "specific" newsgroups
#84964
Author: Alexander Bartolich
Date: Thu, 21 Jun 2012 19:22
23 lines
1999 bytes
Mike Lovell wrote:
> I've got peering details from my ISP, I want to use them for posting
> approved moderated messages, so I want to restrict what they send me to
> a very small list of newsgroups, lets say 2 for now.

You cannot do that on your end. Standard NNTP has no provisions to
inform a peer about acceptable groups. Diablo has a few cool extension
for that purpose, but not INN.

> [...]
> 	#--- incoming.conf
>
> 	peer myprovider
> 	{
> 		hostname:	"out.isp.net"
> 		patterns:	alt.test,alt.test.moderated
> 	}

As far as I know statement "patterns:" is a dummy.

Ciao

    Alexander.
Re: inn2 - Peering (incoming) only "specific" newsgroups
#84966
Author: Mike Lovell
Date: Thu, 21 Jun 2012 19:30
25 lines
2514 bytes
On 2012-06-21, Alexander Bartolich <alexander.bartolich@gmx.at> wrote:
>> I've got peering details from my ISP, I want to use them for posting
>> approved moderated messages, so I want to restrict what they send me to
>> a very small list of newsgroups, lets say 2 for now.
>
> You cannot do that on your end. Standard NNTP has no provisions to
> inform a peer about acceptable groups. Diablo has a few cool extension
> for that purpose, but not INN.

So the peer will send *everything* they've got, then it's dropped if
it's not needed?

>> [...]
>> 	#--- incoming.conf
>>
>> 	peer myprovider
>> 	{
>> 		hostname:	"out.isp.net"
>> 		patterns:	alt.test,alt.test.moderated
>> 	}
>
> As far as I know statement "patterns:" is a dummy.

What I want to avoid is receiving every single group, and the bandwidth
cost that would incur, when I really only need a couple.
Re: inn2 - Peering (incoming) only "specific" newsgroups
#84968
Author: Alexander Bartolich
Date: Thu, 21 Jun 2012 23:12
27 lines
2290 bytes
Mike Lovell wrote:
> On 2012-06-21, Alexander Bartolich <alexander.bartolich@gmx.at> wrote:
>> [...]
>> You cannot do that on your end. Standard NNTP has no provisions to
>> inform a peer about acceptable groups. Diablo has a few cool extension
>> for that purpose, but not INN.
>
> So the peer will send *everything* they've got, then it's dropped if
> it's not needed?

Yes, posts to groups that do not exist get dropped.

> [...]
> What I want to avoid is receiving every single group, and the bandwidth
> cost that would incur, when I really only need a couple.

The only way to achieve that is to tell your peer exactly what he
should send. His entry in file "newsfeeds" should look something
like this:

  your.site/your.path\
	:alt.test,alt.test.moderated\
	:Ap,Tm,<1000000:innfeed!

Ciao

    Alexander.
Re: inn2 - Peering (incoming) only "specific" newsgroups
#84969
Author: Mike Lovell
Date: Fri, 22 Jun 2012 04:28
61 lines
3506 bytes
On 2012-06-21, Alexander Bartolich <alexander.bartolich@gmx.at> wrote:
> Mike Lovell wrote:
>> On 2012-06-21, Alexander Bartolich <alexander.bartolich@gmx.at> wrote:
>>> [...]
>>> You cannot do that on your end. Standard NNTP has no provisions to
>>> inform a peer about acceptable groups. Diablo has a few cool extension
>>> for that purpose, but not INN.
>>
>> So the peer will send *everything* they've got, then it's dropped if
>> it's not needed?
>
> Yes, posts to groups that do not exist get dropped.

Okay

>> [...]
>> What I want to avoid is receiving every single group, and the bandwidth
>> cost that would incur, when I really only need a couple.
>
> The only way to achieve that is to tell your peer exactly what he
> should send. His entry in file "newsfeeds" should look something
> like this:
>
>   your.site/your.path\
> 	:alt.test,alt.test.moderated\
> 	:Ap,Tm,<1000000:innfeed!

Yes it looks like they support this, and have updated their feed
accordingly, so that's solved.  Thanks.


Few more questions here...

If I make a local post using:

	inews -h <file>"

It will append the local user into the "Sender" field, which I don't
want when carrying out approval moderation posts.  Anyway to stop inews
doing this, or should another tool be used.  Can I just drop a file
directly into the spool and it will take it?


Also I'd like to retain some headers of the original post that arrives
with me, and not overwrite them, example:

	NNTP-Posting-Host
	X-Trace
	X-Complaints-To

inews also rejects posts that attempt to set these, same deal?


How do I set the "X-Complaints-To" and the format of "X-Trace" for
messages where it isn't already set (where I want to retain it)?  Do I
have to use a filter?


Thanks,

	~ Mike
Re: inn2 - Peering (incoming) only "specific" newsgroups
#84971
Author: Alexander Bartolich
Date: Sat, 23 Jun 2012 17:42
21 lines
2101 bytes
Mike Lovell wrote:
> [...]
> If I make a local post using:
>
> 	inews -h <file>"
>
> It will append the local user into the "Sender" field, which I don't
> want when carrying out approval moderation posts.  Anyway to stop inews
> doing this, or should another tool be used.

Well, I have no experience with inews as I use rnews. With rnews an
existing "Sender:" is kept intact. Providing a dummy value (like the
value of "Approved:") is the only work-around I know.

> Can I just drop a file directly into the spool and it will take it?

No.

Ciao

    Alexander.
Re: inn2 - Peering (incoming) only "specific" newsgroups
#84975
Author: Mike Lovell
Date: Mon, 25 Jun 2012 03:16
20 lines
2287 bytes
On 2012-06-23, Alexander Bartolich <alexander.bartolich@gmx.at> wrote:
> Mike Lovell wrote:
>> [...]
>> If I make a local post using:
>>
>> 	inews -h <file>"
>>
>> It will append the local user into the "Sender" field, which I don't
>> want when carrying out approval moderation posts.  Anyway to stop inews
>> doing this, or should another tool be used.
>
> Well, I have no experience with inews as I use rnews. With rnews an
> existing "Sender:" is kept intact. Providing a dummy value (like the
> value of "Approved:") is the only work-around I know.
>
>> Can I just drop a file directly into the spool and it will take it?
>
> No.

Okay, thanks for your help.  I think I've got it down now.
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