Thread View: news.software.nntp
5 messages
5 total messages
Started by GaryM
Tue, 01 Jan 2002 15:02
rh 7.2 inn and suck (not able to post)
Author: GaryM
Date: Tue, 01 Jan 2002 15:02
Date: Tue, 01 Jan 2002 15:02
23 lines
1727 bytes
1727 bytes
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.
--
Gary
(Email address is munged with x's)
Re: rh 7.2 inn and suck (not able to post)
Author: rnichols
Date: Wed, 02 Jan 2002 06:27
Date: Wed, 02 Jan 2002 06:27
30 lines
2285 bytes
2285 bytes
In article <Xns91896633A4360R3344324357788499939@207.126.101.100>,
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).
That string is not a file name. It's a token that must be passed to the
storage manager (see the manpage for "sm"), which will then write the
article to stdout. AFAIK the upstream posting package provided with
'suck' isn't compatible with that, but it's likely somebody has modified
it to work. In my own case I put yet another change into my truly
ancient version of 'suck' that's been so heavily modified over the years
that it bears little resemblance to the original.
--
Bob Nichols rnichols@interaccess.com
Re: rh 7.2 inn and suck (not able to post)
Author: Frederic Dupas
Date: Wed, 02 Jan 2002 21:31
Date: Wed, 02 Jan 2002 21:31
62 lines
3113 bytes
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
Re: rh 7.2 inn and suck (not able to post)
Author: bobyetman
Date: Wed, 02 Jan 2002 22:12
Date: Wed, 02 Jan 2002 22:12
7 lines
1234 bytes
1234 bytes
This gentleman's problem is solved, he needed to add the use of 'sm' to his script that rpost called. -- bobyetman@home.com (Robert A. Yetman)
Re: rh 7.2 inn and suck (not able to post)
Author: David Magda
Date: Sat, 05 Jan 2002 23:34
Date: Sat, 05 Jan 2002 23:34
30 lines
2314 bytes
2314 bytes
frederic.dupas@libertysurf.fr (Frederic Dupas) writes: [...] > 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. [...] The problem is that rpost expects the filename of the message to be present in the batchfile. However with INN 2.3.x that is not stored in the batch file. Only stuff like the "token" and Msg-ID. (See the 'W' modifier in newsfeeds(5).) How are you getting file/path to the message into rpost's batchfile? I know recent versions of INN-stable come with sm(8) which takes a "token" and outputs the actual message. Has anyone integrated this program with INN 2.3.x and suck 4.3.0? This is my stumbling block, getting the filename (or even the actuall message) to rpost so it can run it through the filter, and post it. -- David Magda <dmagda at ee.ryerson.ca> Because the innovator has for enemies all those who have done well under the old conditions, and lukewarm defenders in those who may do well under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI
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