🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #126365

Command-line posting (non-interactive)

#126365
From: Philip Willoughby
Date: Fri, 13 Jun 2003 17:05
42 lines
2297 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I need to add a command to automatically post to a newsgroup to a script
I've written.  I know this must be possible, or spammers couldn't
operate ;-).

However, I need the command to work whether the user in question uses
news at all or not.  I can assume the NNTPSERVER variable will be set
correctly, but the .newsrc may be missing or not contain the group in
question.

I've looked at using slrn (no), trn (no), and nnpost (yes, if you set it
up first).

To set your minds at rest, my script installs new software into a
network-wide location.  Since the stuff is not officially supported, I
can't email everyone as I normally would, but at the same time I'd like
to give users a better method of finding when it's updated than "watch
ls" ;-).

Any ideas?

Regards,

Philip Willoughby
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+6gRni294YDsKgb0RAjnpAKCMS9uJql9N6CBF2HLJgQZfnIrJEgCfeyPD
HByVqJ9QmIVInuwn0Z7ncYY=
=9o85
-----END PGP SIGNATURE-----

-- 
Systems Programmer, Department of Computing, Imperial College, London, UK

echo bzidd@nfo.ho.co.se | tr "bizndfohces" "pwgd9ociaku"
Why reinvent the wheel?                 Because we can make it rounder...
Technical Details
Message-ID: <bcd097$t4l$1@harrier.doc.ic.ac.uk>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!easynet-quince!easynet.net!mephistopheles.news.clara.net!news.clara.net!server3.netnews.ja.net!news.doc.ic.ac.uk!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <bcd097$t4l$1@harrier.doc.ic.ac.uk>
Subject: Command-line posting (non-interactive)
Date: Fri, 13 Jun 2003 17:05:43 +0000
From: Philip Willoughby <pgw99@doc.ic.ac.uk>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!easynet-quince!easynet.net!mephistopheles.news.clara.net!news.clara.net!server3.netnews.ja.net!news.doc.ic.ac.uk!not-for-mail
Newsgroups: news.software.readers
Organization: Imperial College, London
Lines: 41
NNTP-Posting-Host: kungfu.doc.ic.ac.uk
X-Trace: harrier.doc.ic.ac.uk 1055523943 29845 146.169.6.1 (13 Jun 2003 17:05:43 GMT)
X-Complaints-To: abuse@doc.ic.ac.uk
NNTP-Posting-Date: Fri, 13 Jun 2003 17:05:43 +0000 (UTC)
X-PGP-KeyID: E68055C9
User-Agent: slrn/0.9.7.4 (Linux)