🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #164994

Re: Leafnode newbie questions.

#164994
From: SINNER
Date: Thu, 07 Apr 2005 00:11
99 lines
4234 bytes
* natG wrote in news.software.readers:
> Hi (again).
> A couple of Leafnode questions for a newbie, please.

> 1. Last question, first: How do I bring it up after config?

Have you already added it to xinetd.conf?

if so

# service xinetd restart

as root, should get it running.

You will need to set up a cron job to run fetchnews but you can run it
from the prompt for the first time if you like:

# fetchnews -vvv

as root.

> 2. Lingo: 'Interesting/Uninteresting' = 'subscribe/unsubscribe' by client?

interesting/uninteresting = Leafnode will fetch articles/headers from
groups listed in /var/spool/news/interesting.groups/

subscribe/unsubscribe is client specific but once you enter a group on
any client leafnode will mark the group interesting regardless of
subscription status, it will stop after a week if you dont
subscribe/read the group or you can delete the appropriate file in:

/var/spool/news/interesting.groups

> 3. Can I keep some upstream servers (eg eclipse) separate in the client?

No, why? You control who you can post to via leafnode's config.

> 4. I prefer to fetch *all* headers/bodies from many subscribed to 
> newsgroup. Do I need to be concerned about the comment in config re 
> initialfetch?

I'd say so ;) default is to fetch all when a group is marked
interesting, if you've got the space and you really want all those, go
for it!.

> When I unsubscribe from a group, I *want* leafnode to 
> trash those articles. If later I subscribe, let it dl it again.

This is controlled via texpire and retentions set in the config files.
Retentions can be group specific (groupexpire). Unsubscribing in your
reader does nothing to leafnode. If the group is not accessed for a week
it stops getting the headers but will not delete/expire them unless you
change the article expiration for the group in the config and run
texpire (which should run as a cron daily also)

> 4b. For many groups, fetching last 180 days worth is fine, for others I 
> want them all. Can do?

No, I believe the setting (initialfetch) is global.

> 4c. Is this (initial fetch) related to 'groupexpire'?

No, texpire deals with that variable, described above.

> 5. Can I have it fetch [all] at specific time of day? (My isp's servers 
> are horrendous between 5 and 11pm.)

Thats what cron is for :)

man cron

I have a cron job that fetches every 10 minutes.

> 6. It creates a link for each ARTICLE? And does it delete them, if/when 
> unsubscribed? What type of overhead for the os as far as cache/cpu due 
> to 100,000 hard links?

My spool is 240 megs at ~51,000

> 7. A little explanation on pcre, please.

perl compatible regular expression

Put that in google and click "I'm Feeling Lucky"

Should be an excellent resource.

> 8. Timeout_short/long/active. Short description, please.

Well documented in the config.example file.

> 9. Do I have to config/think-about xinetd?

Without it leafnode wont run.

-- 
David
Life.  Don't talk to me about life.
- Marvin the Paranoid Android
Technical Details
Message-ID: <4eaei2x032.ln2@news.gates_of_hell.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.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed2.easynews.com!easynews.com!easynews!easynews-local!news.easynews.com.POSTED!news.gates_of_hell.com!not-for-mail
References: <PKZ4e.303$Xm3.235@trndny01>

Show Full Headers
Complete Article Headers
Message-ID: <4eaei2x032.ln2@news.gates_of_hell.com>
Subject: Re: Leafnode newbie questions.
Date: Thu, 07 Apr 2005 00:11:40 GMT
From: SINNER <99nesorjd@gates_of_hell.invalid>
References: <PKZ4e.303$Xm3.235@trndny01>
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.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed2.easynews.com!easynews.com!easynews!easynews-local!news.easynews.com.POSTED!news.gates_of_hell.com!not-for-mail
Newsgroups: news.software.readers
Organization: Hell.org
X-Face: #sn6gF@jD*I3X;
 _)M5ymNQ1wG39y^'rxXRA5y-oi7.T/>P.P-40N\&-q'Mu+DWRSTF[}`Vtd85KnX\fe1~p-<(9U<zenv]u["swbx<^u;
 %a:ro>w=r"qdVdsY_@\.mDg9"ruPsYjX.Bi9M#gF-fG5=obWVG'>0W*w3RC
User-Agent: slrn/0.9.8.1 (Linux)
Lines: 99
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise
 we will be unable to process your complaint properly.