From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54659 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: How to use the spam.el package? Date: Mon, 03 Nov 2003 21:36:06 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: <4nllqwsvvt.fsf@lockgroove.bwh.harvard.edu> References: <87brrv269g.fsf@emptyhost.emptydomain.de> <4nptg947ta.fsf@lockgroove.bwh.harvard.edu> <87u15lryfb.fsf@emptyhost.emptydomain.de> <4nu15l175o.fsf@lockgroove.bwh.harvard.edu> <87ptg9qf8u.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067913433 920 80.91.224.253 (4 Nov 2003 02:37:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2003 02:37:13 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M3200@lists.math.uh.edu Tue Nov 04 03:37:10 2003 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 1AGr4A-0006eC-00 for ; Tue, 04 Nov 2003 03:37:10 +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 1AGr44-0006uL-00; Mon, 03 Nov 2003 20:37:04 -0600 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AGr40-0006uG-00 for ding@lists.math.uh.edu; Mon, 03 Nov 2003 20:37:00 -0600 Original-Received: from clifford.bwh.harvard.edu (clifford.bwh.harvard.edu [134.174.9.41]) by justine.libertine.org (Postfix) with ESMTP id 2C02F3A005B for ; Mon, 3 Nov 2003 20:37:00 -0600 (CST) Original-Received: from lockgroove.bwh.harvard.edu (lockgroove [134.174.9.133]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id hA42aV729212; Mon, 3 Nov 2003 21:36:31 -0500 (EST) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id hA42a7604661; Mon, 3 Nov 2003 21:36:07 -0500 (EST) Original-To: Kai Grossjohann X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Followup-To: Kai Grossjohann , ding@gnus.org In-Reply-To: <87ptg9qf8u.fsf@emptyhost.emptydomain.de> (Kai Grossjohann's message of "Mon, 03 Nov 2003 22:06:09 +0000") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (usg-unix-v) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54659 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54659 On Mon, 03 Nov 2003, kai@emptydomain.de wrote: >> Nah, we move message by unique article number, not message ID. The >> new articles that were just moved in are not automatically >> integrated in the loop, so it will end when the old articles are >> all moved. It should work. I wouldn't recommend it, but for pure >> obfuscated fun it's hard to beat it. > > Okay. So, it's better to avoid it. Recall that I have > gnus-spam-process-destinations set to (("^nnimap:" > "nnimap:INBOX.makespam")). (Made a mistake makespam vs spam there.) > > So how do I tell spam.el NOT to apply this rule to the > nnimap:INBOX.makespam group? Formulating a regexp that matches > everything that "^nnimap:" matches, except "nnimap:INBOX.makespam", > is difficult. > > Hm. Maybe I could set a group parameter on nnimap:INBOX.makespam > that overrides the value with nil? That's what I do. I also have ham/spam topics, and some of my settings are different depending on the backend server. > Or I could put in two entries: > > (("^nnimap:INBOX.makespam$" nil) > ("^nnimap:" "nnimap:INBOX.makespam")) > > If it searches the alist from the beginning and uses the first > match, then it would work. I would guess it searches from the beginning, it's a standard Elisp alist. > It's getting a bit complicated. I'm sure the reason is that I'm > doing something wrong. I stumbled across this thing within five > minutes; everybody must be having the same issue. Except, of > course, if they take another path where there is no stumbling block. > > Do people put all ham groups in one topic and all spam groups in > another, then use topic parameters on those two topics, to avoid > this problem? I think the configurability of the package makes it hard to say one way is "right" and another is "wrong." It's a safe guess that most people are using group/topic parameters based on the configurations I've been asked to debug. Ted