🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by Vallo Kallaste Fri, 21 Apr 2000 00:00
nntp posting utility?
#45933
Author: Vallo Kallaste
Date: Fri, 21 Apr 2000 00:00
11 lines
984 bytes
Hi

Are there some utility to post articles like inews does, but remote?
I found almost nothing, libnet for perl and some shell script found 
here days ago.
-- 

Vallo Kallaste
vallo@matti.ee

Re: nntp posting utility?
#45926
Author: Russ Allbery
Date: Fri, 21 Apr 2000 00:00
14 lines
1139 bytes
Vallo Kallaste <vallo@matti.ee> writes:

> Are there some utility to post articles like inews does, but remote?  I
> found almost nothing, libnet for perl and some shell script found here
> days ago.

inews does post articles remotely.  There's a mini-inews that comes with
various Unix newsreaders, including IIRC trn and nn, which may be more
suitable for use outside of an INN installation.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: nntp posting utility?
#45936
Author: Vallo Kallaste
Date: Sat, 22 Apr 2000 00:00
19 lines
1511 bytes
Russ Allbery <rra@stanford.edu> wrote:

>> Are there some utility to post articles like inews does, but remote?  I
>> found almost nothing, libnet for perl and some shell script found here
>> days ago.

> inews does post articles remotely.  There's a mini-inews that comes with
> various Unix newsreaders, including IIRC trn and nn, which may be more
> suitable for use outside of an INN installation.

Thanks, I got one from trn4 distribution. After all I trussed inews 
which come with inn and now I almost understand why it doesn't work 
_outside_ of inn installation as you said :-)
-- 

Vallo Kallaste
vallo@matti.ee

Re: nntp posting utility?
#46003
Author: Russ Allbery
Date: Tue, 25 Apr 2000 00:00
14 lines
1269 bytes
Frank Slootweg <franks@neth.hp.com> writes:

> Doesn't INN's inews work correctly (and remotely) if you have the proper
> inn.conf file? I have never tried that, but AFAIK that should work.

You can make it work, but rewriting it completely into something that
should be much easier to use standalone is something that I intend to do
(and which may get done sooner rather than later since I need it for my
day job too).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: nntp posting utility?
#46011
Author: Vallo Kallaste
Date: Tue, 25 Apr 2000 00:00
17 lines
1428 bytes
Frank Slootweg <franks@neth.hp.com> wrote:

>   Doesn't INN's inews work correctly (and remotely) if you have the
> proper inn.conf file? I have never tried that, but AFAIK that should
> work.

>   Another, somewhat less friendly (for *this* purpose) alternative may
> be the rpost component of the suck package.

Hmm, if I recall the truss output it needs newsgroups file also. 
Actually, I don't remember. Thanks for another pointer, thought.
-- 

Vallo Kallaste
vallo@matti.ee

Re: nntp posting utility?
#46021
Author: Andrew Gierth
Date: Tue, 25 Apr 2000 00:00
17 lines
1550 bytes
>>>>> "bill" == bill davidsen <davidsen@tmr.com> writes:

 >>   Doesn't INN's inews work correctly (and remotely) if you have the
 >> proper inn.conf file? I have never tried that, but AFAIK that should
 >> work.

 bill>   Not without some co-operation on the other end. If you set up
 bill> a posting server the feed is done by IHAVE (peer to peer)
 bill> rather than POST (client to server) protocol.

not true - INN's inews uses POST to send the article (yes, this leads to
a certain amount of duplicate functionality between inews and nnrpd).

-- 
Andrew.

Re: nntp posting utility?
#46029
Author: bill davidsen
Date: Tue, 25 Apr 2000 00:00
29 lines
2028 bytes
In article <8e4dm0$4l3$2@news.neth.hp.com>,
Frank Slootweg  <franks@neth.hp.com> wrote:
| Vallo Kallaste <vallo@matti.ee> wrote:

| >> inews does post articles remotely.  There's a mini-inews that comes with
| >> various Unix newsreaders, including IIRC trn and nn, which may be more
| >> suitable for use outside of an INN installation.
| >
| > Thanks, I got one from trn4 distribution. After all I trussed inews
| > which come with inn and now I almost understand why it doesn't work
| > _outside_ of inn installation as you said :-)
|
|   Doesn't INN's inews work correctly (and remotely) if you have the
| proper inn.conf file? I have never tried that, but AFAIK that should
| work.

  Not without some co-operation on the other end. If you set up a
posting server the feed is done by IHAVE (peer to peer) rather than POST
(client to server) protocol. If you are not on the list of peers you
can't do that.

--
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  "Doing interesting things with little computers since 1979"(tm)
The hardest test of maturity is knowing the difference between
resisting temptation and missing a once-in-a-lifetime opportunity.

Re: nntp posting utility?
#46032
Author: Frank Slootweg
Date: Tue, 25 Apr 2000 00:00
23 lines
1600 bytes
Vallo Kallaste <vallo@matti.ee> wrote:
> Russ Allbery <rra@stanford.edu> wrote:
> 
>>> Are there some utility to post articles like inews does, but remote?  I
>>> found almost nothing, libnet for perl and some shell script found here
>>> days ago.
> 
>> inews does post articles remotely.  There's a mini-inews that comes with
>> various Unix newsreaders, including IIRC trn and nn, which may be more
>> suitable for use outside of an INN installation.
> 
> Thanks, I got one from trn4 distribution. After all I trussed inews 
> which come with inn and now I almost understand why it doesn't work 
> _outside_ of inn installation as you said :-)

  Doesn't INN's inews work correctly (and remotely) if you have the
proper inn.conf file? I have never tried that, but AFAIK that should
work.

  Another, somewhat less friendly (for *this* purpose) alternative may
be the rpost component of the suck package.

Re: nntp posting utility?
#46068
Author: Abby Franquemont
Date: Wed, 26 Apr 2000 00:00
21 lines
1521 bytes
In article <ylitx596nh.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Frank Slootweg <franks@neth.hp.com> writes:
>
>> Doesn't INN's inews work correctly (and remotely) if you have the proper
>> inn.conf file? I have never tried that, but AFAIK that should work.
>
>You can make it work, but rewriting it completely into something that
>should be much easier to use standalone is something that I intend to do
>(and which may get done sooner rather than later since I need it for my
>day job too).

I keep toying with the notion of a CGI Pnews, but deciding to not do
it because the potential for suckage is too high. It's part of my
vaporware web-based newsreader that doesn't suck.

-- 
Abby Franquemont                             Systems Software Developer
abby@highwire.stanford.edu          HighWire Press, Stanford University

Re: nntp posting utility?
#46069
Author: Frank Slootweg
Date: Wed, 26 Apr 2000 00:00
37 lines
2359 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Frank Slootweg <franks@neth.hp.com> writes:
> 
>> Doesn't INN's inews work correctly (and remotely) if you have the proper
>> inn.conf file? I have never tried that, but AFAIK that should work.
> 
> You can make it work, but rewriting it completely into something that
> should be much easier to use standalone is something that I intend to do
> (and which may get done sooner rather than later since I need it for my
> day job too).

  As I advised Vallo, you may want to have a look at the rpost(1)
command which is part of the suck package. Earlier I said that it was
somewhat less friendly for this purpose, because I thought it only had a
batch mode which needs a "Tf,Wnm" type batch file, but now I re-read the
manpage and see that it also has a STDIN MODE:

>  STDIN MODE
>       rpost
> 
>       rpost hostname
> 
>       rpost reads one article from stdin and sends it to the NNTP server.
>       The article must have a header of at least two lines, namely
>       Newsgroups: and Subject: and a body (the article). Header and body
>       have to be separated by a newline.  Rpost does not change the article
>       in any way.
> 
>       Rpost uses the POST command to post your article, just like any
>       standard newsreader.  This is handy when using SLIP and PPP, since
>       most providers do not allow any other method to post articles (such as
>       nntpsend or innxmit).

  Of course I do not know what your exact needs are, but from your
description I think it is likely that rpost(1) will satisfy your needs.

Re: nntp posting utility?
#46070
Author: Russ Allbery
Date: Wed, 26 Apr 2000 00:00
17 lines
1533 bytes
Frank Slootweg <franks@neth.hp.com> writes:

> As I advised Vallo, you may want to have a look at the rpost(1) command
> which is part of the suck package. Earlier I said that it was somewhat
> less friendly for this purpose, because I thought it only had a batch
> mode which needs a "Tf,Wnm" type batch file, but now I re-read the
> manpage and see that it also has a STDIN MODE:

I need something that acts like inews and takes the same flags that inews
does, actually.  It's also an excuse to finish my dynamic string library
and write an NNTP library, so I'm ignoring reasons for not doing it
myself.  :)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: nntp posting utility?
#46117
Author: bill davidsen
Date: Fri, 28 Apr 2000 00:00
37 lines
2423 bytes
In article <87pure5ek2.fsf@erlenstar.demon.co.uk>,
Andrew Gierth  <andrew@erlenstar.demon.co.uk> wrote:
| >>>>> "bill" == bill davidsen <davidsen@tmr.com> writes:
| 
|  >>   Doesn't INN's inews work correctly (and remotely) if you have the
|  >> proper inn.conf file? I have never tried that, but AFAIK that should
|  >> work.
| 
|  bill>   Not without some co-operation on the other end. If you set up
|  bill> a posting server the feed is done by IHAVE (peer to peer)
|  bill> rather than POST (client to server) protocol.
| 
| not true - INN's inews uses POST to send the article (yes, this leads to
| a certain amount of duplicate functionality between inews and nnrpd).

  We're talking about two things here, if you have a server with a
posting host remote, nnrpd will use IHAVE to post. I have many of these,
if I don't put the reader server in incoming.conf as a peer it doesn't
work.

  Somehow I can't imaging anyone installing INN just to use inews, when
there are many better interfaces around designed to do this. My own
mposter and ppost, which should be in the archives of comp.source.unix,
they're that old, for example. And any of the similar things people are
using.

  INN inews is the saw blade from a Swiss Army Knife, if all you want to
do is cut you use a hacksaw.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  "Doing interesting things with little computers since 1979"(tm)
The hardest test of maturity is knowing the difference between
resisting temptation and missing a once-in-a-lifetime opportunity.

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