Article View: news.software.readers
Article #128831Re: [Dialog] Custmom scores and email
From: Jarrod Cifer
Date: Fri, 18 Jul 2003 03:39
Date: Fri, 18 Jul 2003 03:39
33 lines
2594 bytes
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
Technical Details
Message-ID:
<w_acnR986rBn9oqiRTvUqw@giganews.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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!nntp.giganews.com!news.giganews.com.POSTED!not-for-mailReferences:
<zs7tytqft05d.1iq46bm8e5kw5.dlg@40tude.net>Show Full Headers
Complete Article Headers
Message-ID: <w_acnR986rBn9oqiRTvUqw@giganews.com> Subject: Re: [Dialog] Custmom scores and email Date: Fri, 18 Jul 2003 05:39:26 +0200 From: Jarrod Cifer <jcifer@hotmail.com> References: <zs7tytqft05d.1iq46bm8e5kw5.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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!nntp.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 17 Jul 2003 22:39:38 -0500 Newsgroups: news.software.readers User-Agent: 40tude_Dialog/2.0.5.67 (ab255e9b.495.9) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: jcifer@hotmail.com Organization: none X-Face: UZvKnibK-uhaf~fIu]<CfbBHzG@i8/xc\tbfK0&2LNVwJ~\`Q|5|sd_D[LMO/}'GV, Ud*Ue i, 8ea:tO.VUq9$bo1~5XFaHkqx)o36}A7D45qrBwjO6OW~h( X-Palms: Vx, m505, m515, Tungsten T Lines: 33 X-Trace: sv3-4BUT2fsBlvuG5i8gybMY/yRuvJhhw5c35BzCbvNfY1O5D917LGAIWYh0HrhBrfkvkf6hsc1C6o1852I!1FsFbvILuR4QNkPc5XDFHN4E83V3l0tN4fjfrR3c1jRfEk4DgKTewUK+pqU4 X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1