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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. |
|
|||
|
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? |
|
|||
|
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? |
|
|||
|
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 |
|
|||
|
[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 |
|
|||
|
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. |