Networking Forums

Networking Forums > Computer Networking > Linux Networking > Help with Leafnode filters

Reply
Thread Tools Display Modes

Help with Leafnode filters

 
 
Subba Rao
Guest
Posts: n/a

 
      07-05-2003, 02:51 AM
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
 
 
 
 
Doug Laidlaw
Guest
Posts: n/a

 
      07-05-2003, 04:19 AM
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
 
Doug Laidlaw
Guest
Posts: n/a

 
      07-05-2003, 04:29 AM
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
 
Ed Murphy
Guest
Posts: n/a

 
      07-05-2003, 05:16 AM
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
 
Carl Inglis
Guest
Posts: n/a

 
      07-05-2003, 05:57 AM
[Followup-To set]

On Fri, 04 Jul 2003 22:51:25 -0400, Subba Rao
<(E-Mail Removed)> 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
 
Colin
Guest
Posts: n/a

 
      07-05-2003, 12:44 PM
Subba Rao <(E-Mail Removed)> 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
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
filters? evie Broadband 8 05-15-2006 02:38 AM
Leafnode Joker7 Home Networking 13 11-16-2005 07:36 AM
Leafnode - FQDN pinko Linux Networking 1 06-22-2005 09:15 PM
[leafnode] 0 new messages Fran?ois Wisard Google Linux Networking 1 11-22-2003 08:01 PM
horrible problem with leafnode as a local news server-crosspost Lukasz Wieczorek Linux Networking 0 08-16-2003 04:40 PM



1 2 3 4 5 6 7 8 9 10 11