🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36671

Re: Getting INN to receive news

#36671
From: Brad Knowles
Date: Fri, 16 Apr 1999 00:00
68 lines
3786 bytes
In article <m390bt9csd.fsf@hopf.demon.co.uk>, Stefan Davids
<smd@hopf.demon.co.uk> wrote:

> nntpget I guess as it's already installed if you have Inn installed
> and doesn't really need any setting up.

    Pullnews is a standard part of the INN 2.x package.

    This is from the top 45 lines (or so) of the file
/usr/local/news/bin/pullnews on our news spool server (where we use this
program to pull down posts from a number of different sites around the
'net, especially including the news servers that Microsoft runs for the
microsoft.* hierarchy):

#!/usr/local/bin/perl
# 
# Author:       James Brister <brister@vix.com> -- berkeley-unix --
# Start Date:   Sat, 10 Oct 1998 21:40:11 +0200
# Project:      Private
# File:         suckNews.pl
# RCSId:        $Id: pullnews.in,v 1.1 1998/10/21 07:08:29 brister Exp $
# Description:  A very simple pull feeder. Connects to multiple remote 
#               machines (in the guise of a reader), and pulls over articles 
#               and feeds them to the local server (in the guise of a feeder).
# 
#               Uses a simple configuration file: $HOME/.pullnews to define
#               which machines to pull articles from and which groups at each
#               machine to pull over. There is no support yet for more specific
#               configurations like cross-posted newsgroups to kill etc.
# 
#               A configuration file looks like:
# 
#                       data.pa.vix.com
#                               news.software.nntp 0 0
#                               comp.lang.c 0 0
#                       news.uu.net
#                               uunet.announce 0 0
#                               uunet.help 0 0
# 
#               A hostname line has no leading space on it and all the
#               subsequent group lines for that host must have leading
#               spaces. The two integers on the group line will be updated by
#               the program when it runs. They are the unix time the group was
#               last accessed, and the highest numbered article that was pulled 
#               over.
#
#
# NOTE NOTE NOTE NOTE:
#
# The Packages Net::NNTP is required *AND* the function Net::NNTP::new is 
# redefined in this file. If you're using a new release of Net::NTTP *AND* 
# if the Net::NNTP::new function supplied there does NOT call the 
# $obj->reader() function, then you can remove the redefinition in here.
#
# Net::NNTP is part of the libnet bundle by Graham Barr and is available from
# CPAN:
#
#               http://www.perl.com/CPAN/
#

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Are you looking for a news feed from a site in the Freenix Top 130?
If so, contact me via private e-mail for details.

Technical Details
Message-ID: <brad-1604991153460001@brad.techos.skynet.be>
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!not-for-mail
References: <924119382snz@vision25.demon.co.uk> <m3pv5647ps.fsf@hopf.demon.co.uk> <924213053snz@vision25.demon.co.uk> <m390bt9csd.fsf@hopf.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <brad-1604991153460001@brad.techos.skynet.be>
Subject: Re: Getting INN to receive news
Date: Fri, 16 Apr 1999 00:00:00 +0000
From: brad@shub-internet.org (Brad Knowles)
References: <924119382snz@vision25.demon.co.uk> <m3pv5647ps.fsf@hopf.demon.co.uk> <924213053snz@vision25.demon.co.uk> <m390bt9csd.fsf@hopf.demon.co.uk>
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!not-for-mail
X-Deja-AN: 467072694
X-Complaints-To: abuse@skynet.be
X-Trace: news0.skynet.be 924256462 12132 195.238.1.121 (16 Apr 1999 09:54:22 GMT)
Organization: Shub-Internet
X-URL: http://www.shub-internet.org/
NNTP-Posting-Date: 16 Apr 1999 09:54:22 GMT
Newsgroups: uk.comp.os.linux,news.software.nntp