🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55850

Re: rh 7.2 inn and suck (not able to post)

#55850
From: Frederic Dupas
Date: Wed, 02 Jan 2002 21:31
62 lines
3113 bytes
On Tue, 01 Jan 2002 15:02:32 -0000, GaryM <garymcm@xyxaxhxoxo.com> wrote:
>I spent a couple of days on this now and I admit I am beaten.
>
>I have INN up and working and suck is happily retrieving 
>articles from my ISP. 
>
>The issue I have is that I cannot post articles. 
>
>When I post to alt.test, I see the article in my newsreader and 
>I see an entry created in the /var/spool/news/outgoing/
>{sitename} file with the long file name then the msgid. However, 
>it seems to me that the file it xrefs to does not exist. When 
>get.news.inn runs, it cannot find the file referenced in there.
>
>I am not sure what config files to post as this is my first time 
>here (I have read as much of google on as many keyword combos I 
>can think).
>
>Help would be much appreciated.
>
Have you tried to post it with rpost ?

Here is my script to post from my local INN to  my ISP's server.

I let french in the script, but if it cause you any trouble, ask the
translation.

#!/bin/bash
#

     SERVEUR_DISTANT=news.nerim.net
     OUT_GOING=news.nerim.net
     PATH_SUCK=/var/lib/suck
     PATH_SPOOL=/var/spool/news
     ARTICLES=articles
     NOM_BATCH=$PATH_SPOOL/outgoing/$OUT_GOING
     NOM_FILTRE=$PATH_SUCK/entete

     echo Envoi des articles...
     if test -s $NOM_BATCH
     then
      /usr/bin/rpost $SERVEUR_DISTANT -b $NOM_BATCH -p $PATH_SPOOL/$ARTICLES \
            -f $NOM_FILTRE \$\$o=/tmp/filtres \$\$i /tmp/filtres && \
            cat /dev/null > $NOM_BATCH || \
            echo "probleme de postage" | mail news -s "probleme avec rpost"
     else
      echo "pas d'articles a poster..."
     fi

And the "entete" script :

#!/bin/sh
     sed -e "/^X-Trace/d" -e "/^NNTP-Posting-Host/d" -e "/^Xref/d"\
         -e "/^X-Complaints-To/d"  -e "/^NNTP-Posting-Date/d" $1 > $2


Inspired from http://www.linux-france.org/article/usenet/jaco/
(in french)

-- 
Fr�d�ric
Technical Details
Message-ID: <slrna36v1d.su.frederic.dupas@frodon.tolkien>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!isdnet!proxad.net!nerim.net!norfair.nerim.net!frodon.tolkien!frederic.dupas
References: <Xns91896633A4360R3344324357788499939@207.126.101.100>

Show Full Headers
Complete Article Headers
Message-ID: <slrna36v1d.su.frederic.dupas@frodon.tolkien>
Subject: Re: rh 7.2 inn and suck (not able to post)
Date: Wed, 02 Jan 2002 21:31:25 +0000
From: frederic.dupas@libertysurf.fr (Frederic Dupas)
References: <Xns91896633A4360R3344324357788499939@207.126.101.100>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!isdnet!proxad.net!nerim.net!norfair.nerim.net!frodon.tolkien!frederic.dupas
Newsgroups: news.software.nntp
Organization: Linux powered
Lines: 61
Reply-To: frederic.dupas@libertysurf.fr
NNTP-Posting-Host: aboukir-101-1-10-fdupas.adsl.nerim.net
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: norfair.nerim.net 1010007103 28905 62.212.98.134 (2 Jan 2002 21:31:43 GMT)
X-Complaints-To: abuse@nerim.net
NNTP-Posting-Date: Wed, 2 Jan 2002 21:31:43 +0000 (UTC)
User-Agent: slrn/0.9.6.4 (Linux)