From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80398 Path: news.gmane.org!not-for-mail From: david.goldberg6@verizon.net (Dave Goldberg) Newsgroups: gmane.emacs.gnus.general Subject: Re: spam.el: asking about removing spam-use-BBDB Date: Sun, 23 Oct 2011 22:22:18 -0400 Message-ID: <84vcrfcen9.fsf@davestoy.home> References: <8739ezafwf.fsf@lifelogs.com> <84wrcbm45l.fsf@davestoy.home> <848vocvp25.fsf@davestoy.home> <87y5wcpi1y.fsf@ericabrahamsen.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319423035 11982 80.91.229.12 (24 Oct 2011 02:23:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2011 02:23:55 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28686@lists.math.uh.edu Mon Oct 24 04:23:52 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RIACd-0001lU-UJ for ding-account@gmane.org; Mon, 24 Oct 2011 04:23:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RIABV-0006g8-0y; Sun, 23 Oct 2011 21:22:41 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RIABT-0006fx-94 for ding@lists.math.uh.edu; Sun, 23 Oct 2011 21:22:39 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RIABR-0004Hi-NJ for ding@lists.math.uh.edu; Sun, 23 Oct 2011 21:22:38 -0500 Original-Received: from vms173013pub.verizon.net ([206.46.173.13]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RIABQ-00029w-2F for ding@gnus.org; Mon, 24 Oct 2011 04:22:36 +0200 Original-Received: from davestoy.home.verizon.net ([unknown] [173.48.216.252]) by vms173013.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LTJ00HYNT96U570@vms173013.mailsrvcs.net> for ding@gnus.org; Sun, 23 Oct 2011 21:22:19 -0500 (CDT) X-Face: W!bie|rYVd43O:2CkHTb*~s5}Yzx30X<@6Tq_bnP56Hp!xX4sVl4tgYRirjRcke\wfY!JJ9 i?]VIUJicJzq2\!3%7$5R%wi!R[.]Va97q In-reply-to: <87y5wcpi1y.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sun, 23 Oct 2011 10:18:01 +0800") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.1 (gnu/linux) X-Spam-Score: -2.4 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80398 Archived-At: > On Sun, Oct 23 2011, Dave Goldberg wrote: >>>> I'd like to remove the spam-use-BBDB processor in spam.el. >>>> I believe it's hardly used and after testing it for a while, I believe >>>> it's not as good as I thought originally. >> >>> I use bbdb as a whitelist and so set spam-use-BBDB-exclusive to t. >>> Works exactly as I want it to. If there's an alternative way to use a >>> whitelist I am not afraid to change. >> >> Since updating, I've run into a couple problems. First one I think I >> figured out, but I wonder if it might still have some relevance - I >> was seeing undefined function errors. I fixed that by recompiling with >> a running Emacs that had bbdb loaded. However, now it seems that the >> bbdb matching function is no longer matching addresses that are >> clearly in my bbdb. Here's a snippets from *Messages*: > It was probably `bbdb-search-simple' that was undefined: that function > disappeared between BBDB versions 2 and 3, and spam.el is still using > it. It's possible that by recompiling you ended up with a mish-mash of > BBDB versions: what does `bbdb-version' report? No. I use gnus from git, Emacs 23.1.1 from Ubuntu, and bbdb 2.36 from sourceforge. There is no bbdb 3 on my system; I still use XEmacs at work and as far as I can tell there's been no progress or even interest in porting bbdb 3 to XEmacs. I share my bbdb file between home and work and trying to manage that with the different formats is simply not worth my while. While I'm interested in the work going on in 3.X, 2.36 has been meeting my needs to date. I'm guessing that one of the changes to spam.el wrapped the bbdb autoloads in eval-when-compile (I wish I were sufficiently familiar with git as I am with cvs and svn so I could more easily check) and since the emacs run out of make in my checkout directory doesn't include bbdb, or at least my full load path, the autoloads aren't in the elc. I ran into a similar situation with eudc, requiring me to maintain a local copy of eudcb-bbdb.el. I have, on occasion, seen a situation in which replies from someone on my whitelist to someone else who is not end up in spam due to the split-with-parent functionality, but that is not the case this time as even root level messages (from a threading perspective, sorry for not being able to think of a better term) are mysteriously being sent to spam. Even weirder, in the same split, I've seen one message from a sender properly filed to inbox and another sent to spam. Anyway, Ted did say he wanted to eliminate the bbdb engine, and I'm not worth keeping it around since all I need is a whitelist. I notice that spam.el has a whitelist capability. It's trivial to turn bbdb into a list of email addresses using bbdb-display-layout-alist; I'll give that a try. Thanks, -- Dave Goldberg david.goldberg6@verizon.net