🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Terrance Richard Boyes Sun, 13 May 2001 21:21
Re: Problem with put.news.sm/rpost [ suck 4.2.5; INN 2.3.1 ]
#52296
Author: Terrance Richard Boyes
Date: Sun, 13 May 2001 21:21
25 lines
2432 bytes
In news.software.nntp Darren Wyn Rees <merlin@netlink.co.uk> wrote:
> Can't seem to get suck to post articles to an external news server.
> It works on sucking articles, and posting locally, but I'm stumped
> why it doesn't post to an external news server.

Your put.news.sm is broken

  TMPFILE=/tmp/tmp$$
  OUTFILE=$2

  /home/news/bin/sm $1 >  $TMPFILE

  if [ -f ${TMPFILE} ]; then

    /^NNTP-Posting-Date/d' < ${INFILE} > ${OUTFILE}

What ${INFILE} ?

-- 
<URL:http://www.pierrot.co.uk/>                                  Team AMIGA
Real Programmers do not clear registers twice before using them.  In fact,
if you annoy a Real Programmer, he/she won't clear the registers at all.
And that goes for your memory, too.

Re: Problem with put.news.sm/rpost [ suck 4.2.5; INN 2.3.1 ]
#52299
Author: Tony Houghton
Date: Sun, 13 May 2001 21:37
23 lines
2013 bytes
In <20010513.212152.9E9801DE.Diaa@pierrot.co.uk>,
Terrance Richard Boyes <tez@pierrot.co.uk> wrote:

> In news.software.nntp Darren Wyn Rees <merlin@netlink.co.uk> wrote:
> > Can't seem to get suck to post articles to an external news server.
> > It works on sucking articles, and posting locally, but I'm stumped
> > why it doesn't post to an external news server.
> 
> Your put.news.sm is broken

I don't think it's that. I had the same problem, it's in the script that
calls rpost (eg get.news.inn in suck's sample directory). You need to
get rid of the -p ${SPOOLDIR} option; that's what's adding the pathname
to the token, it's meant for older versions of INN which generate
incomplete pathnames instead of tokens.

But if you are going to use something based on put.news.*, do use the
.sm versions, at least as a basis. I find it's well worth making the
extra effort at precompile-time to use perl.

-- 
TH * http://www.realh.co.uk
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