Gnus development mailing list
 help / color / mirror / Atom feed
From: Harald Meland <Harald.Meland@usit.uio.no>
Subject: Re: Scoring oddities
Date: 10 Mar 1998 01:13:19 +0100	[thread overview]
Message-ID: <d6du3972yjk.fsf@octarine.uio.no> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "08 Mar 1998 20:00:49 +0100"

[Lars Magne Ingebrigtsen]

| I have not been able to reproduce it.  Could y'all check around a bit
| and report back to this list any anomalies and stuff?

Not sure this problem is related, but I had some troubles getting the
"advanced scoring" stuff to work.

Reading the postmaster mail here kinda takes a lot of time with all
the (malformed, and therefore rejected) spam, so I thought I'd score
down the most frequently encountered candidates (as I believe there is
no way of splitting mail into different groups on body content).
After some testing, I arrived at this score file:

((mark -100)
 ((and ("subject" "Postmaster notify: User unknown" E)
       (or ("body" "^>>> MAIL From:<\\([^@]*\\|.*@[^.]+\\)>$" r)
	   ("body" "^>>> MAIL From:.*\\.\\(com\\|edu\\|net\\|org\\|web\\)>$" r)
	   (not ("body" "^>>> MAIL From:" r))))
  -200))

However, the articles that should have been hit, weren't (neither by
"V S" nor "V t").  After adding a dummy rule to the score file, like
this:

((mark -100)
 ((and ("subject" "Postmaster notify: User unknown" E)
       (or ("body" "^>>> MAIL From:<\\([^@]*\\|.*@[^.]+\\)>$" r)
	   ("body" "^>>> MAIL From:.*\\.\\(com\\|edu\\|net\\|org\\|web\\)>$" r)
	   (not ("body" "^>>> MAIL From:" r))))
  -200)
 ("subject" ("Postmaster notify: User unknown" 0 nil E)))

, flushing the score cache ("V F"), quitting the mail group with "Q"
and then re-entering, the articles were scored as they should be (both
according to "V S" and "V t").

I've tested this again while writing this, and it seems like most
times "V F" and "V R" is enough to get the articles rescored with the
updated score file -- however, sometimes "V F", "Q" and re-entering is
needed.  I see no pattern behind this.
-- 
Harald


  reply	other threads:[~1998-03-10  0:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-08 19:00 Lars Magne Ingebrigtsen
1998-03-10  0:13 ` Harald Meland [this message]
1998-03-12  0:13 ` Matt Armstrong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d6du3972yjk.fsf@octarine.uio.no \
    --to=harald.meland@usit.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).