Thread View: news.software.readers
2 messages
2 total messages
Started by Bruce Hodo
Tue, 17 Sep 1996 00:00
Help with INEWS
Author: Bruce Hodo
Date: Tue, 17 Sep 1996 00:00
Date: Tue, 17 Sep 1996 00:00
34 lines
1671 bytes
1671 bytes
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 ===============
Re: Help with INEWS
Author: 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]
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads