Article View: news.software.readers
Article #199056Re: Pan - custom score filters (more on)
From: Mike Dee
Date: Fri, 04 May 2007 01:24
Date: Fri, 04 May 2007 01:24
73 lines
3625 bytes
3625 bytes
On Thu, 03 May 2007 22:11:00 +0000, Bob the Burger-Builder wrote: > Eyestrain'R'Us :( > > So far I've got this working, > > %%% BEGIN Custom config ============================== > > %BOS > [^\S] % PLONK for all groups > Score: =-9999 > From: ^"Idiot" <idiot@aol\.con>|"Bozo"<bozo@hotmail.con>|"Pest" > <best@yahoo.con>$ %EOS > > %BOS > [^\S] % WATCH for all groups > Score: -9999 > From: ^"Mentor" <mentor@genius\.org>|"Interesting" > <interesting@witty\.one>|"Joker" <joker@funny\.org>|$ %EOS I don't know why this would be a "WATCH" score? A -9999 in Pan is a KILL to me. Are you using the "Tools" menu, "Custom Filters" submenu to create these? You should begin using "Edit Scorefile" submenu instead. It is much easier to work with once you have a Score file started and a decent external editor setup. > %%% END Custom config ================================ > > I've yet to figure out how to get each entry on it's own line without > breaking things. I've tried |\n at the end of each line and several > combinations thereof, but can't find the clues in the man.3.pcrepattern > man page. (I am getting a tad boggle-eyed though.) > > My one remaining biscuit goes to the first with the functioning clue. > > ie: How to do this, > > %BOS > [^\S] % PLONK for all groups > Score: =-9999 > From: ^"Idiot" <idiot@aol\.con>|BREAK "Bozo"<bozo@hotmail.con>|BREAK > "Pest" <best@yahoo.con>$ > %EOS > > What replaces "BREAK" ? You could use OR "::" I guess, but for a score on the "From" header why not just keep with the pipe? You don't need their full email address in the From header either, if their names are distinctive enough. [*] % PLONK for all groups using OR (poor) Score:: =-9999 From: Idiot From: Bozo From: Pest [*] % PLONK for all groups using PIPE (better) Score: =-9999 From: Idiot|Bozo|Pest [*] % PLONK for all groups using OR and PIPE (even better) Score:: =-9999 From: Idiot|Bozo|Pest Message-ID: idiot@aol|bozo@hotmail|pest@yahoo References: idiot@aol|bozo@hotmail|pest@yahoo -- dee
Technical Details
Message-ID:
<pan.2007.05.04.01.20.01.782000@emteedee.invalid>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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.freenet.de!news.unit0.net!news.szaf.org!morpheus.pingos.org!newsfeed.datemas.de!news.datemas.de!not-for-mailReferences:
<pan.2007.05.03.22.11.29.908092@Cuppa.tea>Show Full Headers
Complete Article Headers
Message-ID: <pan.2007.05.04.01.20.01.782000@emteedee.invalid>
Subject: Re: Pan - custom score filters (more on)
Date: Fri, 04 May 2007 11:24:27 +1000
From: Mike Dee <mikedee@emteedee.invalid>
References: <pan.2007.05.03.22.11.29.908092@Cuppa.tea>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.freenet.de!news.unit0.net!news.szaf.org!morpheus.pingos.org!newsfeed.datemas.de!news.datemas.de!not-for-mail
Newsgroups: news.software.readers
Organization: Poor Boy
Lines: 73
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.datemas.de
WRM45gk9YZG9g2HK9ljuJu/99GssDeqTpDVcIie10b8bPHk8w/pVR/bUjpN/tK6cCi8eN7U8RUOfPMnX6g2Y9VKo0G/AGAfY5dIxlTX8YmiD4vL5VojPWvTo4hTgfYvgevrdItnC4Tp8EeZuaca5xNaXF866fyf0NH94W9GycAM=
X-Complaints-To: abuse@datemas.de
NNTP-Posting-Date: Fri, 4 May 2007 01:24:31 +0000 (UTC)
X-NFilter: 1.2.0
X-Face: GhI6&E:z?n'nsrlV?_qRS8g-i]71D$aM}SVfk2cj_iiOv@clRO[J?AAt6pJ~iY04t7xqkM^ !/\xftD${tz]U>!0x<jZZUSDT:"",
`ce2FQ\Poa$zV]M5FDYIf7o5hj[we@QNzuSc=, "Zfx.Pe' w'M Vnz9|hwP^pycp$"m
User-Agent: Pan 0.14.2 (NewsProxy 1.2.0, Windows, GTK+)