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

clemens fischer ino-news at spotteswoode.dnsalias.org
Fri Nov 28 03:14:02 CET 2008


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




More information about the leafnode-list mailing list