Article View: news.software.readers
Article #26777Re: Help with INEWS
From: Frank Slootweg
Date: Wed, 09 Oct 1996 00:00
Date: Wed, 09 Oct 1996 00:00
46 lines
2129 bytes
2129 bytes
(Late response due to extended absence.)
On September 18, Bruce Hodo (webmaster@getawaynet.com) wrote:
> I've written a perl script to send postings to newsgroups using INEWS.
> But I'm getting the following message:
> "Warning What server? -- Article will be spooled."
> Am I missing some path info or what? This is how I invoke INEWS:
> >open (INEWS,
> >"| $inews -n$newsgroup -f\"$from\" -t\"${subject}\" "
> >." -o\"$organization\"")
> > || do {
> > open (ERRMAIL,$maillist);
> > print ERRMAIL "Error during $type post to INEWS: $1";
> > close ERRMAIL;
> > die "Error during $type post to INEWS: $1";
> >};
> >
> >print INEWS @body;
> >close INEWS;
> $newsgroup is a comma delimited list of newsgroups, $from is my name,
> ${subject} is the subject of the posting, $organization is my company,
> and
> @body is the text of the messages. Any help(or pointers to help) will be
> appreciated!
> -
> --
> Bruce Hodo - Webmaster, GetAwayNetwork, Inc.
> ==Providing vacation information services on the World Wide Web==
> For Villas, Resorts, Hotels, Air/Hotel Packages, Charter Airfares
> =============== Visit us at http://getawaynet.com ===============
On my system, inews runs out of the box. I have not inspected the
source to see how it gets the server name, but string(1)-ing the
executable gives a "NNTPSERVER". Assuming it is like tin, I suggest to
set (and export) this shell variable to the name of your server, i.e. in
my case
NNTPSERVER=hpuamsa.neth.hp.com ; export NNTPSERVER
[rest of stuff]
Technical Details
Message-ID:
<53fr77$jat@hpuamsa.neth.hp.com>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-mailReferences:
<323F2A52.6F1A@getawaynet.com>Show Full Headers
Complete Article Headers
Message-ID: <53fr77$jat@hpuamsa.neth.hp.com> Subject: Re: Help with INEWS Date: Wed, 09 Oct 1996 00:00:00 +0000 From: franks@neth.hp.com (Frank Slootweg) References: <323F2A52.6F1A@getawaynet.com> 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: 188210485 Organization: NOYB Newsgroups: news.software.readers