🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Andre Addicks Sun, 25 Oct 1998 00:00
crossposting to local group
#32447
Author: Andre Addicks
Date: Sun, 25 Oct 1998 00:00
16 lines
1050 bytes
Hello,

I have the following problem:

On our newsserver (inn 1.7.2) we have for instance the newsgroups alt.test and 
a local newsgroup local.test. When an external user is posting (using his 
provider newsserver) to the alt.test group and he also does a crossposting to 
the local.test group (he knows that the group exists with us), then the article 
is placed in both groups on our newsserver. 
Is there a possibility to block external (cross)-postings to local groups ?

grtx
Andre Addicks


Re: crossposting to local group
#32440
Author: Aidan Cully
Date: Sun, 25 Oct 1998 00:00
42 lines
1924 bytes
In news.software.nntp, A.Addicks@kpn.com (Andre Addicks) wrote:
> Hello,
> 
> I have the following problem:
> 
> On our newsserver (inn 1.7.2) we have for instance the newsgroups alt.test and 
> a local newsgroup local.test. When an external user is posting (using his 
> provider newsserver) to the alt.test group and he also does a crossposting to 
> the local.test group (he knows that the group exists with us), then the article 
> is placed in both groups on our newsserver. 
> Is there a possibility to block external (cross)-postings to local groups ?

If you want the external site to be able to feed you local groups as well
as other groups, none that I'm aware of, unless you want to write/modify a
perl filter to do this for you.  Something like
sub filter_art {
	@ngarray = split(/,/, $hdr{'Newsgroups'});
	$inlocal = undef;
	$inother = undef;
	foreach $i (@ngarray) {
		if ($i =~ /^local\..*/) {
			$inlocal = 1;
		} else {
			$inother = 1;
		}
	}
	if ($inlocal == 1 && $inother == 1) {
		return "Crossposted between local and foreign group.";
	}
	return "";
}
Install it in /news/bin/filter/filter_innd.pl.  This is completely
untested, but it should get you started.

HTH,
--aidan
-- 
Aidan Cully       "Umm..  Could you call back?  My house is on fire."
Panix Staff          --Tom Waits
aidan@panix.com

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