šŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
21 messages
21 total messages Started by natG Wed, 06 Apr 2005 22:52
Leafnode newbie questions.
#164991
Author: natG
Date: Wed, 06 Apr 2005 22:52
33 lines
2217 bytes
Hi (again).
A couple of Leafnode questions for a newbie, please.

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

2. Lingo: 'Interesting/Uninteresting' = 'subscribe/unsubscribe' by client?
3. Can I keep some upstream servers (eg eclipse) separate in the client?

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? When I unsubscribe from a group, I *want* leafnode to 
trash those articles. If later I subscribe, let it dl it again.

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

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

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

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?

7. A little explanation on pcre, please.

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

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

Thank you all!
-nat
Re: Leafnode newbie questions.
#164992
Author: PJR
Date: Wed, 06 Apr 2005 23:18
94 lines
3485 bytes
On Wednesday 06 April 2005, 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?

Leafnode runs from [x]inetd. Any changes you make in the config file
will be applied next time you run fetchnews. That's the way [x]inetd
works.

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

Yes. You can set a limit for how long "interesting" groups remain
"interesting" if nobody reads them.

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

I'm not sure I understand the question. Leafnode isn't a client.

> 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?

No. The default setting for initialfetch is to fetch everything.

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

Read the friendly manual. You can tell Leafnode to delete or keep
articles separately for each group, but there's a limit to how much
configuration can be done.

I have

	expire = 10
	groupexpire alt.usenet.kooks = 32

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

I don't think so.

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

No.

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

$ man cron

You can do whatever you like at specific times of day, including
running fetchnews.

> 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?

No overheads in my experience.

> 7. A little explanation on pcre, please.

And for me too, please!

I have something like this to exclude groups starting with "bs.":

        only_groups_pcre = ^([^b]|b[^s]|bs[^\.]).*$
	
It's taken me two years to get that right.

I hate PCREs!

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

I'd rather delete groups manually from interesting.groups than try to
work out how that arcane stuff works.

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

No.

> Thank you all!
> -nat

<disclaimer>I'm not a Leafnode guru, but what I've suggested works for
me.</disclaimer>

PJR :-)
-- 
alt.usenet.kooks award-winners and FAQ:
http://www.insurgent.org/~kook-faq/

[To reply by email, remove "NOSPAM".]
Re: Leafnode newbie questions.
#164994
Author: 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
Re: Leafnode newbie questions.
#164993
Author: natG
Date: Thu, 07 Apr 2005 00:13
134 lines
4678 bytes
PJR wrote:
> On Wednesday 06 April 2005, 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?
> 
> 
> Leafnode runs from [x]inetd. Any changes you make in the config file
> will be applied next time you run fetchnews. That's the way [x]inetd
> works.
>
Fetchnews. Thats what I was missing.

> 
>>2. Lingo: 'Interesting/Uninteresting' = 'subscribe/unsubscribe' by client?
> 
> 
> Yes. You can set a limit for how long "interesting" groups remain
> "interesting" if nobody reads them.
> 
> 
>>3. Can I keep some upstream servers (eg eclipse) separate in the client?
> 
> 
> I'm not sure I understand the question. Leafnode isn't a client.
Without Leafnode, my current client, Thunderbird, keeps a separate 
hierarchy for each newsserver. Since Leafnode combines the groups across 
different servers, the groups in my client will all belong under the 
same tree. This effect, while beneficial in some cases, might not be 
desired in others.

> 
>>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?
> 
> 
> No. The default setting for initialfetch is to fetch everything.
> 
> 
>>When I unsubscribe from a group, I *want* leafnode to 
>>trash those articles. If later I subscribe, let it dl it again.
> 
> 
> Read the friendly manual. You can tell Leafnode to delete or keep
> articles separately for each group, but there's a limit to how much
> configuration can be done.
> 
> I have
> 
> 	expire = 10
> 	groupexpire alt.usenet.kooks = 32
> 
> 
>>4b. For many groups, fetching last 180 days worth is fine, for others I 
>>want them all. Can do?
> 
> 
> I don't think so.
> 
> 
>>4c. Is this (initial fetch) related to 'groupexpire'?
> 
> 
> No.
> 
> 
>>5. Can I have it fetch [all] at specific time of day? (My isp's servers 
>>are horrendous between 5 and 11pm.)
> 
> 
> $ man cron
> 
> You can do whatever you like at specific times of day, including
> running fetchnews.
Yep. Now that I know that Fetchnews is the 'puller', understood. 
However, this brings up a question. There are times I want to actively 
monitor certain groups, like every 5 minutes. Do I have to run 
Fetchnews? Or if I have my client 'nagging' Leafnode every x minutes 
(like it does now to my isp servers), will that trigger Fetchnews 
automatically.?
> 
>>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?
> 
> 
> No overheads in my experience.
> 
> 
>>7. A little explanation on pcre, please.
> 
> 
> And for me too, please!
> 
> I have something like this to exclude groups starting with "bs.":
> 
>         only_groups_pcre = ^([^b]|b[^s]|bs[^\.]).*$
> 	
> It's taken me two years to get that right.
> 
> I hate PCREs!
> 
> 
>>8. Timeout_short/long/active. Short description, please.
> 
> 
> I'd rather delete groups manually from interesting.groups than try to
> work out how that arcane stuff works.
> 
> 
>>9. Do I have to config/think-about xinetd?
> 
> 
> No.
> 
> 
>>Thank you all!
>>-nat
> 
> 
> <disclaimer>I'm not a Leafnode guru, 
No?<g>

> but what I've suggested works for
> me.</disclaimer>
> 
> PJR :-)

Thanks!
-nat
Re: Leafnode newbie questions.
#164998
Author: PJR
Date: Thu, 07 Apr 2005 00:36
51 lines
2832 bytes
[assorted snippage follows]

On Thursday 07 April 2005, natG wrote in news.software.readers:

> PJR wrote:
>> On Wednesday 06 April 2005, natG wrote in news.software.readers:
>> 
>>>3. Can I keep some upstream servers (eg eclipse) separate in the client?
>> 
>> I'm not sure I understand the question. Leafnode isn't a client.
> Without Leafnode, my current client, Thunderbird, keeps a separate 
> hierarchy for each newsserver. Since Leafnode combines the groups across 
> different servers, the groups in my client will all belong under the 
> same tree. This effect, while beneficial in some cases, might not be 
> desired in others.

It can't be changed, but your newsclient can connect to servers other
than localhost. Leafnode keeps one, and only one, local news spool.

>>>5. Can I have it fetch [all] at specific time of day? (My isp's servers 
>>>are horrendous between 5 and 11pm.)
>> 
>> $ man cron
>> 
>> You can do whatever you like at specific times of day, including
>> running fetchnews.
> Yep. Now that I know that Fetchnews is the 'puller', understood. 
> However, this brings up a question. There are times I want to actively 
> monitor certain groups, like every 5 minutes. Do I have to run 
> Fetchnews? Or if I have my client 'nagging' Leafnode every x minutes 
> (like it does now to my isp servers), will that trigger Fetchnews 
> automatically.?

No, you can't run fetchnews on demand. It acts as a server; clients
can't have control of the server.

>> <disclaimer>I'm not a Leafnode guru, 
> No?<g>

I've read the man pages and tested it. Isn't that what everybody who
posts to NSR does?

Btw: in order to use fetchnews comfortably, you probably want to use
sudo.

PJR :-)
-- 
"Everyone in this room is wearing a uniform and don't kid yourselves."
        - Frank Zappa
alt.usenet.kooks award-winners and FAQ: http://www.insurgent.org/~kook-faq/
[To reply by email, remove "NOSPAM".]
Re: Leafnode newbie questions.
#165007
Author: natG
Date: Thu, 07 Apr 2005 16:36
134 lines
5055 bytes
SINNER wrote:
> * 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?
Automatically done by yum/rpm.
> 
> 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.
Great.
> 
> 
>>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
>
Very interesting! Flexible. I like it.

> 
>>3. Can I keep some upstream servers (eg eclipse) separate in the client?
> 
> 
> No, why? 
[I want that] Newsservers specific to my everyday work (IBM in my case) 
should have its own hierarchy of newsgroups. So, while in general its 
nice to have newsgroups from multiple servers merged in one tree, the 
flip side is equally important for Newsservers(along with many of its 
groups) that are especially important to me.

>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.
So, as a workaround, after fetching all, I can texpire certain groups?
> 
> 
>>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
Oh. I use Java/Ant expressions. Should be fine 90% of the time.
> 
> 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.
> 
Thank you much;
-nat
Re: Leafnode newbie questions.
#165010
Author: SINNER
Date: Thu, 07 Apr 2005 16:42
33 lines
1945 bytes
* natG Wrote in news.software.readers:

> SINNER wrote:
>> * 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?

> Automatically done by yum/rpm.

Figured that. I installed the 2.X branch which I had to install from 
source so the installation is a bit more manual.

[...]

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

> So, as a workaround, after fetching all, I can texpire certain
> groups? 

Well setting groupexpire differently for different groups, would that 
not essentially accomplish what you want?

-- 
David
Re: Leafnode newbie questions.
#165009
Author: natG
Date: Thu, 07 Apr 2005 16:57
63 lines
3218 bytes
PJR wrote:
> [assorted snippage follows]
> 
> On Thursday 07 April 2005, natG wrote in news.software.readers:
> 
> 
>>PJR wrote:
>>
>>>On Wednesday 06 April 2005, natG wrote in news.software.readers:
>>>
>>>
>>>>3. Can I keep some upstream servers (eg eclipse) separate in the client?
>>>
>>>I'm not sure I understand the question. Leafnode isn't a client.
>>
>>Without Leafnode, my current client, Thunderbird, keeps a separate 
>>hierarchy for each newsserver. Since Leafnode combines the groups across 
>>different servers, the groups in my client will all belong under the 
>>same tree. This effect, while beneficial in some cases, might not be 
>>desired in others.
> 
> 
> It can't be changed, but your newsclient can connect to servers other
> than localhost. 
Interesting point.
> Leafnode keeps one, and only one, local news spool.
> 
> 
>>>>5. Can I have it fetch [all] at specific time of day? (My isp's servers 
>>>>are horrendous between 5 and 11pm.)
>>>
>>>$ man cron
>>>
>>>You can do whatever you like at specific times of day, including
>>>running fetchnews.
>>
>>Yep. Now that I know that Fetchnews is the 'puller', understood. 
>>However, this brings up a question. There are times I want to actively 
>>monitor certain groups, like every 5 minutes. Do I have to run 
>>Fetchnews? Or if I have my client 'nagging' Leafnode every x minutes 
>>(like it does now to my isp servers), will that trigger Fetchnews 
>>automatically.?
> 
> 
> No, you can't run fetchnews on demand. It acts as a server; clients
> can't have control of the server.
> 
> 
>>><disclaimer>I'm not a Leafnode guru, 
>>
>>No?<g>
> 
> 
> I've read the man pages and tested it. Isn't that what everybody who
> posts to NSR does?
> 
> Btw: in order to use fetchnews comfortably, you probably want to use
> sudo.
> 
> PJR :-)

Thanks for the sudo pointer (et all).
-nat
Re: Leafnode newbie questions.
#165008
Author: natG
Date: Thu, 07 Apr 2005 17:25
27 lines
2111 bytes
SINNER wrote:
> * natG Wrote in news.software.readers:
> 
> 
>>SINNER wrote:
>>
>>>* natG wrote in news.software.readers:
<snip>
>>>
>>>No, I believe the setting (initialfetch) is global.
> 
> 
>>So, as a workaround, after fetching all, I can texpire certain
>>groups? 
> 
> 
> Well setting groupexpire differently for different groups, would that 
> not essentially accomplish what you want?
> 
One moment. I am not clear on expire/groupexpire. From the docs it seems 
like this has nothing to do with the article date, rather the number of 
days of a group being ignored by all clients.
On the other hand, MAXAGE seems like exactly what I wanted, but alas, it 
seems like a global, non group specific, setting. (albeit the man pages 
describes MAXAGE together with groupexpire?)
TA.
-nat
Re: Leafnode newbie questions.
#165011
Author: natG
Date: Thu, 07 Apr 2005 17:42
11 lines
1630 bytes
NEW questions/problems.
1. I did a service xinetd restart, went [ok]. How do I verify leafnode 
is running?

2. In my current client, Thunderbird, I set the server to localhost, 
(also tied the ip address), port 119, but when I try to get a list of 
available groups (which should trigger leafnode to get the list from the 
upstream server(s)) it times out with a "can't connect to server" message.
Please advise.
TA
-nat
Re: Leafnode newbie questions.
#165019
Author: Whiskers
Date: Thu, 07 Apr 2005 20:17
31 lines
2474 bytes
On 2005-04-07, natG <natgrossDOTrentalsystems@verizon.net> wrote:
> NEW questions/problems.
> 1. I did a service xinetd restart, went [ok]. How do I verify leafnode 
> is running?

I don't think you do.  When a client program asks that machine for an NNTP 
service, xinetd (or inetd) will start leafnode, and stop it when no longer
required.  Only xinetd is running all the time.

> 2. In my current client, Thunderbird, I set the server to localhost, 
> (also tied the ip address), port 119, but when I try to get a list of 
> available groups (which should trigger leafnode to get the list from the 
> upstream server(s)) it times out with a "can't connect to server" message.
> Please advise.
> TA
> -nat

Your newsgroup client (Thunderbird, Pan, whatever) can only get the list of 
newsgroups already created or updated last time you ran 'fetchnews'.  If 
you haven't run fetchnews at all yet then there won't be any groups listed. 

If you haven't aleady run 'fetchnews', do it now (assuming that you have 
the config file completed).

If Leafnode is on a different machine from Thunderbird, then you will need 
to make sure that the machines are talking to each other.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: Leafnode newbie questions.
#165021
Author: Neil Woods
Date: Thu, 07 Apr 2005 22:45
59 lines
3126 bytes
natG <natgrossDOTrentalsystems@verizon.net> writes:

> NEW questions/problems.
> 1. I did a service xinetd restart, went [ok]. How do I verify leafnode 
> is running?

There are various ways. I use inetd, but the principle is the same. 

1. Use netstat, e.g. 

$ netstat -tlp | grep nntp
tcp        0      0 *:nntp      *:*     LISTEN     20380/inetd         

shows there is a listening TCP socket on port nntp (119).

2. Use ps, e.g.

$ ps -fC leafnode 
USER       PID  PPID  C STIME TTY          TIME CMD
news     12590 20380  0 Apr04 ?        00:00:44 leafnode

3. Try connecting to the server using telnet, e.g.

$ telnet localhost 119
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.0.rel running at localhost (...)

Any or all of the above will show that the server is up, and ready to
accept connections from a client, with the third method being the most
immediately clear way of checking that the server is up and running.

(The above examples assume that you are on the same machine on which
leafnode is running).

> 2. In my current client, Thunderbird, I set the server to localhost, 
> (also tied the ip address), port 119, but when I try to get a list of 

Is the client (ie, Thunderbird) running on the same machine as the
server? If not, you will have to enter the domain name or IP on which
leafnode is running into Thunderbird's setup.

> available groups (which should trigger leafnode to get the list from the 
> upstream server(s)) it times out with a "can't connect to server" message.

Connecting to the server does not trigger leafnode to do this,
AFAIK. You need to fetch the available groups beforehand by using 

# fetchnews -f

which will cause leafnode to fetch the active file(s) from the upstream
server(s). Once this is done, simply reading the placeholder articles
which will appear in your news client will cause leafnode to do a fetch
of that news group when it is next scheduled to run (via cron, or
whatever). 
-- 
Neil
Re: Leafnode newbie questions. MY FIRST Leafnode post!
#165020
Author: natG
Date: Thu, 07 Apr 2005 23:30
15 lines
1986 bytes
natG wrote:
> NEW questions/problems.
> 1. I did a service xinetd restart, went [ok]. How do I verify leafnode 
> is running?
> 
> 2. In my current client, Thunderbird, I set the server to localhost, 
> (also tied the ip address), port 119, but when I try to get a list of 
> available groups (which should trigger leafnode to get the list from the 
> upstream server(s)) it times out with a "can't connect to server" message.
> Please advise.

Thank you all, after following your instructions its up and running and 
what a pleasure to have my client read all the headers in a snap!
Hopefully this will post. (Why do I feel like a kid with a new toy?)
-nat
Re: Leafnode newbie questions.
#165012
Author: SINNER
Date: Thu, 07 Apr 2005 23:40
25 lines
2366 bytes
* natG wrote in news.software.readers:

[...]

> One moment. I am not clear on expire/groupexpire. From the docs it seems 
> like this has nothing to do with the article date, rather the number of 
> days of a group being ignored by all clients.
> On the other hand, MAXAGE seems like exactly what I wanted, but alas, it 
> seems like a global, non group specific, setting. (albeit the man pages 
> describes MAXAGE together with groupexpire?)

timeout_short and timeout_long control the amount of time in days to
stop sucking headers based on accidental touches or not reading for a
number of days respectively. These are variables that fetchnews acts on.

expire and groupexpire control number of days to store an article based
on the article date. These are the variables that texpire acts on.

maxage is the oldest article you want fetchnews to grab. If it is set to
7, articles posted 7+ days ago will not be fetched.
-- 
David
"The trouble with doing something right the first time is that nobody 
appreciates how difficult it was."
-- Walt West
Re: Leafnode newbie questions.
#165026
Author: natG
Date: Fri, 08 Apr 2005 14:09
27 lines
2551 bytes
SINNER wrote:
> * natG wrote in news.software.readers:
> 
> [...]
> 
> 
>>One moment. I am not clear on expire/groupexpire. From the docs it seems 
>>like this has nothing to do with the article date, rather the number of 
>>days of a group being ignored by all clients.
>>On the other hand, MAXAGE seems like exactly what I wanted, but alas, it 
>>seems like a global, non group specific, setting. (albeit the man pages 
>>describes MAXAGE together with groupexpire?)
> 
> 
> timeout_short and timeout_long control the amount of time in days to
> stop sucking headers based on accidental touches or not reading for a
> number of days respectively. These are variables that fetchnews acts on.
> 
> expire and groupexpire control number of days to store an article based
> on the article date. These are the variables that texpire acts on.
> 
> maxage is the oldest article you want fetchnews to grab. If it is set to
> 7, articles posted 7+ days ago will not be fetched.
However, maxage, unlike groupexpire, is global and cannot be set per 
group. True?
Thanks again for illuminating these variable settings.
-nat
Re: Leafnode newbie questions. MY FIRST Leafnode post!
#165033
Author: Whiskers
Date: Fri, 08 Apr 2005 16:49
12 lines
1510 bytes
On 2005-04-07, natG <natgrossDOTrentalsystems@verizon.net> wrote:

snip

> (Why do I feel like a kid with a new toy?)

Because you are  :))  Good, isn't it?

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: Leafnode newbie questions. MY FIRST Leafnode post!
#165038
Author: natG
Date: Fri, 08 Apr 2005 19:43
15 lines
1713 bytes
Whiskers wrote:
> On 2005-04-07, natG <natgrossDOTrentalsystems@verizon.net> wrote:
> 
> snip
> 
> 
>>(Why do I feel like a kid with a new toy?)
> 
> 
> Because you are  :))  Good, isn't it?
> 
Yep! Except that I need to put Leafnode on an hourly schedule. Cause I 
forget...
Thanks again, and have a great weekend.
-nat
Re: Leafnode newbie questions. MY FIRST Leafnode post!
#165040
Author: SINNER
Date: Fri, 08 Apr 2005 22:57
26 lines
1831 bytes
* natG wrote in news.software.readers:
> Whiskers wrote:
>> On 2005-04-07, natG <natgrossDOTrentalsystems@verizon.net> wrote:

>> snip


>>>(Why do I feel like a kid with a new toy?)


>> Because you are  :))  Good, isn't it?

> Yep! Except that I need to put Leafnode on an hourly schedule. Cause I 
> forget...

as root:

# crontab -e

Add the following line:

* 0-23 * * * /usr/local/sbin/fetchnews

-- 
David
Happy feast of the pig!
Re: Leafnode newbie questions.
#165041
Author: SINNER
Date: Fri, 08 Apr 2005 23:07
26 lines
2190 bytes
* natG wrote in news.software.readers:
> SINNER wrote:

[...]

>> maxage is the oldest article you want fetchnews to grab. If it is set to
>> 7, articles posted 7+ days ago will not be fetched.

> However, maxage, unlike groupexpire, is global and cannot be set per 
> group. True?

Depends on the version of leafnode ;)

The 2.x branch moved the settings for maxage, maxlines, maxbytes and
minbytes to the filterfile which can apply each of those on a group
level.

> Thanks again for illuminating these variable settings.

You're welcome :)

-- 
David
A complex system that works is invariably found to have evolved from a
simple system that works
		-- Murphy's Laws on Technology n°34
Re: Leafnode newbie questions.
#165065
Author: Jeff Grossman
Date: Sat, 09 Apr 2005 16:08
16 lines
2024 bytes
natG <natgrossDOTrentalsystems@verizon.net> wrote:
>> You can do whatever you like at specific times of day, including
>> running fetchnews.
> Yep. Now that I know that Fetchnews is the 'puller', understood. 
> However, this brings up a question. There are times I want to actively 
> monitor certain groups, like every 5 minutes. Do I have to run 
> Fetchnews? Or if I have my client 'nagging' Leafnode every x minutes 
> (like it does now to my isp servers), will that trigger Fetchnews 
> automatically.?

You might want to take a look at Noffle.  I think Noffle can be set to 
run a program similar to Fetchnews more often depending on if you are 
currently reading the group or not.  I think the webpage is at 
http://noffle.sourceforge.net

Jeff
Re: Leafnode newbie questions.
#165133
Author: natG
Date: Sun, 10 Apr 2005 18:33
23 lines
2215 bytes
Jeff Grossman wrote:
> natG <natgrossDOTrentalsystems@verizon.net> wrote:
> 
>>>You can do whatever you like at specific times of day, including
>>>running fetchnews.
>>
>>Yep. Now that I know that Fetchnews is the 'puller', understood. 
>>However, this brings up a question. There are times I want to actively 
>>monitor certain groups, like every 5 minutes. Do I have to run 
>>Fetchnews? Or if I have my client 'nagging' Leafnode every x minutes 
>>(like it does now to my isp servers), will that trigger Fetchnews 
>>automatically.?
> 
> 
> You might want to take a look at Noffle.  I think Noffle can be set to 
> run a program similar to Fetchnews more often depending on if you are 
> currently reading the group or not.  I think the webpage is at 
> http://noffle.sourceforge.net
> 
> Jeff
Well, Well. Already running leafnode.
Thank you.
-nat
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads