🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #91057

Re: Junk messages

#91057
From: Nigel Reed
Date: Mon, 06 Nov 2023 21:52
61 lines
2835 bytes
On Mon, 6 Nov 2023 12:07:37 -0800
Etian <etian@sonic-news.com> wrote:

> On 11/6/23 10:57, Nigel Reed wrote:
> > Some clown has jumped over 1500 junk spam whatever messages into
> > comp.sys.arcorn.misc - I'm sure there's probably others with a
> > similar issue.
> > 
> > Can anyone recommend a good way for me to delete all these?
> > Obviously cutting and posting the messageid into the cancel command
> > is not an option.
> > 
> > Thanks,
> > 
> >   
> On 11/6/23 10:57, Nigel Reed wrote:
>  > Some clown has jumped over 1500 junk spam whatever messages into
>  > comp.sys.arcorn.misc - I'm sure there's probably others with a
>  > similar issue.
>  >
>  > Can anyone recommend a good way for me to delete all these?
>  > Obviously cutting and posting the messageid into the cancel
>  > command is not an option.
>  >
>  > Thanks,  
> 
> To clean up a trashed newsgroup, I use a newsreader that will make an 
> nzb of selected messages (e.g. pan or forte), then run this PERL
> script. It's crude, and somebody can probably improve it, perhaps for
> inclusion in the INN package.
> 
> #!/usr/bin/perl
> use strict;
> use warnings;
> 
> ## this script will purge all message_id's found in the specified file
> #follow with expireover -s -f /usr/local/news/tmp/group.txt
> 
> my ($nzbfile) = @ARGV or die "No file specified";
> 
> unless (index($nzbfile,'.nzb')>1) {die "file must have .nzb
> extension";} open(NZB,$nzbfile) or die "file not found";
> while (<NZB>) {
> 	if (m/\>(.+)\</) {
> 		my $command = "/usr/local/news/bin/ctlinnd cancel " .
> '"<' . $1 . '>"';
> 
> 		system ($command);
> 	};
> }
> exit;

Thanks, I looked a bit more into this after I posted and saw that I
didn't have cem configured in my newsfeeds so I added a bunch of ssh
keys and configured nocem.ctl and let it rip! It's currently doing a
clean up.

-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
Technical Details
Message-ID: <20231106155251.4cbd6e0a@wibble.sysadmininc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <20231106125731.7a2335a5@wibble.sysadmininc.com> <db5b3$65494789$a6b0bb2b$32283@news.sonic-news.com>

Show Full Headers
Complete Article Headers
Message-ID: <20231106155251.4cbd6e0a@wibble.sysadmininc.com>
Subject: Re: Junk messages
Date: Mon, 6 Nov 2023 15:52:51 -0600
From: Nigel Reed <sysop@endofthelinebbs.com>
References: <20231106125731.7a2335a5@wibble.sysadmininc.com> <db5b3$65494789$a6b0bb2b$32283@news.sonic-news.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: End Of The Line BBS
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: www.sysadmininc.com; posting-host="47.186.47.220"; logging-data="3355609"; mail-complaints-to="abuse@endofthelinebbs.com"
X-Newsreader: Claws Mail 4.1.1git47 (GTK 3.24.33; x86_64-pc-linux-gnu)