🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #142551

Re: [Dialog] Score on content-type

#142551
From: Gord McFee
Date: Mon, 02 Feb 2004 01:21
33 lines
2248 bytes
On Mon, 02 Feb 2004 01:02:59 GMT, Gord McFee wrote:

> On Sun, 01 Feb 2004 22:26:50 +0100, Henrik K Hansen wrote:
> 
>> Gord McFee, wrote:
>> 
>>> Is it possible?
>> 
>> Don't know.
>> 
>>> I get tons of "critical patch" updates that somehow defeat
>>> my lines scoring entry
>> 
>> I kill them with this line
>> Header {(?m-i)(^SUBJECT:\s)}
>> it's from Hamster, but it also works with Dialog.
> 
> Thank you very much.  I didn't know you could use a header line in scoring
> and actions.  I thought about your suggestion and then tried an adaptation
> of it to see if I could move multi-part headers to Spam, and came up with
> this, which seems to work:
> 
> !move(Spam) Header Content-Type: multipart/alternative;
> 
> That seems to move all the HTML mail to Spam.

Oops, and everything else too!  It should be:

!move(Spam) Header {Content-Type: multipart/alternative;}

-- 
Gord McFee
I'll write no line before its time
Technical Details
Message-ID: <ovvmsti1cet4.hxzlj2cg2aa2.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!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.mountaincable.net!cyclone01.bloor.is.net.cable.rogers.com!twister01.bloor.is.net.cable.rogers.com.POSTED!not-for-mail
References: <hry0be67gpyn$.1qnnk1yjrsuia$.dlg@40tude.net> <01.02.2004.22.26.50$news.software.readers$@hkh.dyndns.dk> <zhqf5iqck205.kd4ar2p3owew$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <ovvmsti1cet4.hxzlj2cg2aa2.dlg@40tude.net>
Subject: Re: [Dialog] Score on content-type
Date: Mon, 02 Feb 2004 01:21:09 GMT
From: Gord McFee <gord.mcfee@rogers.com>
References: <hry0be67gpyn$.1qnnk1yjrsuia$.dlg@40tude.net> <01.02.2004.22.26.50$news.software.readers$@hkh.dyndns.dk> <zhqf5iqck205.kd4ar2p3owew$.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!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.mountaincable.net!cyclone01.bloor.is.net.cable.rogers.com!twister01.bloor.is.net.cable.rogers.com.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.10.1 (e31daeaa.367.189)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Lines: 33
NNTP-Posting-Host: 24.43.88.194
X-Complaints-To: abuse@rogers.com
X-Trace: twister01.bloor.is.net.cable.rogers.com 1075684869 24.43.88.194 (Sun,
NNTP-Posting-Date: Sun, 01 Feb 2004 20:21:09 EST