From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56894 Path: main.gmane.org!not-for-mail From: Jonas Steverud Newsgroups: gmane.emacs.gnus.general Subject: Re: Configuring spam.el: A few questions Date: Sat, 03 Apr 2004 13:57:07 +0200 Organization: The Deciples of Albericht Nibelungen Sender: ding-owner@lists.math.uh.edu Message-ID: References: <4nvfkkvodw.fsf@lifelogs.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1080993465 1146 80.91.224.253 (3 Apr 2004 11:57:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Apr 2004 11:57:45 +0000 (UTC) Original-X-From: ding-owner+M5433@lists.math.uh.edu Sat Apr 03 13:57:38 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 1B9jmL-0001SF-00 for ; Sat, 03 Apr 2004 13:57:37 +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 1B9jlv-00039A-00; Sat, 03 Apr 2004 05:57:11 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1B9jln-000392-00 for ding@lists.math.uh.edu; Sat, 03 Apr 2004 05:57:03 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1B9jll-00032O-UN for ding@lists.math.uh.edu; Sat, 03 Apr 2004 05:57:01 -0600 Original-Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by justine.libertine.org (Postfix) with ESMTP id CBDC33A0066 for ; Sat, 3 Apr 2004 05:56:58 -0600 (CST) Original-Received: from c-a85372d5.036-4-67626721.cust.bredbandsbolaget.se.bredband.net ([213.114.83.177] [213.114.83.177]) by mxfep02.bredband.com with ESMTP id <20040403115657.VALC3291.mxfep02.bredband.com@c-a85372d5.036-4-67626721.cust.bredbandsbolaget.se.bredband.net> for ; Sat, 3 Apr 2004 13:56:57 +0200 Original-To: ding@gnus.org Mail-Copies-To: never In-Reply-To: <4nvfkkvodw.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 31 Mar 2004 13:54:03 -0500") User-Agent: Gnus/5.110001 (No Gnus v0.1) Emacs/21.3 (darwin) X-Spam-Score: -4.8 (----) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56894 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56894 Ted Zlatanov writes: > On Wed, 31 Mar 2004, tvrud@bredband.net wrote: [...] >> As I've understood it, all spam marked mails will be moved to the >> Spam-group due to the topic parameter above, but then? > > With a spam exit processor, the spam will also be processed before > it's moved. Also, it will be marked expired. I.e. if I set nnfolder:Spam: ((spam-contents gnus-group-spam-classification-spam) (ham-marks (gnus-ticked-mark))) And the Email topic: ((spam-process-destination . nil) ;; Necessary at all? (spam-process (gnus-group-spam-exit-processor-bogofilter))) And use spam-split in fancy-splitting to nnfolder:Spam I will have the following setup: 1. Detected spam during splitting will end up in nnfolder:Spam 2. Undetected spam will be split as an ordinary email. I then start to read my mail and a. Spam in ordinary groups (e.g. nnfolder:Ding) will be marked with M-d and then bogofilter will be trained on it upon exit. The spam will be marked expired. b. Emails in nnfolder:Spam will be considered spam unless I tick 'em. b1. Ticked emails are moved to ham-process-destination (which I will set on topic level to my main mailbox) and bogofilter will be trained on it as ham after adding (ham-process (gnus-group-ham-exit-processor-bogofilter)) to the Email topic parameter. b2. Spam (i.e. all emails I do not tick) is ... now my understanding starts to slip again. It is marked as expired by (spam-contents gnus-group-spam-classification-spam), right? Is bogofilter trained on it again? (Doesn't make sense but have to ask.) (Will the emails in the Spam group have the $-sign automagically? [Have to ask again.]) If this is the case, I will "only" need to add the following to .gnus and then I'm past the finish line, right? (setq gnus-registry-cache-file (concat gnus-dribble-directory "gnus.registry.eld") spam-use-bogofilter t spam-use-BBDB t ;; Whitelist spam-log-to-registry t spam-mark-ham-unread-before-move-from-spam-group t ) (spam-initialize) (gnus-registry-initialize) I also need to add (: gnus-registry-split-fancy-with-parent) to the split rules. I quite don't understand the difference between the (: gnus-registry-split-fancy-with-parent) and the (: nnmail-split-fancy-with-parent). Anyone that cares to explain the difference and/or the idea behind the registry? >> If I've understood it correctly, if I set the group parameters of >> nnfolder:Spam to >> ((spam-contents gnus-group-spam-classification-spam)) >> everything will work as expected, i.e. bogofilter is trained on the >> contents of nnfolder:Spam and the content is not moved anywhere, >> right? > > What that parameter does is mark all UNSEEN articles in the Spam group > as spam when you enter the Spam group. Unseen = all emails that for one reason or the other is nor shown in the summary buffer, e.g. read emails. Or is there some other (Gnus specific) terminology I've missed? > I recommend to use a "Spam" and a "Train" folder since above you're > trying to use the "Spam" folder as both OK. I will try to avoid the Train folder if possible, which according to my understanding above I can. Thanks for the help so far! :-) -- ( http://hem.bredband.net/steverud/ ! Wei Wu Wei ) ( Meaning of U2 Lyrics, Roleplaying ! To Do Without Do )