🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Gord McFee Sun, 01 Feb 2004 20:06
[Dialog] Score on content-type
#142540
Author: Gord McFee
Date: Sun, 01 Feb 2004 20:06
7 lines
1323 bytes
Is it possible?  I get tons of "critical patch" updates that somehow defeat
my lines scoring entry, and they are almost all mixed content-type or HTML
mail.

-- 
Gord McFee
I'll write no line before its time
Re: [Dialog] Score on content-type
#142543
Author: Henrik K Hansen
Date: Sun, 01 Feb 2004 21:26
15 lines
1690 bytes
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.

-- 
Henrik
Re: [Dialog] Score on content-type
#142546
Author: Gord McFee
Date: Mon, 02 Feb 2004 01:02
32 lines
2091 bytes
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.

I have to check Spam to ensure nothing legitimate gets moved, but it is
working fine so far.

Thanks again.

-- 
Gord McFee
I'll write no line before its time
Re: [Dialog] Score on content-type
#142551
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads