Article View: news.software.nntp
Article #57808Re: [inn2.3.2] how could i change the storage mode?
From: Johnson Lau
Date: Mon, 01 Apr 2002 04:21
Date: Mon, 01 Apr 2002 04:21
76 lines
3584 bytes
3584 bytes
"Russ Allbery" <rra@stanford.edu> ���g��l��s�D
:ylk7rso036.fsf@windlord.stanford.edu...
> Johnson Lau <johnson@siukeung.com> writes:
>
> > method cnfs {
> > newsgroups: *,!*.*,talk.rumors
> > class: 3
> > size: 0,16384
> > options: SPECIAL
> > }
> > method cnfs {
> > newsgroups: *
> > class: 4
> > size: 0,16384
> > options: NORMAL
> > }
>
> > Then I create a new group called secret.test , without changing the
> > storage.conf. Posting to secret.test should go to class 4, right?
>
> Yes, that's what I'd expect.
>
> > But later I want to move the secret.test to class, then I change the
> > class 3 into:
>
> > method cnfs {
> > newsgroups: *,!*.*,talk.rumors,secret.test
> > class: 3
> > size: 0,16384
> > options: SPECIAL
> > }
>
> Well, one possible problem is that you're supposed to use @ and not ! in
> storage.conf (! doesn't make a lot of sense in storage.conf in the
> presence of crossposted messages, and I don't remember how INN interprets
> it). Could that be the problem?
>
> > However, I found that it does not change anything. When I post to
> > secret.test, only the NORMAL pool was updated but not SPECIAL. (by
> > observing it with ls -la)
>
> > then I try to change the class 4 like this:
>
> > method cnfs {
> > newsgroups: *,!secret.test
> > class: 4
> > size: 0,16384
> > options: NORMAL
> > }
>
> > as i think it would force it to put the post into class 3. however, i
> > got the error "400 no matching entry in storage.conf storing article --
> > throttling"
>
> Yeah, that was a good test and confirms that the pattern for class 3
> didn't pick the group up correctly.
>
> Is talk.rumors going to the right place?
oh!!! talk.rumors goes to NORMAL too!!
i set this rule before running the server for the first time!
method cnfs {
newsgroups: *,!*.*,talk.rumors,secret.test
class: 3
size: 0,16384
options: SPECIAL
}
i want to put any group with a single word to the class 3,
and exclude any group with a "." (e.g. news.software.nntp), besides
talk.rumors and secret.test
Technical Details
Message-ID:
<a88n7n$2s4h$1@ijustice.itsc.cuhk.edu.hk>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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsgate.cuhk.edu.hk!cuhk-bullish!news.cuhk.edu.hk!not-for-mailReferences:
<a87sl3$2jnc$1@ijustice.itsc.cuhk.edu.hk> <yl3cygpi3t.fsf@windlord.stanford.edu> <a87v6h$2k0d$1@ijustice.itsc.cuhk.edu.hk> <ylk7rso036.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <a88n7n$2s4h$1@ijustice.itsc.cuhk.edu.hk> Subject: Re: [inn2.3.2] how could i change the storage mode? Date: Mon, 1 Apr 2002 12:21:11 +0800 From: "Johnson Lau" <johnson@siukeung.com> References: <a87sl3$2jnc$1@ijustice.itsc.cuhk.edu.hk> <yl3cygpi3t.fsf@windlord.stanford.edu> <a87v6h$2k0d$1@ijustice.itsc.cuhk.edu.hk> <ylk7rso036.fsf@windlord.stanford.edu> 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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsgate.cuhk.edu.hk!cuhk-bullish!news.cuhk.edu.hk!not-for-mail Newsgroups: news.software.nntp Organization: The Chinese University of Hong Kong Lines: 75 NNTP-Posting-Host: pn-206-65.itsc.cuhk.edu.hk X-Trace: ijustice.itsc.cuhk.edu.hk 1017634872 94353 137.189.206.65 (1 Apr 2002 04:21:12 GMT) X-Complaints-To: abuse@cuhk.edu.hk.removeme NNTP-Posting-Date: Mon, 1 Apr 2002 04:21:12 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000