2006-02-25 IRIE Tetsuya * spam.el (spam-extra-header-to-number): Adapt format for spamassassin 3.0 or later. --- spam.el.orig 2006-02-21 08:05:22.000000000 +0900 +++ spam.el 2006-02-25 09:05:31.322535616 +0900 @@ -1181,7 +1181,7 @@ ((eq header 'X-Spam-Status) (string-to-number (gnus-replace-in-string (gnus-extra-header header headers) - ".*hits=" ""))) + ".*\\(?:score\\|hits\\)=" ""))) ;; for CRM checking, it's probably faster to just do the string match ((and spam-use-crm114 (string-match "( pR: \\([0-9.-]+\\)" header)) (match-string 1 header))