From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57527 Path: main.gmane.org!not-for-mail From: Jonas Steverud Newsgroups: gmane.emacs.gnus.general Subject: Re: Spam splitting and multiple nnimap methods Date: Wed, 19 May 2004 13:36:34 +0200 Organization: The Deciples of Albericht Nibelungen Sender: ding-owner@lists.math.uh.edu Message-ID: References: <20040517175042.B23864@gwyn.tux.org> <20040518085316.A4024@gwyn.tux.org> <4nr7thble2.fsf@lifelogs.com> <20040518181911.A3167@gwyn.tux.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084966643 23218 80.91.224.253 (19 May 2004 11:37:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 May 2004 11:37:23 +0000 (UTC) Original-X-From: ding-owner+M6067@lists.math.uh.edu Wed May 19 13:37:12 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 1BQPNo-0003ln-00 for ; Wed, 19 May 2004 13:37:12 +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 1BQPNP-0008TL-00; Wed, 19 May 2004 06:36:47 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BQPNH-0008TF-00 for ding@lists.math.uh.edu; Wed, 19 May 2004 06:36:39 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BQPNH-0003n0-AC for ding@lists.math.uh.edu; Wed, 19 May 2004 06:36:39 -0500 Original-Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by justine.libertine.org (Postfix) with ESMTP id 2ABF73A022E for ; Wed, 19 May 2004 06:36:36 -0500 (CDT) Original-Received: from Neocortex.local.bredband.net ([213.114.83.178] [213.114.83.178]) by mxfep02.bredband.com with ESMTP id <20040519113634.XFRX14728.mxfep02.bredband.com@Neocortex.local.bredband.net> for ; Wed, 19 May 2004 13:36:34 +0200 Original-To: ding@gnus.org Mail-Copies-To: never In-Reply-To: <20040518181911.A3167@gwyn.tux.org> (Timothy Brown's message of "Tue, 18 May 2004 18:19:11 -0400") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (darwin) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57527 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57527 Timothy Brown writes: [...] > I follow all this. What isn't clear is what the 'Spam Autodetection' > feature is used for, and/or if it needs to be enabled (in G c), etc. You can let spam.el detect spam in two ways, during split with (: spam-split) or when you enter a group. The latter is called autodetection. The reason for this is that some groups might not be fed through your splitrules, USENET news is an example of this. :-) In case of a news group you can let spam.el detect spam for you in the group and mark it with the $ sign. To do so you need to turn on the autodetection for that group(s). To do so you set the group parameters spam-autodetect and spam-autodetect-methods. I would recommend to use G c to set those variables instead of G p since I don't know which values are valid. >From what you write above (and which I have snipped), I think that you want autodetection turned on for your INBOX. > This has all been really helpful. To summarize and make this as clear > as possible: > > - I want to scan for spam in every IMAP mailbox I have. Turn on autodetection for all your IMAP mailboxes, i.e. set the aforementioned group parameters to sensible values by using gnus-group-customize (G c) instead of G p. > - If mail appears as spam based on what bogofilter and/or the blackholes > rule knows, then dump it in a spam folder that is individual to that > IMAP server. Later SpamAssassin (via spamc) will be added to the > mix. Set for each group, or group of group, the spam-process-destination group parameter to the group you want it to end up in. WARNING! DO NOT include "nnimap+servername:" in spam-process-destination! That will be added by spam.el. > - I'll also scan through this folder after it's done, read the mail I want > to read, mark certain things as spam, and treat everything else as ham. If "this folder" is the spam folder, set spam-process-destination to nil for the group (i.e. (spam-process-destination)) and mark all your spam with M-d or S x while reading. I would recommend you to set (spam-process ((spam spam-use-bogofilter) (ham spam-use-bogofilter))) in a top level topic so you don't have to set it for each group. > - Spam and ham will be processed on group exit. That's the way spam.el is designed. > - It would be great if that folder was 'INBOX', but I understand if it has > to be 'mail'. You're not afraid of loops? > My only real concerns at this point about the above are the > weirdness i've seen with splitting back to INBOX and never seeing > the messages in Gnus, but I'll bet that is a small problem. The reason for the problem might be that you split it back to the source. Sounds strange to me, but I haven't looked into the IMAP stuff. -- ( http://hem.bredband.net/steverud/ ! Wei Wu Wei ) ( Meaning of U2 Lyrics, Roleplaying ! To Do Without Do )