[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] Filtering no wildcards?



Stefan Inhofer wrote:

> i have leafnode and have written some lines in
> /etc/leafnode/filters
> 
> it is
> Newsgroups:.*[, ]alt.*

This will cause fetchnews to reject all articles containing some
newsgroup in the alt.* hierarchy. There is no need to invoke
applyfilter for that.

> but when i say
> applyfilter -v alt.*
> 
> he says no such group.
> 
> how can i filter out all alt.* NG s?

applyfilter is a program which applies the contents of the filterfile
to a specific newsgroup which has already been downloaded. I.e. if you
don't download alt.* newsgroups, you don't have to invoke applyfilter.

applyfilter can take only one newsgroup as a parameter; it does not
accept wildcards.

(Thinking about it, since the format of the filterfile will change in
 Leafnode 2.x - making it possible to make filterfile settings for
 specific newsgroups only - it seems to make no sense to keep the 
 newsgroups parameter in applyfilter. Any comments?)

HTH,

--Cornelius.

-- 
/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany   email: phak004@xxxxxxxxxxxxxxxxxxxxxx  SP4 */
/* "Science is the game we play with God to find out what His rules are."  */

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list