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

[leafnode-list] Re: ln2: PCRE filtering body?



On Wed, 26 Nov 2008 21:52:44 +0100 clemens fischer wrote:

> I have code in "store.c" that could be activated: it calls
> "killfilter(f, mastr_str(body))" depending on the compile time
> option "FILTER_BODY_PCRE".  The reason this is not on by default
> is missing syntax for body filtering in the stock killfile
> "etc/leafnode/filters".
>
> We have "newsgroups" to select newsgroups, "pattern" to match headers
> on and "action" to specify some score.  If we don't provide something
> special for body patterns, people could drop good articles when they
> cite bad articles just because part of the body matches an unwanted
> header pattern.
>
> What should we do about this?

BTW, at the time this killfilter() is called, do we have a valid
newsgroup somewhere so it selects the correct entries from the filters
file?

-c

-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
https://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/