Unix Technical Forum

Help with Leafnode filters

This is a discussion on Help with Leafnode filters within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hello again, Now that I have my local Leafnode News working, I tried to setup some filters. This is ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 10:47 AM
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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 10:47 AM
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 10:47 AM
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 10:47 AM
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 10:47 AM
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 10:47 AM
Realto Margarino
 
Posts: n/a
Default Re: Help with Leafnode filters

In alt.os.linux.slackware Carl Inglis <willbounce@yoshiwara.org.uk> wrote:

> 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


But, <shock horror> it's a hell of a lot more on topic than
articles about the Taino language.

cordially, as always,

rm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-18-2008, 10:47 AM
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-18-2008, 10:47 AM
Carl Inglis
 
Posts: n/a
Default Re: Help with Leafnode filters

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 05 Jul 2003 12:34:59 GMT, Realto Margarino
<realto_margarino.fu2spam@hotmail.com> wrote:
> In alt.os.linux.slackware Carl Inglis <willbounce@yoshiwara.org.uk> wrote:
>
>> 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

>
> But, <shock horror> it's a hell of a lot more on topic than
> articles about the Taino language.


Ahh, you're still here are you? Well, you waste of sperm, you can go in
my killfile with all the other arseholes with nothing better to do with
their time than try to score cheap points, and who just end up making
themselves look like complete losers. Aren't you depriving a village
somewhere of it's idiot?

*Plonk*

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE/Bs+ZvtuDrv9Wyt0RAgotAJ9G1R6nQXpp0BDD21HHLvv9Oy9w4A CeL6qZ
FF7F0AAtlgQ79JnZVxSe+vI=
=vZIG
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:10 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com