From: yamaoka Date: Tue, 14 Feb 2006 22:03:32 +0000 (+0000) Subject: Synch to No Gnus 200602141458. X-Git-Tag: t-gnus-6_17_4-quimby-~97 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=ffde9d42ca0c7cd7ab300bc2f9a9835be3131cda;p=elisp%2Fgnus.git- Synch to No Gnus 200602141458. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5aa990d..a80efbe 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2006-02-14 Reiner Steib + + * spam.el (spam-check-spamassassin-headers): Adapt format for + Spamassassin 3.0 or later. Reported by ARISAWA Akihiro + . + (spam-list-of-processors): Add spam-use-gmane. + 2006-02-14 Katsumi Yamaoka * mm-util.el (mm-make-temp-file): Import the Emacs 22 version of diff --git a/lisp/spam.el b/lisp/spam.el index e0c246a..43b2d14 100644 --- a/lisp/spam.el +++ b/lisp/spam.el @@ -1247,6 +1247,7 @@ Will not return a nil score." (gnus-group-spam-exit-processor-stat spam spam-use-stat) (gnus-group-spam-exit-processor-spamoracle spam spam-use-spamoracle) (gnus-group-spam-exit-processor-spamassassin spam spam-use-spamassassin) + (gnus-group-spam-exit-processor-report-gmane spam spam-use-gmane) ;; Buggy? (gnus-group-ham-exit-processor-ifile ham spam-use-ifile) (gnus-group-ham-exit-processor-bogofilter ham spam-use-bogofilter) (gnus-group-ham-exit-processor-bsfilter ham spam-use-bsfilter) @@ -2614,7 +2615,8 @@ REMOVE not nil, remove the ADDRESSES." (if score ; scoring mode (let ((header (message-fetch-field spam-spamassassin-spam-status-header))) (when header - (if (string-match "hits=\\(-?[0-9.]+\\)" header) + (if (string-match "\\(?:score\\|hits\\)=\\(-?[0-9.]+\\)" header) + ;; "score" for Spamassassin 3.0 or later. (match-string 1 header) "0"))) ;; spam detection mode