Article View: news.software.readers
Article #240740Re: Xnews query on exceptions in a score file entry
From: John Wunderlich
Date: Fri, 07 May 2010 05:31
Date: Fri, 07 May 2010 05:31
37 lines
2360 bytes
2360 bytes
"Raymond Daley" <raymond.daley@ntlworld.com> wrote in news:uhFEn.64203$rk4.15970@newsfe25.ams2: > I wanted to do a filter which scores a whole thing (which I > already know works) but I want to add an exception rule to it to > allow posts which include a particular word in the title. > > Basically it would kill anything from posting software called > Jbinup.local but would still allow posts that had WRESTLINGBAY in > the subject even if they were from Jbinup.local > > How is that done please? > > I cant find ANYTHING on how to do an exception anywhere. > > Xnews = possibly the worst supported and most badly documented > piece of software I have ever used. > > It depends on which header contains your "Jbinup.local" tag. It could be "user-agent" or "X-newsreader". Both are nonstandard headers for filtering, so your newsserver must support the XHDR command or it won't work. Assuming it does, you probably are looking for a filter that looks like: Score: -9999 User-Agent: Jbinup.local ~Subject: wrestlingbay Scores are logically "AND"-ed if there is a single ":" after "Score", so this filter will throw away all articles whose user-agent header contains Jbinup.local AND the subject does NOT contain "wrestlingbay" (NOT indicated by the "~" in front of Subject) HTH, John
Technical Details
Message-ID:
<Xns9D70E50EBE89wunderpsdrscray@207.246.207.166>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.glorb.com!news2.glorb.com!news-xfer.nntp.sonic.net!news.astraweb.com!border2.newsrouter.astraweb.com!not-for-mailReferences:
<uhFEn.64203$rk4.15970@newsfe25.ams2>Show Full Headers
Complete Article Headers
Message-ID: <Xns9D70E50EBE89wunderpsdrscray@207.246.207.166> Subject: Re: Xnews query on exceptions in a score file entry Date: Thu, 06 May 2010 22:31:02 -0700 From: John Wunderlich <jwunderlich@lycos.com> References: <uhFEn.64203$rk4.15970@newsfe25.ams2> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.glorb.com!news2.glorb.com!news-xfer.nntp.sonic.net!news.astraweb.com!border2.newsrouter.astraweb.com!not-for-mail Newsgroups: news.software.readers User-Agent: Xnews/2006.08.24 Lines: 37 Organization: Unlimited download news at news.astraweb.com NNTP-Posting-Host: d91065ea.news.astraweb.com X-Trace: DXC=V>_TAD?HbeYD:=ciL5QPHRL?0kYOcDh@Z`U<K]m16C0^LP4j]gl`I<U=7Z]96^:nh^^UNj4MODgcP?AG3Ta1Dnd_; =<E6Dg9R; \