🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #137764

Re: [Dialog] Sorting oddities

#137764
From: foxidrive
Date: Wed, 19 Nov 2003 06:03
20 lines
2336 bytes
On Tue, 18 Nov 2003 21:09:40 GMT, Tarkus wrote:

> I have a SpamCop folder for grabbing stuff that has been marked as spam.  
> Occasionally, though, something winds up there that I can't figure out 
> why.  Here are all my SpamCop filters:
> 
> !move(SpamCop),setcolor(green;default) Header (X-Text-Classification) "K9-spam"
> !move(SpamCop),setcolor(purple;default) Header (X-Spam-Flag) "YES"
> !move(SpamCop),setcolor(yellow;default) Header (X-SpamCop-Disposition) "Blocked"

The keyword after Header is ignored, and the *entire* header is searched.
The "YES" is being matched in "BAYES"

I tested the above hypothesis by this action, which did succeed in moving the email.
!move(test) Header (doohickey) "Ultimate"

These regular expressions, or subtle variations, may work for you
!move(SpamCop),setcolor(green;default) Header {^X-Text-Classification:.*K9-spam.*$}
!move(SpamCop),setcolor(purple;default) Header {^X-Spam-Flag: YES$}
!move(SpamCop),setcolor(yellow;default) Header {^X-SpamCop-Disposition:.*Blocked.*$}
Technical Details
Message-ID: <1ligd0rrgfao5.yuw8lt1ni4zx$.dlg@40tude.net>
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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
References: <eemeqzq6j75a.dlg@tarkus.karnevil9.com>

Show Full Headers
Complete Article Headers
Message-ID: <1ligd0rrgfao5.yuw8lt1ni4zx$.dlg@40tude.net>
Subject: Re: [Dialog] Sorting oddities
Date: Wed, 19 Nov 2003 06:03:40 GMT
From: foxidrive <foxidrive@Shotmail.com>
References: <eemeqzq6j75a.dlg@tarkus.karnevil9.com>
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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.8.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 220.240.64.143
X-Original-Trace: 19 Nov 2003 17:03:39 +1100, 220.240.64.143
Lines: 20
NNTP-Posting-Host: 203.194.27.1
X-Complaints-To: abuse@comindico.com.au
X-Trace: news.optus.net.au 1069221820 203.194.27.1 (Wed,
NNTP-Posting-Date: Wed, 19 Nov 2003 17:03:40 EST
Organization: Comindico Australia - reports relating to abuse should be sent
 to abuse@comindico.com.au