🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #14594

Script to take mailed control messages & act on them?

#14594
From: Michael Hucka
Date: Thu, 30 Jan 1997 00:00
21 lines
1595 bytes
I'm sure someone must have written a script to do this already, so in an
effort to save myself from reinventing the wheel . . .

Does anyone have a script that will take control messages mailed to the news
account (e.g., because nothing matched in control.ctl) and run them through
the appropriate newgroup/rmgroup control script?  Sure, you can cut and paste
the command line manually, or even save your mail to a file and grep out the
"ctlinnd foo group" part, but that won't do the work of adding a newsgroups
file entry in the case of newgroup control messages.

Ideally, I'd like something that takes one or more saved mail messages,
parses out the four fields required by the newgroup/rmgroup control scripts,
and then hands them to the proper newgroup/rmgroup script.

-- 
Michael Hucka    hucka@umich.edu   <URL: http://ai.eecs.umich.edu/people/hucka>
PhD to be, computational models of human visual processing (AI Lab)  University
UNIX systems administrator & programmer/analyst (EECS DCO)          of Michigan

Technical Details
Message-ID: <82bua7wsvp.fsf@robin.eecs.umich.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!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <82bua7wsvp.fsf@robin.eecs.umich.edu>
Subject: Script to take mailed control messages & act on them?
Date: Thu, 30 Jan 1997 00:00:00 +0000
From: Michael Hucka <hucka@eecs.umich.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!not-for-mail
X-Deja-AN: 213181986
Organization: University of Michigan EECS, Ann Arbor, Mich., USA
Newsgroups: news.software.nntp