filtering and unwanted groups

Russ Allbery rra at stanford.edu
Mon May 7 12:11:31 UTC 2001


Marco d'Itri <md at Linux.IT> writes:

> Why articles are sent to the perl filter before checking if they have
> been posted to a group we carry?

Couple of reasons.

First, doing posting host / lines filtering, MD5 filtering, or similar
sorts of things works better if you get more data; if the first N posts
that make it through that filter are to groups you don't even carry, so
much the better.  Second, many of the Perl filter operations can actually
be faster than the Newsgroups check done by INN, so it's occasionally
worthwhile from a performance standpoint to filter first.

It should probably be an option; redesigning the filter interface is on
the TODO list (as a 2.5 item).

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>


More information about the inn-workers mailing list