I am referring to Jeffrey's posting <dq9ipf$lis$1...@puck.litech.org>
earlier this year where he recommended a newsgroup line in storage.conf
like:
| newsgroups: !*
I wonder if I missed a new development because man storage.conf tells me
regarding the newsgroup line that:
| ``!'' cannot be used, however.
What I want to achieve is the following (INN 2.4.2 at Debian Linux):
| method cnfs {
| newsgroups: de.*,!de.UNWANTED
| class: 1
| options: DE
| }
|
| method cnfs {
| newsgroups: *
| class: 2
| options: REST
| }
Before screwing my running server I'd like to ask if that will work?
Or will a "newsgroup: de.*,@de.UNWANTED" do the trick? I do have to
admit that I do not understand what is meant by "Poison wildmat
expressions ..." in storage.conf, especially if that will work in the
scenario outlined above.
Thanks,
Michael
--
to let
Note : I'm not an expert with storage methods, so don't take my word for
granted. I just hope that someone will smack me on the head with
the docs if I get it wrong... :)
> Before screwing my running server I'd like to ask if that will work?
I'd say no.
> Or will a "newsgroup: de.*,@de.UNWANTED" do the trick?
According to the docs, yes, with the caveat below.
> I do have to
> admit that I do not understand what is meant by "Poison wildmat
> expressions ..." in storage.conf, especially if that will work in the
> scenario outlined above.
Well, the poison wildmat is different from the negation in the case of a
crossposting. This means, in this case, that the article will not match
the storage clause if _any_ group in the newsgroups line matches. A
simple exclusion (when it's useable) mean that it doesn't match if _all_
the groups are unwanted.
Fred
--
Like that means something And oh so sick I am
And maybe I don't have a choice And maybe that is all I have
And maybe this is a cry for help
(Nine inch Nails, I Do not Want This)
>> Or will a "newsgroup: de.*,@de.UNWANTED" do the trick?
>
> According to the docs, yes, with the caveat below.
>
>> I do have to
>> admit that I do not understand what is meant by "Poison wildmat
>> expressions ..." in storage.conf, especially if that will work in the
>> scenario outlined above.
>
> Well, the poison wildmat is different from the negation in the case of a
> crossposting. This means, in this case, that the article will not match
> the storage clause if _any_ group in the newsgroups line matches. A
> simple exclusion (when it's useable) mean that it doesn't match if _all_
> the groups are unwanted.
Lets assume three different newsgroups header scenarios with a
"newsgroup: de.*,@de.UNWANTED" clause in storage.conf:
1. Newsgroups: de.wanted
2. Newsgroups: de.wanted,de.UNWANTED
3. Newsgroups: de.UNWANTED
Does that poison wildmat approach mean that only articles with headers
like in 1. will match the storage clause and those in 2. and 3. won't?
Regards,
Michael
--
intentionally left blank
> 1. Newsgroups: de.wanted
> 2. Newsgroups: de.wanted,de.UNWANTED
> 3. Newsgroups: de.UNWANTED
>
> Does that poison wildmat approach mean that only articles with headers
> like in 1. will match the storage clause and those in 2. and 3. won't?
Yes.
http://www.die.net/doc/linux/man/man5/storage.conf.5.html
--
Iulius
« -- Heureusement, nous aurons bientôt le TGV !
-- C'est quoi le tégévé ?
-- C'est le Transport Gaulois Véloce » (Astérix)
>> Lets assume three different newsgroups header scenarios with a
>> "newsgroup: de.*,@de.UNWANTED" clause in storage.conf:
[...]
>> 1. Newsgroups: de.wanted
>> 2. Newsgroups: de.wanted,de.UNWANTED
>> 3. Newsgroups: de.UNWANTED
>>
>> Does that poison wildmat approach mean that only articles with headers
>> like in 1. will match the storage clause and those in 2. and 3. won't?
>
> Yes.
Thanks. I set up my storage clause as outlined above and it works the
way both of you anticipated (checked with showtoken).
Regrads,
Michael
--
to let