Thread View: news.software.nntp
11 messages
11 total messages
Started by Vik Heyndrickx
Sun, 14 Jan 2001 10:38
home INN server
Author: Vik Heyndrickx
Date: Sun, 14 Jan 2001 10:38
Date: Sun, 14 Jan 2001 10:38
16 lines
1386 bytes
1386 bytes
Hi, I'm a newbie as what INN concerns. I'm setting it up on a small home network. I want the news articles to be fed to my news server from that of my ISP. Ofcourse, he doesn't push the articles to my INN, so I have to pull them somehow. Can I use some part of the INN distribution to do this pulling or do I need extra software? Are there any guidelines as how to set this up? Many thanks, -- Vik
Re: home INN server
Author: Russ Allbery
Date: Sun, 14 Jan 2001 10:45
Date: Sun, 14 Jan 2001 10:45
13 lines
1322 bytes
1322 bytes
Vik Heyndrickx <vik.heyndrickx@pandora.be> writes: > I'm a newbie as what INN concerns. I'm setting it up on a small home > network. I want the news articles to be fed to my news server from that > of my ISP. Ofcourse, he doesn't push the articles to my INN, so I have > to pull them somehow. Can I use some part of the INN distribution to do > this pulling or do I need extra software? You probably want either newsx or suck. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: home INN server
Author: Ulf Kister
Date: Sun, 14 Jan 2001 13:39
Date: Sun, 14 Jan 2001 13:39
75 lines
3284 bytes
3284 bytes
Hi,
in case you decide to use suck you should be aware that the current
distribution does *not* cope with the outgoing/<site> file format the
inn versions 2.3.* produce when it comes to posting with rpost.
It took me a while to understand this; a little script might be
useful (please note that this is *my* homebrew; tested *only* with the
tradspool storage format):
##### snip #####
#!/bin/sh
#
# massage.outgoing
#
# little script to rewrite the outgoing files
# innd writes the articles tokens (such as
# "@0500000000070000000F0000000000000000@")
# into the outgoing files.
#
# This heavily confuses rpost; therefore we pass
# the tokens to the storage manager "sm" (man 8 sm)
# to write out the physical paths of the outbound
# articles instead.
#
# The massaged outgoing file maythen be passed to
# rpost as batchfile.
#
# Also note, that only the token should find it's way
# into the outgoing file - therefore set the
# respective line in the newsfeeds file like
# :Tf,Wn:
OUTBOUND=`/usr/local/news/bin/innconfval | grep out`
echo -n "massage.outgoing ---> throttling innd server: "
ctlinnd throttle massage
for FILE in `ls ${OUTBOUND}`; do
echo "massage.outgoing ---> processing file outgoing/${FILE}"
OUTFILE=${OUTBOUND}/${FILE}
PROCESSED=/tmp/${FILE}'.p'
UNPROCESSED=/tmp/${FILE}'.u'
grep "/" ${OUTFILE} > ${PROCESSED}
grep "^@" ${OUTFILE} > ${UNPROCESSED}
if [ ! -s ${UNPROCESSED} ]; then
echo "massage.outgoing ---> nothing to rewrite in outgoing/${FILE}
else
echo "massage.outgoing ---> rewriting outgoing/${FILE}"
for ARTICLE in `cat ${UNPROCESSED}`; do
ARTICLEPATH=`sm -i ${ARTICLE} | sed "s/: /\//g"`
echo ${ARTICLEPATH} >> ${PROCESSED}
echo " ${ARTICLE} ---> ${ARTICLEPATH}"
done
cp ${PROCESSED} ${OUTFILE}
rm ${PROCESSED} ${UNPROCESSED}
echo "massage.outgoing ---> ${FILE} processed sucessfully"
fi
done
echo -n "massage.outgoing ---> unthrottling innd server: "
ctlinnd go massage
##### snap #####
good luck,
Ulf
Re: home INN server
Author: Victor Sudakov
Date: Sun, 14 Jan 2001 14:12
Date: Sun, 14 Jan 2001 14:12
17 lines
1631 bytes
1631 bytes
Russ Allbery <rra@stanford.edu> wrote: >> I'm a newbie as what INN concerns. I'm setting it up on a small home >> network. I want the news articles to be fed to my news server from that >> of my ISP. Ofcourse, he doesn't push the articles to my INN, so I have >> to pull them somehow. Can I use some part of the INN distribution to do >> this pulling or do I need extra software? > You probably want either newsx or suck. or slurp. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/149@fidonet http://vas.tomsk.ru/
Re: home INN server
Author: Graham Murray
Date: Sun, 14 Jan 2001 23:47
Date: Sun, 14 Jan 2001 23:47
7 lines
1379 bytes
1379 bytes
Russ Allbery <rra@stanford.edu> writes: > You probably want either newsx or suck. What advantage do these have over nntpget or pullnews both of which come with INN?
Re: home INN server
Author: Russ Allbery
Date: Mon, 15 Jan 2001 07:19
Date: Mon, 15 Jan 2001 07:19
17 lines
1592 bytes
1592 bytes
Graham Murray <newspost@gmurray.org.uk> writes: > Russ Allbery <rra@stanford.edu> writes: >> You probably want either newsx or suck. > What advantage do these have over nntpget or pullnews both of which come > with INN? A more comprehensive solution to the problem, although those will work too (as will backupfeed, which is in contrib). They all take slightly different approaches. I believe newsx and suck try to additional solve the problem of posting back local posts, which nntpget, pullnews, and backupfeed don't (that I recall). -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: home INN server
Author: Dirk Groeneveld
Date: Sat, 20 Jan 2001 14:03
Date: Sat, 20 Jan 2001 14:03
13 lines
1428 bytes
1428 bytes
Vik Heyndrickx wrote: > I'm a newbie as what INN concerns. I'm setting it up on a small home > network. I want the news articles to be fed to my news server from that of > my ISP. Ofcourse, he doesn't push the articles to my INN, so I have to > pull them somehow. Can I use some part of the INN distribution to do this > pulling or do I need extra software? Are there any guidelines as how to > set this up? Have you considered using leafnode? I'm using it to get my home network on the usenet and it works quite well. Dirk
Re: home INN server
Author: P. Vissers
Date: Wed, 24 Jan 2001 10:03
Date: Wed, 24 Jan 2001 10:03
42 lines
2360 bytes
2360 bytes
Dirk Groeneveld wrote:
>
> Vik Heyndrickx wrote:
> > I'm a newbie as what INN concerns. I'm setting it up on a small home
> > network. I want the news articles to be fed to my news server from that of
> > my ISP. Ofcourse, he doesn't push the articles to my INN, so I have to
> > pull them somehow. Can I use some part of the INN distribution to do this
> > pulling or do I need extra software? Are there any guidelines as how to
> > set this up?
>
> Have you considered using leafnode?
> I'm using it to get my home network on the usenet and it works quite well.
>
> Dirk
Hmm you could use ~news/bin/pullnews to do the work. That works for me!
Set it up like this (assuming you are user news):
$ cd ~
$ vi .pullnews #don't forget the .
#text in .pullnews
news.casema.net # your newsserver
alt.hack.nl # your newsgroups
news.software.nntp
comp.os.linux
Make a cronjob that runs pullnews every (half) hour and you're there!
BTW. In this same construction I have trouble feeding my articles to the
other servers. (error:basename not found -> it IS in newsfeeds though)
Can anyone offer me help on this one?
Regards,
P. Vissers
Re: home INN server
Author: Russ Allbery
Date: Thu, 25 Jan 2001 05:49
Date: Thu, 25 Jan 2001 05:49
12 lines
1370 bytes
1370 bytes
P Vissers <vissers@fox-it.com> writes: > BTW. In this same construction I have trouble feeding my articles to the > other servers. (error:basename not found -> it IS in newsfeeds though) > Can anyone offer me help on this one? What method are you using to try to feed the articles back? -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: home INN server
Author: P. Vissers
Date: Thu, 25 Jan 2001 10:29
Date: Thu, 25 Jan 2001 10:29
70 lines
3489 bytes
3489 bytes
On yonder day, 24 Jan 2001 21:49:47 -0800, Russ Allbery
<rra@stanford.edu> grabbed on to his keys and elaborated :
>P Vissers <vissers@fox-it.com> writes:
>
>> BTW. In this same construction I have trouble feeding my articles to the
>> other servers. (error:basename not found -> it IS in newsfeeds though)
>
>> Can anyone offer me help on this one?
>
>What method are you using to try to feed the articles back?
I have to tell you in advance that I did talk to my provider about a
feed setup, but got no response yet. They are not that fast :(
That's why in another posting I asked if there was software like
pullnews to push it towards my provider. I was told that this is not a
very good way to do it.
I tried to use innfeed, got an error message (basename not found)
I tried to use nntpsend and run it from a cronjob, that did not work
also. Here are my feeds setup:
etc/newsfeeds:
#innfeed!\
# :!*\
# :Tc,Wnm*:/usr/local/news/bin/startinnfeed -y
# not used
casema:\
*,!control*, !junk*\
:Tf,Wnm:
etc/incoming.conf
peer news.casema.net {
hostname: "news.casema.net"
}
This is in my logs when using nntpsend:
Jan 24 12:10:02 argus innd: casema flush
Jan 24 12:10:02 argus innd: casema opened casema:17:file
Jan 24 12:10:02 argus innd: casema closed
Jan 24 12:10:05 argus innxmit[13613]: news.casema.net unexpected
response code 500 What?
Jan 24 12:10:05 argus innxmit[13613]: news.casema.net stats offered 32
accepted 0 refused 0 rejected 0 missing 0 accsize 0 rejsize 0
Jan 24 12:10:05 argus innxmit[13613]: news.casema.net times user 0.021
system 0.
056 elapsed 3.215
This was when using innfeed with another server:
Jan 23 17:50:23 argus innxmit[22530]: news.wanadoo.nl ihave failed 480
Authentication required for command
Jan 23 17:50:23 argus innxmit[22530]: news.wanadoo.nl stats offered 1
accepted 0
refused 0 rejected 0 missing 0 accsize 0 rejsize 0
Jan 23 17:50:23 argus innxmit[22530]: news.wanadoo.nl times user 0.007
system 0.
037 elapsed 21.804
Jan 23 17:50:27 argus innd: wanadoo closed
Thanks for any help in advance!
_____
P. Vissers
Re: home INN server
Author: Russ Allbery
Date: Fri, 26 Jan 2001 07:21
Date: Fri, 26 Jan 2001 07:21
18 lines
1791 bytes
1791 bytes
P Vissers <ple@se.not> writes: > I have to tell you in advance that I did talk to my provider about a > feed setup, but got no response yet. They are not that fast :( That's > why in another posting I asked if there was software like pullnews to > push it towards my provider. I was told that this is not a very good way > to do it. > I tried to use innfeed, got an error message (basename not found) I > tried to use nntpsend and run it from a cronjob, that did not work > also. Neither innfeed nor nntpsend are going to work unless your provider lets you feed news from them rather than just connect as a newsreading client. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
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