From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50433 Path: main.gmane.org!not-for-mail From: Christopher Splinter Newsgroups: gmane.emacs.gnus.general Subject: Re: (: spam-split) doesn't work Date: Thu, 27 Feb 2003 23:05:19 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: <87isv5crc0.fsf@splinter.inka.de> References: <87vfzyjx2v.fsf@splinter.inka.de> <4nisvxs1j6.fsf@lockgroove.bwh.harvard.edu> <874r7g2f4w.fsf@splinter.inka.de> <4nheb8qazq.fsf@lockgroove.bwh.harvard.edu> <87vfznc21y.fsf@splinter.inka.de> <4nk7g3gdbk.fsf@lockgroove.bwh.harvard.edu> <87vfzm7p2f.fsf@splinter.inka.de> <4nlm0iad77.fsf@lockgroove.bwh.harvard.edu> <877kc26j07.fsf@splinter.inka.de> <87el5talpw.fsf@splinter.inka.de> <4nfzq9k84r.fsf@chubby.bwh.harvard.edu> <87wujl8tj8.fsf@splinter.inka.de> <4nwujlim0o.fsf@chubby.bwh.harvard.edu> <87n0khcwty.fsf@splinter.inka.de> <4n3cm9h27d.fsf@chubby.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046384287 7512 80.91.224.249 (27 Feb 2003 22:18:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 27 Feb 2003 22:18:07 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18oWLr-0001we-00 for ; Thu, 27 Feb 2003 23:18:04 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18oWKD-0007zL-00; Thu, 27 Feb 2003 16:16:21 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 27 Feb 2003 16:17:21 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id QAA17153 for ; Thu, 27 Feb 2003 16:17:05 -0600 (CST) Original-Received: (qmail 12192 invoked by alias); 27 Feb 2003 22:15:47 -0000 Original-Received: (qmail 12187 invoked from network); 27 Feb 2003 22:15:47 -0000 Original-Received: from quechua.inka.de (HELO mail.inka.de) (mail@193.197.184.2) by 66.230.238.6 with SMTP; 27 Feb 2003 22:15:47 -0000 Original-Received: from splinter.inka.de (uucp@) by mail.inka.de with gbsmtp id 18oWJd-0002gK-00; Thu, 27 Feb 2003 23:15:45 +0100 Original-Received: (qmail 7881 invoked by uid 1000); 27 Feb 2003 22:05:19 -0000 Original-To: ding@gnus.org In-Reply-To: <4n3cm9h27d.fsf@chubby.bwh.harvard.edu> (Ted Zlatanov's message of "Thu, 27 Feb 2003 15:56:54 -0500") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50433 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50433 Ted Zlatanov writes: > On Thu, 27 Feb 2003, chris@splinter.inka.de wrote: >> Ted Zlatanov writes: >>> On Thu, 27 Feb 2003, chris@splinter.inka.de wrote: >>>> Note that the spamicity value differs from what `S t' returns -- >>>> which is a value of 1.0. Moreover, the *Article* buffer of the >>>> respective article is deprived of its body after hitting `B r' >>>> (which is what I did to get the backtrace) and the score of the >>>> header alone (= 0.8477387640) is quite similar to the one below. >>>> >>>> Debugger entered: ("Unsure, tests=bogofilter, >>>> spamicity=0.8469313635, version=0.10.3.1.cvs.20030227") >> After all, the above value is not what bogofilter returns when >> the message, for which bogofilter returns that value when >> called via `B t' or `B r', is piped to bogofilter manually -- >> in that case, this is returned: >> >> X-Bogosity: Spam, tests=bogofilter, spamicity=1.0000000000, >> version=0.10.3.1.cvs.20030227 >> >> Therefore I suspect that bogofilter isn't fed the complete message. > [Problems might be related to narrowing issues] > Try replacing spam-bogofilter-path (which is normally the path to > bogofilter) with the path to something like this (save this script > anywhere and make it executable): [...] > Then look at the /tmp/bogofilter.input file and see if it matches the > message we're trying to classify. As I had assumed, /tmp/bogofilter.input only contains the header, whereas the message which is to be classified contains a non-empty body. > You can see what bogofilter would have said about it, too, if > you do > > bogofilter -v /tmp/bogofilter.input Well, almost :-) bogofilter only takes input from stdin. X-Bogosity: Unsure, tests=bogofilter, spamicity=0.8524075477, version=0.10.3.1.cvs.20030227