From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43100 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: "fall through" spam filtering with Sieve? Date: Thu, 14 Feb 2002 12:26:10 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87y9hx11ov.fsf@bang.priv.no> <87vgd08ovy.fsf@home.lan> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035178249 15756 80.91.224.250 (21 Oct 2002 05:30:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:30:49 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 29357 invoked from network); 14 Feb 2002 11:33:45 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 14 Feb 2002 11:33:45 -0000 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 16bK8p-0006nj-00; Thu, 14 Feb 2002 05:33:31 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 14 Feb 2002 05:33:29 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id FAA12618 for ; Thu, 14 Feb 2002 05:33:18 -0600 (CST) Original-Received: (qmail 29277 invoked by alias); 14 Feb 2002 11:26:34 -0000 Original-Received: (qmail 29272 invoked from network); 14 Feb 2002 11:26:33 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 14 Feb 2002 11:26:33 -0000 Original-Received: from dhcp133 (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.2/8.12.2) with ESMTP id g1EBQF0M009839; Thu, 14 Feb 2002 12:26:17 +0100 Original-To: Steinar Bang In-Reply-To: <87vgd08ovy.fsf@home.lan> (Steinar Bang's message of "Thu, 14 Feb 2002 09:10:41 +0100") Mail-Copies-To: nobody Original-Lines: 39 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:43100 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43100 Steinar Bang writes: >>>>>> Simon Josefsson : > >> Yes. Add Sieve rules for all your groups (manually using G p from >> group buffer, or M-x gnus-sieve-article-add-rule RET for some >> heuristics that work for mailing lists in the summary/article >> buffer), create the .sieve file using D g from the group buffer and >> upload it to your server using C-c RET and C-c l in the .sieve >> buffer. > > Yes. This lets me add rules for nnimap groups, saying that everything > that fits a particular rule should go into that group. I already knew > that...:-) > > What I'm wondering is if it is possible to associate a rule with an > nnimap group saying basically "everything not matched by any other > rule should go into this group"? Or maybe if there is some way of > ordering the rules for the different groups? Aha. Maybe you could add something like this after the "## End Gnus Sieve Script" marker: fileinto "INBOX.spam"; >> There are some example Sieve rules in the Sieve manual as well. > > Hmm... yes... but they don't seem to cover this case either...? Or is > there something I'm missing? I guess I was thinking of adding a always-matching rule on your spam group if header :contains "Received" "" { fileinto "INBOX.spam"; } and making sure it was last in the file (which unfortunately isn't possible right now, I think).