🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #62965

Re: [slrn/slang] Fully automagically post article?

#62965
From: Arjan Drieman
Date: Mon, 03 Jul 2000 00:00
48 lines
3031 bytes
On 3 Jul 2000 06:36:45 GMT, J.B. Nicholson-Owens <jbn@forestfield.org> wrote:
>> I am looking for a way to automatically post articles either by
>> directly talking to the NNTP port of my newsserver, or by composing
>> them automatically and post them from a slang script.
>
>You'll probably want to use a completely different program.  You could use
>slrnpull (and cron if what you want to post is to be periodically posted) or
>something not related to slrn at all (something geared for posting not being
>a full newsreader).  I'm sure there are plenty of freely available options
>to do this.

Well see, I don't want to post the same article periodically.  That'd
be no problem, I'd just use rnews or something.

I'm a spam canceler.  In the nl.* hierarchy, ECP is handled by a bot,
as well as bincancels.  What I mainly do is just cancel MMF and EMP
spam, as well as an occasional spew.  I do that just when I see it, by
telnetting to my news server's NNTP port.

It's a pain in the butt to do it that way, so I want to have a script
in slrn to just hit a magic key combination.  It then asks me for the
type of cancel, and constructs a proper third party cancel from the
original headers.  Retreiving that information, building a proper MID
etcetera is no problem.

The only problem is to get slrn to send the cancel.  The From line is
not my own, I need to preload a path like cyberspam!mmfspam, need to
use the Control field, etcetera.  So just using post_hooks doesn't do
the trick as slrn doesn't allow composed From lines.  So I thought I'd
just somehow push it to the server myself, if possible.

I just found out there's a "system" function in slang just like c, so
I'll probably end up stuffing my cancel in a file and using "system"
to call a shell script that uses netcat to push it to the server.  I
just think it's ugly that way and I'd rather do it directly from slrn
;-)

I hope it makes a little more sense now :-)


Thanks,
Arjan
-- 
Maak spam illegaal!
Teken de petitie voor het Europees Parlement.
http://www.euro.cauce.org/

Technical Details
Message-ID: <slrn8m0osn.8f.qhpxvr@quack.node0911.a2000.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn8m00ra.1ur.qhpxvr@quack.node0911.a2000.nl> <slrn8m0d3r.7h.jbn@forestfield.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8m0osn.8f.qhpxvr@quack.node0911.a2000.nl>
Subject: Re: [slrn/slang] Fully automagically post article?
Date: Mon, 03 Jul 2000 00:00:00 +0000
From: qhpxvr@abqr0911.n2000.ay.invalid (Arjan Drieman)
References: <slrn8m00ra.1ur.qhpxvr@quack.node0911.a2000.nl> <slrn8m0d3r.7h.jbn@forestfield.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 641761642
X-Complaints-To: abuse@a2000.nl
X-Trace: weber.a2000.nl 962618259 9638 62.108.9.17 (3 Jul 2000 09:57:39 GMT)
Organization: A2000 Kabeltelevisie en Telecommunicatie
User-Agent: slrn/0.9.6.2 (Linux)
Reply-To: duckie@duckie.neep.net
NNTP-Posting-Date: 3 Jul 2000 09:57:39 GMT
Newsgroups: news.software.readers
X-Authors-Homepage: http://duckie.neep.net/