🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49468

Re: using suck with inn

#49468
From: Carlo Fusco
Date: Thu, 21 Dec 2000 20:06
46 lines
2168 bytes
steffie <steffie@indoleeroord.penguinpowered.com> wrote:
> Hello,
> i set up a INN 2.3.0

> and i am using suck to fetch news.
[cut]

When I was using INN 1.7 and suck I posted my articles with this script:

------------------------
FEED=tin
SERVER=news.tin.it
pushd /var/spool/news/out.going/
if [ -s $FEED.notsent ]; then  
  cat $FEED.notsent >> $FEED   
  rm -f $FEED.notsent
fi
if [ -s /var/spool/news/out.going/$FEED ]; then
  mv $FEED $FEED.work
  ctlinnd -s -t30 flush $FEED   
  cp $FEED.work $FEED.bak      
  rpost $SERVER -d -b $FEED.work \
   -f /usr/lib/suck/put-news \$\$i \
   /var/lib/suck/rpost \$\$o=/var/lib/suck/rpost \
   > /var/log/rpost.log
  if [ -s $FEED.work ]; then    
    mv $FEED.work $FEED.notsent 
  fi
fi &
popd
------------------------

I got the  script from a faq  (in Italians) about  the configuration of
INN   and  suck,  if  you  can/want  to  read   it   this is the  url:
http://www.linux.it/~md/inn+suck-HOWTO.gz

The  variable $FEED is   the  name you  gave  to  your batch file   in
/etc/news/newsfeeds   and  $SERVER  obviously   is  the name  of  your
server. You might need to change the path of rpost.

Anyway, now I am using newsx which is faster and easier to configure.

-- 
ciao
cf  
Technical Details
Message-ID: <91tnsg$2ki$1@frodo.dyndns.org>
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!supernews.google.com!sn-xit-03!supernews.com!news.tele.dk!193.174.75.178!news-fra1.dfn.de!fu-berlin.de!uni-berlin.de!pcp001017pcs.mgh.harvard.EDU!not-for-mail
References: <3a422db1$0$1420@reader3>

Show Full Headers
Complete Article Headers
Message-ID: <91tnsg$2ki$1@frodo.dyndns.org>
Subject: Re: using suck with inn
Date: Thu, 21 Dec 2000 20:06:40 +0000
From: messer_samvise@libero.it (Carlo Fusco)
References: <3a422db1$0$1420@reader3>
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!supernews.google.com!sn-xit-03!supernews.com!news.tele.dk!193.174.75.178!news-fra1.dfn.de!fu-berlin.de!uni-berlin.de!pcp001017pcs.mgh.harvard.EDU!not-for-mail
Newsgroups: news.software.nntp
Organization: Don Chishotte Clan
Lines: 45
NNTP-Posting-Host: pcp001017pcs.mgh.harvard.edu (132.183.24.181)
X-Trace: fu-berlin.de 977429218 5509126 132.183.24.181 (16 [55735])
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.2.18pre21 (i586))