Article View: news.software.nntp
Article #29033Re: dropping articles based on size
From: bill davidsen
Date: Wed, 10 Jun 1998 00:00
Date: Wed, 10 Jun 1998 00:00
38 lines
1989 bytes
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.
Technical Details
Message-ID:
<6lmp56$f44$1@newssvr03-int.news.prodigy.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<6lmn1t$caa$1@news.rightiming.com>Show Full Headers
Complete Article Headers
Message-ID: <6lmp56$f44$1@newssvr03-int.news.prodigy.com> Subject: Re: dropping articles based on size Date: Wed, 10 Jun 1998 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <6lmn1t$caa$1@news.rightiming.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 361468418 X-Auth-User: 000000000/2bccb82c886d5688 X-Post-Time: 10 Jun 1998 20:09:10 GMT Organization: TMR Associates, Schenectady NY X-Problems-To: abuse@prodigy.net Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com