🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #167781

[slrn] slrnpull as cronjob

#167781
From: Troy Piggins
Date: Tue, 14 Jun 2005 01:24
62 lines
3324 bytes
After years of using slrn (0.9.8.1), I finally tinkered with slrnpull on
the weekend.  So I compiled it in, added the entries in my .slrnrc [1],
created the spool directories [2], put a slrnpull.conf in there [3], ran
slrnpull as root, and it all went fine.  I love the speed I can read and
open groups now.

I have 2 problems/questions

(1) So I thought my next step would be to simply to add a task in root's
crontab every, say, 15 mins to keep things up to date and to post my
articles.  For some reason that doesn't work, although running slrnpull
manually as root does.  Here is the error message from slrnpull's log,
although it doesn't really detail what the problem was:

06/14/2005 09:46:00 slrnpull started.
06/14/2005 09:46:00 Reading /var/spool/news/slrnpull/slrnpull.conf
06/14/2005 09:46:00 Connecting to host localhost ...
06/14/2005 09:46:00 ***Unable to initialize server.
06/14/2005 09:46:00 A total of 0 bytes received, 0 bytes sent in 0
seconds.

Any ideas?  How do you set up slrnpull?

(2) Problem number 2 - Originally I had set post_object "slrnpull", but
that meant that my posts were only sent to the nntp server when slrnpull
was run (ie every 15 mins).  So I changed to set post_object "nntp"
assuming that this would deliver directly.  But my posts still just sit
in /var/spool/news/slrnpull/out.going until slrnpull is run (manually at
the moment because of problem no. 1).

So how do I set it up so my posts go directly, but only pull down when
the cronjob is run?

Thanks.

[1] - relevant entries from .slrnrc
set server_object "spool"
set post_object "nntp"
set read_active 1
set unsubscribe_new_groups 1
set spool_inn_root "/var/spool/news/slrnpull"
set spool_root "/var/spool/news/slrnpull/news"
set spool_nov_root "/var/spool/news/slrnpull/news"
set use_slrnpull 1

[2] [troy@armadillo:troy]$ ls -l /var/spool/news/slrnpull/
total 116
drwxr-xr-x    2 root     root         4096 Jun 14 10:07 data
-rw-r--r--    1 root     root        93174 Jun 14 11:16 log
drwxr-xr-x    8 root     root         4096 Jun 11 22:40 news
drwxrwxrwt    3 root     root         4096 Jun 14 10:34 out.going
drwxrwxrwt    2 root     root         4096 Jun 14 11:12 requests
-rw-r--r--    1 root     root         2448 Jun 12 09:04 slrnpull.conf

[3] - sample entries from slrnpull.conf
default               500 0 0
news.software.readers
alt.test

-- 
T R O Y  P I G G I N S
e : usenet@piggo.com
Technical Details
Message-ID: <slrndasce1.cia.usenet@piggo.com>
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!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrndasce1.cia.usenet@piggo.com>
Subject: [slrn] slrnpull as cronjob
Date: Tue, 14 Jun 2005 01:24:10 +0000
From: Troy Piggins <usenet@piggo.com>
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!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet@piggo.com
User-Agent: slrn/0.9.8.1 (Linux)
Lines: 62
NNTP-Posting-Host: 203.166.254.144
X-Trace: 1118712250 per-qv1-newsreader-01.iinet.net.au 22935 203.166.254.144