Article View: news.software.nntp
Article #91001Re: Finding deleted newsgroups with articles still on spool?
From: Adam W.
Date: Mon, 23 Oct 2023 23:46
Date: Mon, 23 Oct 2023 23:46
15 lines
1724 bytes
1724 bytes
Jesse Rehmer <jesse.rehmer@blueworldhosting.com> wrote:
> Is there an easy-ish way to get a list of newsgroups for which spool files
> exist (tradspool) but the newsgroup has been deleted?
I don't know about tradspool (I don't use it), but I keep some groups in
timehash.
This one-liner worked:
[news@kvm ~]$ find spool/articles -type f -exec grep ^Newsgroups: {} \; | awk '{print $2}'|sed 's/,/\n/g' | sort | uniq
It will report groups even if they're mentioned in the body (if someone
reposts an article, for example, and "Newsgroups:" appears at the start of
the line).
Technical Details
Message-ID:
<uh70kk$hfd$2$arnold@news.chmurka.net>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-mailReferences:
<ug6u65$1f5n$1@nnrp.usenet.blueworldhosting.com>Show Full Headers
Complete Article Headers
Message-ID: <uh70kk$hfd$2$arnold@news.chmurka.net>
Subject: Re: Finding deleted newsgroups with articles still on spool?
Date: Mon, 23 Oct 2023 23:46:28 +0000
From: gof-cut-this-news@cut-this-chmurka.net.invalid (Adam W.)
References: <ug6u65$1f5n$1@nnrp.usenet.blueworldhosting.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: news.chmurka.net
Nntp-Posting-Host: s.v.chmurka.net
Injection-Date: Mon, 23 Oct 2023 23:46:28 -0000 (UTC)
Injection-Info: news.chmurka.net; posting-account="arnold"; posting-host="s.v.chmurka.net:172.24.44.20"; logging-data="17901"; mail-complaints-to="abuse-news.(at).chmurka.net"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.32-v7+ (armv7l))
Cancel-Lock: sha1:G2RJrfpsqUGl99GC1Px4zQv/CKQ= sha1:4/lk7J6FsI412ZBzrzvlVH0b6Ak= sha256:gmhbtm11ccwhQCnDbvL7by0qF4kX9a2CvRFlEK5NweE= sha1:sjDss5qO8VbAjCV0ujDCS5ornNY= sha256:MuveQIC/KW7b+Opc35zYeLXW/NLjBkuUAgctVqX3Lnc=