🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Dr Yufan Hu Wed, 10 Jun 1998 00:00
dropping articles based on size
#29003
Author: Dr Yufan Hu
Date: Wed, 10 Jun 1998 00:00
23 lines
1189 bytes
I am currently using timehash under INN2.0. I would like to drop articles
based on their size, say for binaries they must be at least 5k and for
others they must be no more than 100k. 

I tried to use minsize and maxsize in the storage.ctl:

timehash:alt.bin*:1:5000:0
timehash:rec.*:2:0:100000

timehash:*:0:0:0

And there are still many 1-2k articles in binaries and bigger one in
rec.*.

Any suggestion?

Thanks.

Yufan


Re: dropping articles based on size
#29033
Author: bill davidsen
Date: Wed, 10 Jun 1998 00:00
38 lines
1989 bytes
In article <6lmn1t$caa$1@news.rightiming.com>,
Dr Yufan Hu  <yufan@rightiming.com> wrote:
| I am currently using timehash under INN2.0. I would like to drop articles
| based on their size, say for binaries they must be at least 5k and for
| others they must be no more than 100k. 
| 
| I tried to use minsize and maxsize in the storage.ctl:
| 
| timehash:alt.bin*:1:5000:0
| timehash:rec.*:2:0:100000
| 
| timehash:*:0:0:0
| 
| And there are still many 1-2k articles in binaries and bigger one in
| rec.*.
| 
| Any suggestion?

My understanding is that this is a "first match" scan, and that if an
article is crossposted it would match on several rules, but takes the
first match.

See the section on 'trash' if you really want to make these go away.
From memory, something like:
    trash:alt.bin*:1:0:5000
might be useful. I don't see any way to reject a cross posted article in
some groups and not others, but I confess there are lots of things I
just haven't look at yet!

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  Religion? Fundamentalist paranoid, sir. A man can not be a true
believer until he recognizes that he can not even trust himself! Not
only are 'they' out to get you, but you are, too.


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads