🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Remco Blaakmeer Mon, 27 May 2002 22:31
Re: INN generating list of articles
#58990
Author: Remco Blaakmeer
Date: Mon, 27 May 2002 22:31
22 lines
1789 bytes
On Mon, 27 May 2002 21:59:55 GMT, "davidc" <davidc@hotpop[d.o.t]com> wrote:
> I'm trying to setup rpost but it requires a list of the paths to articles.
> My newsfeeds file contains this:
> 
> winbox/winbox\
>        :*,!snipped.*/!snipped\
>        :Tf,Wnm:
> 
> Which is nicely appending to /var/spool/news/outgoing/winbox but in this
> form:
> 
> @05010000000C0000006E0000000000000000@ <acmafd.2hg.1@snipped.net>
> 
> How can I get it to instead output a list of paths to articles so that rpost
> can use it?

You can't. Use a more recent version of rpost instead.

Remco
-- 
remco3:  00:25:01 up 1 day, 30 min,  5 users,  load average: 2.79, 2.40, 2.19
Re: INN generating list of articles
#58993
Author: Erik Hensema
Date: Tue, 28 May 2002 08:47
51 lines
2626 bytes
Remco Blaakmeer (remco@remco.hn.org) wrote:
> On Mon, 27 May 2002 21:59:55 GMT, "davidc" <davidc@hotpop[d.o.t]com> wrote:
>> I'm trying to setup rpost but it requires a list of the paths to articles.
>> My newsfeeds file contains this:
>> 
>> winbox/winbox\
>>        :*,!snipped.*/!snipped\
>>        :Tf,Wnm:
>> 
>> Which is nicely appending to /var/spool/news/outgoing/winbox but in this
>> form:
>> 
>> @05010000000C0000006E0000000000000000@ <acmafd.2hg.1@snipped.net>
>> 
>> How can I get it to instead output a list of paths to articles so that rpost
>> can use it?
> 
> You can't. Use a more recent version of rpost instead.

Only a week ago or so I downloaded the latest suck/rpost and they can't
handle spooltokens.

I'm currently using this script:

        OUTGOING=$SPOOLDIR/outgoing/$SERVER

        if [ ! -s $OUTGOING.new ] ; then
                mv $OUTGOING $OUTGOING.new
                $CTLINND flush $1 |log 2>&1
        fi
        
        while read token rest; do
                $SM $token | $SCRIPT | $RPOST $1 $2 -M > $SUCKLOG 2>&1

                if [ $? -ne 0 ] ; then
                        echo $token >> $OUTGOING.new.fail
                        GOT_ERROR=yes
                fi

        done < $OUTGOING.new

        rm $OUTGOING.new


$SCRIPT is a sed-script to remove unwanted headers, I think you can figure
the rest out yourself relatively easily.

-- 
Erik Hensema (erik@hensema.net)                             ICQ# 8280101
Help me, I'm a prisoner in a Fortune cookie file!
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