🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46069

Re: nntp posting utility?

#46069
From: 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.

Technical Details
Message-ID: <8e62bn$sd4$1@news.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.nntp.mbox.zip!not-for-mail
References: <8dq9g2$11k9$1@vanaema.matti.ee> <ylk8hqx6u0.fsf@windlord.stanford.edu> <8dscnm$2c2t$1@vanaema.matti.ee> <8e4dm0$4l3$2@news.neth.hp.com> <ylitx596nh.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <8e62bn$sd4$1@news.neth.hp.com>
Subject: Re: nntp posting utility?
Date: Wed, 26 Apr 2000 00:00:00 +0000
From: Frank Slootweg <franks@neth.hp.com>
References: <8dq9g2$11k9$1@vanaema.matti.ee> <ylk8hqx6u0.fsf@windlord.stanford.edu> <8dscnm$2c2t$1@vanaema.matti.ee> <8e4dm0$4l3$2@news.neth.hp.com> <ylitx596nh.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 615795022
Organization: NOYB
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (HP-UX/B.10.20 (9000/847))
Newsgroups: news.software.nntp