Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+from-uce@imap.cc>
Cc: ding@gnus.org, bugs@gnus.org
Subject: Re: spam-check-spamassassin-headers with spamassasin 3.0/3.1
Date: Tue, 14 Feb 2006 16:01:25 +0100	[thread overview]
Message-ID: <v9r7666l2y.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <873biqwtf5.fsf@puyo.nijino.com> (ARISAWA Akihiro's message of "Sat, 11 Feb 2006 10:55:26 +0900")

On Sat, Feb 11 2006, ARISAWA Akihiro wrote (on bugs@gnus.org):

> I am using spamassassin 3.1, and (setq spam-use-spamassassin-headers t).
> When I typed S t in Summary buffer, reported score is always 0.
>
> Spamassassin 3.0 or later, the default X-Spam-Status field is changed as:
> |X-Spam-Status: No, score=0.1 required=8.0 ...
> But, `spam-check-spamassassin-headers' checks only "hits=".
> cf. http://issues.apache.org/SpamAssassin/show_bug.cgi?id=1332
>
> When I changed spam.el as attached, the reported score is corrected.
[...]
> -	  (if (string-match "hits=\\(-?[0-9.]+\\)" header)
> -	      (match-string 1 header)
> +	  (if (string-match "\\(hits\\|score\\)=\\(-?[0-9.]+\\)" header)
> +	      (match-string 2 header)
>  	    "0")))

Thanks for your report.  I've committed a slightly different fix in
CVS.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



  parent reply	other threads:[~2006-02-14 15:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <873biqwtf5.fsf@puyo.nijino.com>
2006-02-13 16:42 ` Ted Zlatanov
2006-02-14 15:01 ` Reiner Steib [this message]
2006-02-25  0:47   ` IRIE Tetsuya
2006-02-25 21:33     ` Reiner Steib
2006-02-26  2:45       ` IRIE Tetsuya
2006-02-28 13:44         ` Reiner Steib
2006-03-01 13:57           ` IRIE Tetsuya

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=v9r7666l2y.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+from-uce@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=bugs@gnus.org \
    --cc=ding@gnus.org \
    /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).