From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56205 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.gnus.general Subject: Re: problem with bbdb whitelist filtering Date: Tue, 27 Jan 2004 11:22:55 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: <87hdyhpu68.fsf@emptyhost.emptydomain.de> References: <200401120935.i0C9ZbVV024046@loki.exolution.lan> <4nllocri65.fsf@collins.bwh.harvard.edu> <200401130845.i0D8jChq029589@loki.exolution.lan> <4nu12qi348.fsf@collins.bwh.harvard.edu> <200401220953.i0M9rFDm020430@loki.exolution.lan> <4noesvua0n.fsf@collins.bwh.harvard.edu> <200401231507.i0NF73FJ029804@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 1075199046 23315 80.91.224.253 (27 Jan 2004 10:24:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2004 10:24:06 +0000 (UTC) Original-X-From: ding-owner+M4745@lists.math.uh.edu Tue Jan 27 11:23:59 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 1AlQNz-0002wP-00 for ; Tue, 27 Jan 2004 11:23:59 +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 1AlQMv-0007l7-00; Tue, 27 Jan 2004 04:22:53 -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 1AlQMi-0007kz-00 for ding@lists.math.uh.edu; Tue, 27 Jan 2004 04:22:40 -0600 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 320EC3A0053 for ; Tue, 27 Jan 2004 04:22:40 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1AlQMh-0007EE-00 for ; Tue, 27 Jan 2004 11:22:39 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 33 Original-NNTP-Posting-Host: 213-203-244-156.kunde.vdserver.de Original-X-Trace: quimby.gnus.org 1075198959 27538 213.203.244.156 (27 Jan 2004 10:22:39 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Tue, 27 Jan 2004 10:22:39 +0000 (UTC) User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:+4NeS9V0aN/9oFAPzBPpJxKCLwE= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56205 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56205 Martin Monsorno writes: > So I want to do spam-checking after processing some > mailing-list-messages. What I want to achieve is, that spam sent to > my account at work should go to a different folder than spam sent to > my private address. Is this possible? I looked into the manual > again, but it doesn't seem so. Write two functions, mm-spam-split-work and mm-spam-split-home, like so: (defun mm-spam-split-work () (let ((spam-split-group "work-spam")) (spam-split))) (defun mm-spam-split-home () (let ((spam-split-group "home-spam")) (spam-split))) Now you can add a fancy split rule that checks something: (| ...some rules here... (to "workaddress" (| (: mm-spam-split-work) ...other.rules.for.work.mail...)) (to "homeaddress" (| (: mm-spam-split-home) ...other rules for home mail...))) Do you see the logic? It might be less intrusive than Ted's suggestion. But it might make your rule logic complicated, I'm not sure -- I haven't thought deeply about your rules as you showed them. Kai