Help with Leafnode filters

This is a discussion on Help with Leafnode filters within the Linux Networking forums, part of the Linux Forums category; Hello again, Now that I have my local Leafnode News working, I tried to setup some filters. This is what ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-05-2003
Subba Rao
 
Posts: n/a
Default Help with Leafnode filters

Hello again,

Now that I have my local Leafnode News working, I tried to setup some
filters. This is what my filters file looks like:

^Newsgroups:.*[, ]alt.flame$
^Newsgroups:.*[, ]alt.flame,
^Newsgroups:.*[, ].*erotic.*

I added the last line to avoid download or attempting to download
anything from newsgroups with the text "*erotic*".

For testing, I subscribed to one of the groups and it started to
download news items from that group. I thought the filter is supposed
to block that.

How can I configure Leafnode not download any groups with some text such
as *erotic* or *binaries* etc?

Also, how can I delete these files that were downloaded by Leafnode? I
have unsubscribed from that group. Does that mean Leafnode will clean
up and delete those files OR do I have to login as root and delete them
manually?

Thank you in advance for any help.

--
Subba Rao
-------------------------------------------------------------------------
Old American Wild West saying: God created men but Colt made them equal.
Today: Linus created Linux and Linux made IT companies equal.

Reply With Quote
  #2 (permalink)  
Old 07-05-2003
Doug Laidlaw
 
Posts: n/a
Default Re: Help with Leafnode filters

Subba Rao wrote:

> Hello again,
>
> Now that I have my local Leafnode News working, I tried to setup some
> filters. This is what my filters file looks like:
>
> ^Newsgroups:.*[, ]alt.flame$
> ^Newsgroups:.*[, ]alt.flame,
> ^Newsgroups:.*[, ].*erotic.*
>
> I added the last line to avoid download or attempting to download
> anything from newsgroups with the text "*erotic*".
>
> For testing, I subscribed to one of the groups and it started to
> download news items from that group. I thought the filter is supposed
> to block that.
>
> How can I configure Leafnode not download any groups with some text such
> as *erotic* or *binaries* etc?
>
> Also, how can I delete these files that were downloaded by Leafnode? I
> have unsubscribed from that group. Does that mean Leafnode will clean
> up and delete those files OR do I have to login as root and delete them
> manually?
>
> Thank you in advance for any help.
>

I have never used any filters so I can't help you with that. Seems that you
should subscribe to Leafnode's mailing list, which is VERY busy. Go to
http://www.leafnode.org .

As regards the exisitng messages, these are deleted by the texpire
executable after the maximum number of days set by your config. file. If
you don't touch that ng again with your newsreader, downloading will stop
after 7 days. To stop downloading now, go to
/var/spool/news/interesting.groups/ as root and delete the entries for the
groups you don't want. This will only stop leafnode from fetching those
groups. Existing messages will still be expired by texpire. You should set
up texpire as a cron job. Instructions are in the INSTALL file.

HTH,

Doug.

--
Registered Linux user No. 277548.
Linux: in a world without fences, who needs Gates?
Reply With Quote
  #3 (permalink)  
Old 07-05-2003
Doug Laidlaw
 
Posts: n/a
Default Re: Help with Leafnode filters

Subba Rao wrote:

> Hello again,
>
> Now that I have my local Leafnode News working, I tried to setup some
> filters. This is what my filters file looks like:
>
> ^Newsgroups:.*[, ]alt.flame$
> ^Newsgroups:.*[, ]alt.flame,
> ^Newsgroups:.*[, ].*erotic.*
>
> I added the last line to avoid download or attempting to download
> anything from newsgroups with the text "*erotic*".
>
> For testing, I subscribed to one of the groups and it started to
> download news items from that group. I thought the filter is supposed
> to block that.
>
> How can I configure Leafnode not download any groups with some text such
> as *erotic* or *binaries* etc?
>
> Also, how can I delete these files that were downloaded by Leafnode? I
> have unsubscribed from that group. Does that mean Leafnode will clean
> up and delete those files OR do I have to login as root and delete them
> manually?
>
> Thank you in advance for any help.
>

Further to what I have just written, do you need those filters? You said
originally that you only wanted a few groups. On that case, you subscribe
only to the groups that you want. With your newsreader, subscribe to those
groups. For each group, you will see a default placeholder. Make sure
that it is marked as read. Those groups will be the only ones downloaded.

Doug.

--
Registered Linux user No. 277548.
Linux: in a world without fences, who needs Gates?
Reply With Quote
  #4 (permalink)  
Old 07-05-2003
Ed Murphy
 
Posts: n/a
Default Re: Help with Leafnode filters

On Fri, 04 Jul 2003 22:51:25 -0400, Subba Rao wrote:

> Now that I have my local Leafnode News working, I tried to setup some
> filters. This is what my filters file looks like:
>
> ^Newsgroups:.*[, ]alt.flame$
> ^Newsgroups:.*[, ]alt.flame,


Are these filters working as expected?

> ^Newsgroups:.*[, ].*erotic.*


Check the headers. Maybe the space between the colon and the newsgroup
is being omitted? Anyway, try this filter instead:

^Newsgroups:.*erotic

Reply With Quote
  #5 (permalink)  
Old 07-05-2003
Carl Inglis
 
Posts: n/a
Default Re: Help with Leafnode filters

[Followup-To set]

On Fri, 04 Jul 2003 22:51:25 -0400, Subba Rao
<sailorn@attglobal.net> wrote:
<snip>
> Now that I have my local Leafnode News working, I tried to setup some
> filters. This is what my filters file looks like:

<snip>

Join the Leafnode mailing list. The developers all read that list and
it's one of the most helpful product-specific mailing lists I've ever
been on. And.... <shock horror> discussion of Leafnode is *on-topic*
there. It certainly *isn't* in alt.os.linux.slackware

Carl
--
"..as to who I am now, if you're prompted to ask: I'm the ghost of my
future and the sum of my past."
- Talis Kimberly, Small Mended Corners, Archetype Cafe
Reply With Quote
  #6 (permalink)  
Old 07-05-2003
Colin
 
Posts: n/a
Default Re: Help with Leafnode filters

Subba Rao <sailorn@attglobal.net> writes:

> Hello again,
>
> Now that I have my local Leafnode News working, I tried to setup some
> filters. This is what my filters file looks like:
>
> ^Newsgroups:.*[, ]alt.flame$
> ^Newsgroups:.*[, ]alt.flame,
> ^Newsgroups:.*[, ].*erotic.*
>
> I added the last line to avoid download or attempting to download
> anything from newsgroups with the text "*erotic*".
>
> For testing, I subscribed to one of the groups and it started to
> download news items from that group. I thought the filter is supposed
> to block that.
>
> How can I configure Leafnode not download any groups with some text
> such as *erotic* or *binaries* etc?


I believe the filters work on individual messages and not entire
newsgroups. If the filter above works, leafnode will let users join
any newsgroup but the filter will prevent them from seeing any
messages in those groups.

>
> Also, how can I delete these files that were downloaded by Leafnode?
> I have unsubscribed from that group. Does that mean Leafnode will
> clean up and delete those files OR do I have to login as root and
> delete them manually?


Leafnode will automatically delete those messages after a certain
number of days. It depends what the expire value is in the leafnode
config file.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:42 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0