From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73594 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: SPAM in spam group is processed into that exact same group Date: Mon, 25 Oct 2010 22:05:05 +0200 Message-ID: <87tykaf37y.fsf@thinkpad.tsdh.de> References: <87ocan4cis.fsf@thinkpad.tsdh.de> <87tykbj4of.fsf@thinkpad.tsdh.de> <87iq0q3xzx.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288037171 30171 80.91.229.12 (25 Oct 2010 20:06:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Oct 2010 20:06:11 +0000 (UTC) Cc: ding@gnus.org To: Ted Zlatanov Original-X-From: ding-owner+M21963@lists.math.uh.edu Mon Oct 25 22:06:09 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PATJ2-0004ve-8T for ding-account@gmane.org; Mon, 25 Oct 2010 22:06:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PATIA-0008O9-Ul; Mon, 25 Oct 2010 15:05:14 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PATI8-0008Nn-LF for ding@lists.math.uh.edu; Mon, 25 Oct 2010 15:05:12 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PATI7-00033k-6U for ding@lists.math.uh.edu; Mon, 25 Oct 2010 15:05:12 -0500 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PATI6-0007q1-00 for ; Mon, 25 Oct 2010 22:05:10 +0200 Original-Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id EC3201D2; Mon, 25 Oct 2010 16:05:08 -0400 (EDT) Original-Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 25 Oct 2010 16:05:08 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:cc:subject:references:date:in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=iz1EH0otXJ7albvUYAtz3dnhEng=; b=eKkfuYQfLwU3+1ydmybamSkGOttpWKt32nPGlEo+yTTg0FXcT8J7XAglufZEJveOU+fbLpjNFrvBYeWkbgPjrIlVXc2aJgP/w4a3Vknf0Hr1ZC4gWYGI7jvzVxLFIn30DFafBFuvi2sEC/PFVPEzgSAgaWXqu8n7TtN/CYVvhGA= X-Sasl-enc: ApEsX3k7Fi0OoB0jpKi4HDWpidKWrUdL2gs4/ufLayOI 1288037108 Original-Received: from thinkpad.tsdh.de (p54AF0EE2.dip0.t-ipconnect.de [84.175.14.226]) by mail.messagingengine.com (Postfix) with ESMTPA id 9B5795E1B61; Mon, 25 Oct 2010 16:05:07 -0400 (EDT) In-Reply-To: <87iq0q3xzx.fsf@lifelogs.com> (Ted Zlatanov's message of "Mon, 25 Oct 2010 13:53:22 -0500") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73594 Archived-At: Ted Zlatanov writes: Hi Ted, > You're classifying "nnimap+Fastmail:INBOX.training.spam" as a spam > group and also telling spam.el to move spam messages there. So yes, > it will always respool messages on exit. I think the proper fix is to > make the spam exit processor check if the destination group is the > same. Can you try the attached patch? Till now, I didn't try your patch, but I think that it is not the proper fix, because right now, all the correctly classified SPAM messages in my "real" spam group "nnimap+Fastmail:INBOX.Junk Mail" are moved to the spam training group "nnimap+Fastmail:INBOX.training.spam". Of course, in the training groups I only want to have the false positives and false negatives. IMO, the proper way would be to invoke only the opposite processor of the groups' classification, that is, invoke the ham processor in groups classified as spam, and only the spam processor in ham (and unclassified) groups. Or do you know any usecase for invoking the spam processor in spam groups or the ham processor in ham groups? Bye, Tassilo