🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60033

Re: Redirect/Saving newsgroup to different newsgroup.

#60033
From: Russ Allbery
Date: Fri, 23 Aug 2002 23:11
41 lines
2894 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:

> I just realized this may subtly break things in obscure cases where the
> $src newsgroup is a proper substring of some other existing newsgroup
> used for crossposting (or followups).  I suppose the code could probably
> be fixed by something like

> s/[^-.+[:alnum:]]$src[^-.+[:alnum:]]/$dst/g
>   if 1 .. /^$/ and /^(Newsgroups|Followup-To|Xref):/i;

> or whatever (I'm not sure exactly what the characterset for newsgroup
> names is offhand), but boy is it ugly.  (Also untested.)

I bailed on this and just documented the problem, since you can have
almost anything in a newsgroup name.

> Want to mention the new refeeding program that somebody just submitted?
> (Hmm, I guess there could be an option for that to take care of the
> find-replace and even the Message-ID tweaking if desired.  Russ, does
> this even make sense, or am I falling asleep at the keyboard?)

I think I missed the refeeding program, but in general that would make
sense.

> How hard would it be to supply a tool (or bit of script in the FAQ
> itself) to remove Message-IDs from history?  I've never played with the
> history database, but it can't be that hard, can it?

Not *too* hard, although you have to find the message ID by hash and
you'll have to stop the server, so it's more than I think I can write in
the FAQ.  But it could be provided as a tool with INN and wouldn't be too
hard to write.

Maybe an option to grephistory?  (Making it even more poorly named?)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <yl3ct5mapu.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <3D1A0033.9010402@acme.nsc.com> <ylr8ingdqb.fsf@windlord.stanford.edu> <afrib3$dc3$2@puck.litech.org> <ylr8gpv5in.fsf@windlord.stanford.edu> <ak6ec6$mb5$3@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <yl3ct5mapu.fsf@windlord.stanford.edu>
Subject: Re: Redirect/Saving newsgroup to different newsgroup.
Date: Fri, 23 Aug 2002 16:11:57 -0700
From: Russ Allbery <rra@stanford.edu>
References: <3D1A0033.9010402@acme.nsc.com> <ylr8ingdqb.fsf@windlord.stanford.edu> <afrib3$dc3$2@puck.litech.org> <ylr8gpv5in.fsf@windlord.stanford.edu> <ak6ec6$mb5$3@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 40
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1030144317 13141 171.64.13.23 (23 Aug 2002 23:11:57 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:xoDRNRMnmkfbgcBFmra9toxZCsg=