🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Master Cougar Thu, 17 Jul 2003 22:26
[Dialog] Custmom scores and email
#128809
Author: Master Cougar
Date: Thu, 17 Jul 2003 22:26
8 lines
1770 bytes
Hello,
	When I get my email, I pass it through Pop-file so that it gets classified
base on rules that Pop-file generates over time. Pop-file edits the email
adding a X Header, X-Classification:   I'd like to know if this header can
be used to score the message? Essentially I'd like to score -1000 any
messages that have the classification spam. 
-- 
Marc, No comment
Re: [Dialog] Custmom scores and email
#128831
Author: Jarrod Cifer
Date: Fri, 18 Jul 2003 03:39
33 lines
2594 bytes
Master Cougar, upon reaching Nirvana, postulated:

> Pop-file edits the email
> adding a X Header, X-Classification:   I'd like to know if this header can
> be used to score the message? Essentially I'd like to score -1000 any
> messages that have the classification spam.

You can score on any header in Dialog. add something like this to you
scorefile:

[email.*]
=-1000 Header "X-Classification:spam"

If you want, you could also move it to a folder of your choice with the
something like the following:

!move(spamtrap) Header "X-Classification:spam"

In this example I move anything with the spam classification to a folder
named spamtrap. I've noticed that 99% of all multipart or html mails I get
is either a virus or spam(or just plain ol' crap), so I also have these two
lines in my scorefile:

!move(spamtrap) Header {^((Content-Type):.*html)}
!move(spamtrap) Header {^((Content-Type):.*multipart)}

BTW, the help file has some really good examples of using scoring actions,
take a look here:
dialog.chm::/scoringactionsyntax.htm

HTH,
-- 
J. Cifer
Re: [Dialog] Custmom scores and email
#128866
Author: Master Cougar
Date: Fri, 18 Jul 2003 14:58
13 lines
1680 bytes
On Fri, 18 Jul 2003 05:39:26 +0200, Jarrod Cifer wrote:

> You can score on any header in Dialog. add something like this to you
> scorefile:
> 
> [email.*]
> =-1000 Header "X-Classification:spam"

	Thanks, this will help me a lot. And I will try looking at the help file
more. 
-- 
Marc, No comment
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