🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by Alexander Newald Mon, 26 Aug 2002 13:38
Transfer news
#60054
Author: Alexander Newald
Date: Mon, 26 Aug 2002 13:38
20 lines
1265 bytes
Hello,

I have setup a local inn and it works quit well. News are fetched from a
normal newsserver with suck and put locally.

My question:

- How can I transfer post that are posted to my local newsserver to the
world?

- Better: Where can I find information about newsserver that allow newsfeed
from and to my newsserver?

Thanks,

Alexander Newald



Re: Transfer news
#60059
Author: Russ Allbery
Date: Mon, 26 Aug 2002 15:53
25 lines
1811 bytes
Alexander Newald <alexander@newald.de> writes:

> I have setup a local inn and it works quit well. News are fetched from a
> normal newsserver with suck and put locally.

> My question:

> - How can I transfer post that are posted to my local newsserver to the
> world?

Use the rpost package that comes with suck.

> - Better: Where can I find information about newsserver that allow
> newsfeed from and to my newsserver?

This I can't help with directly, but other people may.  I think there's a
peering page out there somewhere that will probably turn up with a Google
search for usenet peering.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Transfer news
#60060
Author: Wolfgang Fritz
Date: Mon, 26 Aug 2002 16:13
41 lines
2373 bytes
Alexander Newald wrote:
> Hello,
> 
> I have setup a local inn and it works quit well. News are fetched from a
> normal newsserver with suck and put locally.
> 
> My question:
> 
> - How can I transfer post that are posted to my local newsserver to the
> world?
> 
You may start with rpost, which is contained in the suck package. The 
package includes an example script get.news.innxmit which reads news 
with suck and posts them with rpost. I am using modified copies of 
get.news.innxmit to exchange news with a number of news servers, one for 
"public" usenet news and others for special newsgroups.

You have to modify your /etc/news/newsfeeds to direct the messages to 
their matching servers.

This works quite well for my situation (64kbit/s dialin access), but may 
not be very efficient on high speed lines.

> - Better: Where can I find information about newsserver that allow newsfeed
> from and to my newsserver?
> 
The sucks/rpost approach should work with every news server you can 
access with a standard news client. For the news server there is no 
difference.

Wolfgang

> Thanks,
> 
> Alexander Newald
> 
> 
> 


Re: Transfer news
#60069
Author: Alexander Newald
Date: Mon, 26 Aug 2002 20:03
38 lines
2478 bytes
"Wolfgang Fritz" <wolfgang.fritz@gmx.net> schrieb im Newsbeitrag
news:3D6A53A6.4070007@fritz38552.news.dfncis.de...
> Alexander Newald wrote:
> > Hello,
> > I have setup a local inn and it works quit well. News are fetched from a
> > normal newsserver with suck and put locally.
> > My question:
> > - How can I transfer post that are posted to my local newsserver to the
> > world?
> You may start with rpost, which is contained in the suck package. The
> package includes an example script get.news.innxmit which reads news
> with suck and posts them with rpost. I am using modified copies of
> get.news.innxmit to exchange news with a number of news servers, one for
> "public" usenet news and others for special newsgroups.
> You have to modify your /etc/news/newsfeeds to direct the messages to
> their matching servers.
> This works quite well for my situation (64kbit/s dialin access), but may
> not be very efficient on high speed lines.
> > - Better: Where can I find information about newsserver that allow
newsfeed
> > from and to my newsserver?
> The sucks/rpost approach should work with every news server you can
> access with a standard news client. For the news server there is no
> difference.


Hello,

my question to this is: What newsservers do you use for your newsfeeds? I
like the idea of the newsfeed because new posts are available on the remote
and my server faster than by suck and rpost.

Thanks,

Alexander Newald


Re: Transfer news
#60083
Author: Wolfgang Fritz
Date: Tue, 27 Aug 2002 06:19
64 lines
3486 bytes
Alexander Newald wrote:
> "Wolfgang Fritz" <wolfgang.fritz@gmx.net> schrieb im Newsbeitrag
> news:3D6A53A6.4070007@fritz38552.news.dfncis.de...
> 
>>Alexander Newald wrote:
>>
>>>Hello,
>>>I have setup a local inn and it works quit well. News are fetched from a
>>>normal newsserver with suck and put locally.
>>>My question:
>>>- How can I transfer post that are posted to my local newsserver to the
>>>world?
>>
>>You may start with rpost, which is contained in the suck package. The
>>package includes an example script get.news.innxmit which reads news
>>with suck and posts them with rpost. I am using modified copies of
>>get.news.innxmit to exchange news with a number of news servers, one for
>>"public" usenet news and others for special newsgroups.
>>You have to modify your /etc/news/newsfeeds to direct the messages to
>>their matching servers.
>>This works quite well for my situation (64kbit/s dialin access), but may
>>not be very efficient on high speed lines.
>>
>>>- Better: Where can I find information about newsserver that allow
>>
> newsfeed
> 
>>>from and to my newsserver?
>>
>>The sucks/rpost approach should work with every news server you can
>>access with a standard news client. For the news server there is no
>>difference.
> 
> 
> 
> Hello,
> 
> my question to this is: What newsservers do you use for your newsfeeds? I
> like the idea of the newsfeed because new posts are available on the remote
> and my server faster than by suck and rpost.
> 

My news server for public usenet groups is news.cis.dfn.de (Info: 
http://news.cis.dfn.de). They may give you a newsfeed if you meet some 
prerequisites. The other servers are special servers (companies, 
organizations).
I am quite happy with suck/rpost. I have a cron job which checks for 
pending outgoing news/mail every 15 minutes so outgoing articles are 
delayed max. 15 minutes. I check for incoming news/mail every time I go 
online.  Additionally I can force a news/mail synchronization by running 
a CGI on my local HTTP server. This gives an approximation to a 
"permanent connection" that is good enough for me.

Wolfgang


> Thanks,
> 
> Alexander Newald
> 
> 


Re: Transfer news
#60085
Author: Alexander Newald
Date: Tue, 27 Aug 2002 12:42
11 lines
1457 bytes
"Wolfgang Fritz" <wolfgang.fritz@datentechnik.com> schrieb im Newsbeitrag
news:3D6B1A00.2080005@datentechnik.com...
[about newsfeeds and own newsserver]

Thanks for your information. So I think I will use rpost as well. How do you
manage to use rpost with cnfs spools?

Alexander Newald


Re: Transfer news
#60084
Author: Wolfgang Fritz
Date: Tue, 27 Aug 2002 15:44
61 lines
2869 bytes
Alexander Newald wrote:
> "Wolfgang Fritz" <wolfgang.fritz@datentechnik.com> schrieb im Newsbeitrag
> news:3D6B1A00.2080005@datentechnik.com...
> [about newsfeeds and own newsserver]
> 
> Thanks for your information. So I think I will use rpost as well. How do you
> manage to use rpost with cnfs spools?
> 
I am using tradspool, but the trick should be the same. You have to 
specify a filter for rpost to get the article text from the article 
token in the outgoing article list by using the storage manager 
interface sm (man sm).

my rpost call in get.news.innxmit is like this
${RPOST} ${REMOTE_HOST} -d -b ${OUTGOINGNEW} -f \$\$o=${OUTFILE} 
${SCRIPT} \$\$i ${OUTFILE}
with
${RPOST} = /usr/bin/rpost,
${REMOTE_HOST} the remote news server
${OUTGOINGNEW} the outgoing article list
${OUTFILE} a temporary file /tmp/tmp$$
${SCRIPT} = /var/spool/news/put.news (see below)

-------------- start of put.news -----------------------
#!/bin/sh

# this is just a simple script to use sed to strip off the
# headers that my ISP's newsfeed
# doesn't like.

if [ $# -ne 2 ]; then
	echo
	echo "Usage `basename $0` infile outfile <RETURN>"
	echo
	exit -1
fi

SEDCMD="/^NNTP-Posting-/d"
SEDCMD2="/^X-Trace/d"
SEDCMD3="/^X-Complaints/d"
SEDCMD4="/^Xref/d"
OUTFILE=$2

/usr/lib/news/bin/sm $1 | sed -e ${SEDCMD} ${TMPFILE} \ | sed -e 
${SEDCMD2} | sed -e ${SEDCMD3}  | sed -e ${SEDCMD4} > ${OUTFILE}
		
if [ $? -ne 0 ]; then
     echo "Error"
     exit -1
fi
--------- end of script ------------

Wolfgang


> Alexander Newald
> 
> 


Re: Transfer news
#60097
Author: Frank Slootweg
Date: Wed, 28 Aug 2002 15:52
13 lines
1604 bytes
Alexander Newald <alexander@newald.de> wrote:
> "Wolfgang Fritz" <wolfgang.fritz@datentechnik.com> schrieb im Newsbeitrag
> news:3D6B1A00.2080005@datentechnik.com...
> [about newsfeeds and own newsserver]
> 
> Thanks for your information. So I think I will use rpost as well. How do you
> manage to use rpost with cnfs spools?

  In general see the suck README file, whose "HOW-TO-USE" points to the
sample directory with the sample/*inn* script(s). This (non-tradspool)
issue is addressed in the "Suck/Inn FAQ" which is pointed to by the main
suck site (http://www.sucknews.org[/FAQ.html]).
Re: Transfer news
#60117
Author: Alexander Newald
Date: Thu, 29 Aug 2002 12:01
16 lines
2354 bytes
*** post for FREE via your newsreader at post.newsfeed.com ***

Thanks,

its working now.

Alex




 -----= Posted via Newsfeed.Com, Uncensored Usenet News =-----
http://www.newsfeed.com - The #1 Newsgroup Service in the World!
-----== 100,000 Groups! - 19 Servers! - Unlimited Download! =-----
                  
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