From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54805 Path: main.gmane.org!not-for-mail From: Bill White Newsgroups: gmane.emacs.gnus.general Subject: Re: making bogofilter write spam headers? Date: Thu, 13 Nov 2003 12:24:31 -0600 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <87znf9d6i8.fsf@w3.org> <87islx1hsg.fsf@mulligatwani.msrl.com> <4n3ccs87lt.fsf@benko.bwh.harvard.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1068747896 1073 80.91.224.253 (13 Nov 2003 18:24:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Nov 2003 18:24:56 +0000 (UTC) Cc: ding@gnus.org, Ted Zlatanov Original-X-From: ding-owner+M3345@lists.math.uh.edu Thu Nov 13 19:24:53 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AKM9E-0004EE-00 for ; Thu, 13 Nov 2003 19:24:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AKM92-0005iX-00; Thu, 13 Nov 2003 12:24:40 -0600 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AKM8y-0005iS-00 for ding@lists.math.uh.edu; Thu, 13 Nov 2003 12:24:36 -0600 Original-Received: from wolfram.com (wri-dns0.wolfram.com [140.177.205.10]) by justine.libertine.org (Postfix) with ESMTP id C30F53A004D for ; Thu, 13 Nov 2003 12:24:34 -0600 (CST) Original-Received: from billw2lx.wolfram.com.wolfram.com (dmz5.wolfram.com [140.177.205.1]) by wolfram.com (8.11.2/8.11.2) with ESMTP id hADIOVB21401; Thu, 13 Nov 2003 12:24:32 -0600 Original-To: Michael Shields X-Phone: 217-398-0700 x 234 X-Fax: 217-398-0747 In-Reply-To: <4n3ccs87lt.fsf@benko.bwh.harvard.edu> (Ted Zlatanov's message of "Thu, 13 Nov 2003 13:07:58 -0500") X-Liturgical-Date: Memorial: Saint Frances Xavier Cabrini, virgin User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54805 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54805 On Thu Nov 13 2003 at 12:07, Ted Zlatanov said: > On Thu, 13 Nov 2003, billw@wolfram.com wrote: > >> I'd love to do this, but I don't have spam headers in my email (I'm >> using bogofilter from inside gnus during mail splitting). Is there >> a way to get bogofilter to add its header during >> nnmail-split-fancy? > > I don't know of an *easy* way to modify incoming articles - maybe I > can just modify the spool buffer, but it seems like a bad idea > because of the many possible complications. OK. (i.e., I'm clueless and I trust you :-) I know messages can be modified with procmail, but I'd like to stay away from procmail since I don't have the motivation to learn it, do useful things with it and maintain a procmailrc. > How about using the gnus-registry? It can associate arbitrary data > with a message ID, and retrieval is very fast. I could define the > extra data 'spam-score and keep track of it. When the spam-score is > not found (for instance, you clear the registry or the message gets > removed from it), it can be regenerated. > > The only small issue is what kind of score I am saving. I'll > probably store cons cells like so: (bogofilter-score . 0.4) to > accomodate the various kinds of scoring systems (I decided to ditch > the universal spam score concept since no one but me was interested > in it). > > What do you think? Seems like that would track only the last gnus-registry-max-entries messages. Ah - but you say the registry entry and its spam score could be regenerated. That would take time, I suppose, but for use in my one spam group I wouldn't mind waiting. Sounds good for my setup, at least. Thanks for doing the thinking! Cheers - bw -- Bill White . billw@wolfram.com . http://members.wri.com/billw "No ma'am, we're musicians."