From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55953 Path: main.gmane.org!not-for-mail From: Martin Monsorno Newsgroups: gmane.emacs.gnus.general Subject: problem with bbdb whitelist filtering Date: Mon, 12 Jan 2004 10:35:37 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: <200401120935.i0C9ZbVV024046@loki.exolution.lan> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073900199 11463 80.91.224.253 (12 Jan 2004 09:36:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Jan 2004 09:36:39 +0000 (UTC) Original-X-From: ding-owner+M4493@lists.math.uh.edu Mon Jan 12 10:36:34 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 1AfyUr-0004j4-00 for ; Mon, 12 Jan 2004 10:36:33 +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 1AfyUB-0004RQ-00; Mon, 12 Jan 2004 03:35:51 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AfyU3-0004RK-00 for ding@lists.math.uh.edu; Mon, 12 Jan 2004 03:35:43 -0600 Original-Received: from thor.exolution.de (thor.exolution.de [212.18.2.65]) by justine.libertine.org (Postfix) with ESMTP id 1BE9F3A0039 for ; Mon, 12 Jan 2004 03:35:40 -0600 (CST) Original-Received: from loki.exolution.lan (root@loki.exolution.lan [192.168.1.100]) by thor.exolution.de (8.12.3/8.12.3/Debian-6.6) with ESMTP id i0C9Zchj011990 for ; Mon, 12 Jan 2004 10:35:38 +0100 Original-Received: from loki.exolution.lan (monsorno@localhost [127.0.0.1]) by loki.exolution.lan (8.12.3/8.12.3/Debian-6.6) with ESMTP id i0C9ZcOC024048 for ; Mon, 12 Jan 2004 10:35:38 +0100 Original-Received: (from monsorno@localhost) by loki.exolution.lan (8.12.3/8.12.3/Debian-6.6) id i0C9ZbVV024046; Mon, 12 Jan 2004 10:35:37 +0100 X-Authentication-Warning: loki.exolution.lan: monsorno set sender to monsorno-nospam@gmx.de using -f Original-To: ding@gnus.org User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Reasonable Discussion, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55953 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55953 Hi, I recently enabled spam.el for my incoming mail the following way: ,---- | (spam-initialize) | (setq spam-use-BBDB t) | (setq nnmail-split-methods 'nnmail-split-fancy | nnmail-split-fancy '(| | ("Gnus-Warning" ".*duplicate.*" "duplicates") | (to "ding@\\(gnus\\.org\\|hpc.uh.edu\\)" "gnus-mailing-list") | (: spam-split) | ("X-Spammer" "white" (| | (to "Martin\\.Monsorno@exolution\\.de" "work") | (to "monsorno@gmx\\.de" "private"))) | (to "Martin\\.Monsorno@exolution\\.de" "work-spam") | (to "monsorno@gmx\\.de" "private-spam") | "unsplitted-mail" | )) `---- I hope this is the correct way, the idea was the following: - Process mail and mark it as white when the sender is in the bbdb database. Marking is done by inserting the header "X-Spammer" containing a string like "white: From: x@exolution.de" - Now split all mail marked as white into folders depending on the to-headers - Do the same for mail not marked as white, with destination folders with the string "-spam" attached The problem is: this does not work in any case. E.g., if I send a message to myself, with a From-header set to "xxx@exolution.de", spam.el marks this message as white, despite the fact, that I have no person with this mail-address in my bbdb. Any ideas, whats going on/wrong here? -- Martin