🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #218376

Re: Slrn+slrnpull.

#218376
From: Anonymous
Date: Tue, 01 Apr 2008 22:38
54 lines
3438 bytes
> I would like to know if it's possible to use slrn+slrnpull together
> with two or more news servers.

Yes, no problem. I use slrnpull with multiple servers.

> If it's possible, could you pls explain me what I have to do ?
> Or where can I find very good info's about it ?
> Thanks.

You can do it few ways. The areas to consider:

1) Credentials for servers who require userid and password:

There is no provision like nnrpaccess for slrnpull, you have to use a
file called authinfo. If you only access servers who don't need
credentials, this doesn't matter. If you have one server who needs a
userid and password, you will have to:

a) make sure you have the userid and password in the authinfo file
b) rename the file when you are accessing other servers, otherwise you
risk exposing your credentials to other servers

If you have multiple servers that need userid and password, you will
need to write a script to rename files so that authinfo is correct for
the current server. For example make files authinfo.easynews
authinfo.readfreenews, etc and rename in the script to authinfo while
you are processing the server.

2) Newsgroup subscriptions:

You can have only one slrnpull.conf file (it contains newsgroups). If
you want to get fills from all servers and have the same list of
newsgroups for all servers, it's easiest setupd. Just use one
slrnpull.conf. If you have some newsgroups that are only on certain
servers, you have similar problem to authinfo, you will have to create
multiple slrnpull.conf files and rename them during running the
script.

I have a cron job to pull news from multiple servers. I set up multiple
copies of slrnpull.conf and authinfo which I name slrnpull.server and
authinfo.server. In the script, I rename the active files to
slrnpull.conf and authinfo. I expire and pull and post from a server,
and then I rename files and expire and pull and post from the next
server, this loop goes on until I process all the servers. At the end
everything is renamed to slrnpull.server and authinfo.server. It's
custom script, it takes few minutes to write it, nothing complicated.

It would be nice if slrnpull would support nnrpaccess keyword in
slrnpull.conf but you still have the problem of pulling special
newsgroups from unique servers. If you do much more than this it will be
time for actual news server or mini-server like leafnode. If you only
want to use few servers you can survive with slrnpull and some script
you can write.
Technical Details
Message-ID: <a782a32dd4ff379cb994aedd77617ae9@hermetix.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!cyclone1.gnilink.net!gnilink.net!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!border2.nntp.ams.giganews.com!nntp.giganews.com!news.wiretrip.org!news.dizum.com!sewer-output!mail2news
References: <fsu0ua$kv4$3@tdi.cu.mi.it>

Show Full Headers
Complete Article Headers
Message-ID: <a782a32dd4ff379cb994aedd77617ae9@hermetix.org>
Subject: Re: Slrn+slrnpull.
Date: Tue, 01 Apr 2008 22:38:21 +0000
From: Anonymous <xor@hermetix.org>
References: <fsu0ua$kv4$3@tdi.cu.mi.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!cyclone1.gnilink.net!gnilink.net!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!border2.nntp.ams.giganews.com!nntp.giganews.com!news.wiretrip.org!news.dizum.com!sewer-output!mail2news
Newsgroups: news.software.readers
Mail-To-News-Contact: abuse@dizum.com
Organization: mail2news@dizum.com
Lines: 53
X-Original-Bytes: 3198