🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #60532

Re: [slrn] multiple news servers

#60532
From: Nollaig MacKenzie
Date: Fri, 14 Apr 2000 00:00
47 lines
2574 bytes
On 14 Apr 2000 12:33:47 GMT, the estimable billy chan <bilchan@bigfoot.com> wrote:
> Fri, 14 Apr 2000 06:12:08 GMT, <nollaig@amhuinnsuidhe.cx> wrote:
> > You would only need a separate slrnpull.conf,
> > I think. I do it like this:
> > 
> > #!/bin/sh
> > /usr/local/bin/slrnpull  -d /var/spool/slrnpull -h "enews.newsguy.com"
> > /usr/local/bin/slrnpull  -d /var/spool/spull2 -h "news1.on.sympatico.ca"
> > 
> > Slrnpull has slrnpull.conf, authinfo, data/, etc.
> > in /var/spool/slrnpull for one server, 
> > in /var/spool/spull2 for the other. 
> > I keep the news hierarchy together by making /var/spool/spull2/news
> > a soft link to /var/spool/slrnpull/news.
> 
> If all news articles are in effect put under /var/spool/slrnpull/news,
> we don't need to tell slrn to look for it somewhere else. :-)
> 
> How about the out.going? Will slrn try to post to approrpiate
> newsgroups in a news server? Will undelivered post in the first session
> be automatically posted in the second session when the server is right?
> 

I use an ugly thing for that:


#!/bin/sh
og1="`ls /var/spool/slrnpull/out.going`"
og2="`ls /var/spool/spull2/out.going`"
if ! test -z "${og1/rejects*/}" ; then
cp /var/spool/slrnpull/out.going/* /var/spool/spull2/out.going/
fi
if ! test -z "${og2/rejects*/}" ; then
cp /var/spool/spull2/out.going/* /var/spool/slrnpull/out.going/
fi
og1="`ls /var/spool/slrnpull/out.going`"
if ! test -z "${og1/rejects*/}" ; then
/usr/local/bin/slrnpull --post -d /var/spool/slrnpull -h "enews.newsguy.com"
/usr/local/bin/slrnpull --post -d /var/spool/spull2 -h "news1.on.sympatico.ca"
fi

Cheers, N.
-- 
Nollaig MacKenzie :: nollaig@amhuinnsuidhe.cx
http://www.amhuinnsuidhe.cx

Technical Details
Message-ID: <slrn8fejgo.1sq.nollaig@amhuinnsuidhe.cx>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <8d617d$26$2@unix2.glink.net.hk> <slrn8fddch.6rv.nollaig@amhuinnsuidhe.cx> <8d737b$8j3$1@unix2.glink.net.hk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8fejgo.1sq.nollaig@amhuinnsuidhe.cx>
Subject: Re: [slrn] multiple news servers
Date: Fri, 14 Apr 2000 00:00:00 +0000
From: nollaig@amhuinnsuidhe.cx (Nollaig MacKenzie)
References: <8d617d$26$2@unix2.glink.net.hk> <slrn8fddch.6rv.nollaig@amhuinnsuidhe.cx> <8d737b$8j3$1@unix2.glink.net.hk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 611184382
X-Trace: news20.bellglobal.com 955731785 216.209.48.53 (Fri, 14 Apr 2000 13:03:05 EDT)
Organization: Sympatico
User-Agent: slrn/0.9.5.7 (UNIX)
Reply-To: nollaig@amhuinnsuidhe.cx
NNTP-Posting-Date: Fri, 14 Apr 2000 13:03:05 EDT
Newsgroups: news.software.readers