From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49834 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: spam-check-BBDB bug?/bbdb whitelist split function Date: Wed, 05 Feb 2003 09:47:03 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: owner-ding@hpc.uh.edu Message-ID: <4nwukeiy3c.fsf@lockgroove.bwh.harvard.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044456391 6021 80.91.224.249 (5 Feb 2003 14:46:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Feb 2003 14:46:31 +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 18gQom-0001Yi-00 for ; Wed, 05 Feb 2003 15:46:28 +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 18gQpp-0001pz-00; Wed, 05 Feb 2003 08:47:33 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 05 Feb 2003 08:48:30 -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 IAA16896 for ; Wed, 5 Feb 2003 08:48:18 -0600 (CST) Original-Received: (qmail 70473 invoked by alias); 5 Feb 2003 14:47:17 -0000 Original-Received: (qmail 70468 invoked from network); 5 Feb 2003 14:47:16 -0000 Original-Received: from clifford.bwh.harvard.edu (134.174.9.41) by 66.230.238.6 with SMTP; 5 Feb 2003 14:47:16 -0000 Original-Received: from lockgroove.bwh.harvard.edu (lockgroove [134.174.9.133]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id h15ElFj24578 for ; Wed, 5 Feb 2003 09:47:15 -0500 (EST) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h15El3v28040; Wed, 5 Feb 2003 09:47:03 -0500 (EST) Original-To: ding@gnus.org X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Followup-To: ding@gnus.org In-Reply-To: (Bill White's message of "Tue, 04 Feb 2003 22:15:31 -0600") User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 (sparc-sun-solaris2.8) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49834 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49834 On Tue, 04 Feb 2003, billw@wolfram.com wrote: > I was futzing around defining my own "if he's in bbdb then he's not > spam" split function when I discovered spam-check-BBDB in spam.el: > > It seems in my tests that bbdb-search-simple does not search for a > regexp but for a simple string representation of an address, so I > suspect the regexp-quote bit should be removed. Thanks, that was left over from the old bbdb-search function call. > I've also adjusted this to return a positive match for bbdb persons; > folks who maintain bbdb as a whitelist might find it useful (adjust > for local conditions, YMMV, etc.): Currently, spam-split will fall through to the next spam/ham check on a whitelist match. I thought of having whitelists return t for a positive ham match, and then spam-split wouldn't examine the rest of the spam/ham checks but simply return nil altogether. Does that makes sense? Or should spam-split have a ham-split-group analogous to spam-split-group? I always assumed people would rather have spam-split fall through on ham than have it be an absolute arbiter, but maybe users would like it the other way. Or both ways. This is Gnus, after all. I'm sure there's a user out there that wants spam-split to retrieve his daily comics :) Ted