From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57018 Path: main.gmane.org!not-for-mail From: bkhl@elektrubadur.se (=?iso-8859-1?q?Bj=F6rn_Lindstr=F6m?=) Newsgroups: gmane.emacs.gnus.general Subject: Problem with spam.el and BBDB Date: Wed, 14 Apr 2004 06:37:52 +0200 Organization: Dept. of Linguistics and Philology, Uppsala University, Sweden Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1081958199 31070 80.91.224.253 (14 Apr 2004 15:56:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Apr 2004 15:56:39 +0000 (UTC) Original-X-From: ding-owner+M5558@lists.math.uh.edu Wed Apr 14 17:56:14 2004 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 1BDmkH-0000Ep-00 for ; Wed, 14 Apr 2004 17:56:13 +0200 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 1BDmiF-0006Eo-00; Wed, 14 Apr 2004 10:54:07 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BDcLq-0004kR-00 for ding@lists.math.uh.edu; Tue, 13 Apr 2004 23:50:18 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BDcLp-000649-3X for ding@lists.math.uh.edu; Tue, 13 Apr 2004 23:50:17 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id A9DD93A0050 for ; Tue, 13 Apr 2004 23:50:13 -0500 (CDT) Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BDcLk-0005yZ-00 for ; Wed, 14 Apr 2004 06:50:12 +0200 Original-Received: from numerus.ling.uu.se ([130.238.78.148]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Apr 2004 06:50:12 +0200 Original-Received: from bkhl by numerus.ling.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Apr 2004 06:50:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 68 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: numerus.ling.uu.se Mail-Copies-To: never X-Home-Page: http://bkhl.elektrubadur.se/ User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:Nl3S92S1gXi0LFpQSFoZ5pdaPFE= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57018 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57018 (I sent this question once before, but I was wrong about the problem then. Answer this one instead) Here are my Gnus split rules: (setq nnmail-crosspost nil nnmail-split-methods 'nnmail-split-fancy bbdb/gnus-split-default-group nil bbdb/gnus-split-nomatch-function nil bbdb/gnus-split-myaddr-regexp gnus-ignored-from-addresses nnmail-split-fancy `(| (: spam-split) ; Spam ("gnus-warning" "duplicat\\(e\\|ion\\) of message" "duplicate") ; D= uplicate messages (: gnus-group-split-fancy nil t nil) ; Group parameter splitting (: (lambda () ; BBDB splitting (car (bbdb/gnus-split-method)))) "misc")) However, unless I comment out (: spam-split) it gives this error: Error in `nnmail-split-methods'; using `bogus' mail group Since I guess that my spam.el setup might affect the answer to this, here it is: (require 'spam) (spam-initialize) ;; Processsor for splitting incoming mail (setq spam-use-bogofilter t) ;; Where to put incoming mail (setq spam-split-group "spam") ;; Declare spam and ham groups. (setq spam-junk-mailgroups nil) (setq gnus-spam-newsgroup-contents '(("^nnfolder:spam" gnus-group-spam-classification-spam) ("^nnfolder:.*" gnus-group-spam-classification-ham))) ;; Train spam detection tools. (setq spam-process-ham-in-spam-groups t) (setq gnus-spam-process-newsgroups '( ("^nntp\\+news\\.gmane\\.org:" ((spam spam-use-gmane) (spam spam-use-bogofilter))) ("^nnfolder:.*" ((spam spam-use-bogofilter) (ham spam-use-bogofilter))))) ;; Move processed spam. (setq spam-move-spam-nonspam-groups-only t) (setq spam-mark-only-unseen-as-spam t) (setq gnus-spam-process-destinations=20 '( ("^nntp\\+news\\.gmane\\.org:" "nnfolder:spam") ("^nnfolder:.*" "nnfolder:spam"))) ;; Move processed ham. (setq spam-mark-ham-unread-before-move-from-spam-group t) (setq gnus-ham-process-destinations '(("^nnfolder:spam" "nnfolder:reclassify"))) --=20 Bj=F6rn Lindstr=F6m http://bkhl.elektrubadur.se/