[leafnode-list] Re: leafnode-2.0.0.alpha20090908a.luascript filters killing all articles

clemens fischer ino-news at spotteswoode.dnsalias.org
Sun Nov 22 19:48:31 CET 2009


On Sat-2009/11/21-17:47 jh wrote:

> Just moved from leafnode-2.0.0.alpha20081120a to
> leafnode-2.0.0.alpha20090908a.luascript. The filter file that worked
> previously, now results in all news being killed. A simple example
> filter of:
> 
> ### do not accept articles older than 20 days
> newsgroups = .*
> maxage = 20
> action = kill
> 
> ### do not fetch articles beyond 100,000 bytes
> maxbytes = 100000
> action = kill
> 
> results in harmless articles being killed, thusly:
> 
> Nov 21 16:28:04 roo fetchnews[18680]: store: article header rejected by
> filter: From: '<not-yet-seen>', Date: '<not-yet-seen>', Subject:
> '<not-yet-seen>' Nov 21 16:28:04 roo fetchnews[18680]:
> gmane.comp.lang.ruby.general: 0 articles fetched (to 25770), 1 killed

There is a problem in inter-operating the old filterfile-based and the
new Lua-based filtering, which has been discussed several times.  We
have three ways to solve it:

1.  decommission of filterfile
2.  decommission of Lua
3.  make both work again at users choice

At the outset I wanted both to work, but it turned out that changes to
leafnode-2 are needed.  So I checked in an experimental branch with
a possible fix.  Matthias did not yet look at it or decide what should
be done.

My own leafnode-2 installation is almost identical to
2.0.0.alpha20090908a with the big difference of unsetting the
"filterfile" option and using only Lua, and it works.  This would be 1.
in the above list.

You should propably go back to 2.0.0.alpha20081120a, which has no Lua
but lets you use filterfile.


clemens




More information about the leafnode-list mailing list