🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #15999

Re: [TRN 3.6] News to EMail script

#15999
From: Peter Kappesser
Date: Mon, 13 Mar 1995 19:38
29 lines
2319 bytes
Recently in news.software.readers, jdfalk@cais.com wrote:
>	A friend of mine doesn't receive the very low-volume newsgroup
>alt.tv.magnum-pi, so I'm looking for some way to EMail him any articles. 
>Is there a good way to do this through TRN (with a crontab entry or some
>such) without messing up my reading of other groups? 

Yes, I've got such a setup running for some net.friends of mine who can't
read news and get the articles from their favorite newsgroups from me by
mail.

You can set up trn to run with a different .newsrc and killfiles, and to run
as a cron job, using the procedures outlined in the trn FAQ. In the
killfile, you have a command to pipe each article to a script which does the
mailing. I use a perl script which first filters out some lines that may
appear in mail headers which may cause trouble (i.e., "Cc" and "Sender") or
are just clutter (e.g., "Path" and anything beginning with "X-"). It also
logs the mailings so you can keep track that it's working properly.

Actually, it's possible to have perl connect to the news server too, and get
the articles itself, bypassing trn; but I have trn kill some articles before
mailing, such as those crossposted to more than three groups, those of less
than three lines, and those with certain keywords in the subject.

I'd offer to simply set up your friend on my remailer... but we don't get
alt.tv.magnum-pi here either!

--
Find out about furries! http://web.syr.edu/~pjkappes/furry.html
pjkappes@mailbox.syr.edu (Peter Kappesser)
Technical Details
Message-ID: <3k26vq$7kp@newstand.syr.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!news.cac.psu.edu!news.tc.cornell.edu!travelers.mail.cornell.edu!newstand.syr.edu!forbin.syr.edu!pjkappes
References: <3k0bu6$g6c@news.cais.com>

Show Full Headers
Complete Article Headers
Message-ID: <3k26vq$7kp@newstand.syr.edu>
Subject: Re: [TRN 3.6] News to EMail script
Date: Mon, 13 Mar 1995 19:38:33 +0000
From: pjkappes@forbin.syr.edu (Peter Kappesser)
References: <3k0bu6$g6c@news.cais.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!news.cac.psu.edu!news.tc.cornell.edu!travelers.mail.cornell.edu!newstand.syr.edu!forbin.syr.edu!pjkappes
Newsgroups: news.software.readers
Organization: Not Quite Syracuse University, Syracuse, NY
Lines: 29
Reply-To: pjkappes@mailbox.syr.edu
NNTP-Posting-Host: forbin.syr.edu