From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73615 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: Tue, 26 Oct 2010 19:38:27 +0200 Message-ID: <874oc8ua5o.fsf@thinkpad.tsdh.de> References: <87ocan4cis.fsf@thinkpad.tsdh.de> <87tykbj4of.fsf@thinkpad.tsdh.de> <87iq0q3xzx.fsf@lifelogs.com> <87tykaf37y.fsf@thinkpad.tsdh.de> <87fwvu2f9m.fsf@lifelogs.com> <878w1lxwnm.fsf@thinkpad.tsdh.de> <874oc8zzqp.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288114724 27980 80.91.229.12 (26 Oct 2010 17:38:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Oct 2010 17:38:44 +0000 (UTC) Cc: ding@gnus.org To: Ted Zlatanov Original-X-From: ding-owner+M21984=ding+2Daccount=gmane.org@lists.math.uh.edu Tue Oct 26 19:38:43 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 1PAnTq-0001XB-Ib for ding-account@gmane.org; Tue, 26 Oct 2010 19:38:38 +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 1PAnTp-0006RM-HX for ding-account@gmane.org; Tue, 26 Oct 2010 12:38:37 -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 1PAnTm-0006RD-Mr for ding@lists.math.uh.edu; Tue, 26 Oct 2010 12:38:34 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PAnTl-0008DD-2s for ding@lists.math.uh.edu; Tue, 26 Oct 2010 12:38:34 -0500 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PAnTk-0002si-00 for ; Tue, 26 Oct 2010 19:38:32 +0200 Original-Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 5CEC5CF; Tue, 26 Oct 2010 13:38:31 -0400 (EDT) Original-Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Tue, 26 Oct 2010 13:38:31 -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=ZklPA9gSyWCpSsujH3A7mrYYKp8=; b=KNQCg1V+IjIHKG8wEFMhlRA3c/w+loPPhsbRq5DUzsndYfgfZPDebz6pm7GOVFgVYH0nTf3vV7vMYgTxbrbyKGk0yxnwMflwiB8ieUjn01+bhsLfmkTm6wMedKL9vzNchmYcR16ftDHQBkqVh2SVsg8SSk3yEfAyyK+kcf11XXY= X-Sasl-enc: SRfMz7IVoQhN6PfhdrLjJT5HmOXEE1rw5MChMbjzuTDD 1288114710 Original-Received: from thinkpad.tsdh.de (p54AF1D1B.dip0.t-ipconnect.de [84.175.29.27]) by mail.messagingengine.com (Postfix) with ESMTPA id E28CC40B638; Tue, 26 Oct 2010 13:38:29 -0400 (EDT) In-Reply-To: <874oc8zzqp.fsf@lifelogs.com> (Ted Zlatanov's message of "Tue, 26 Oct 2010 11:26:54 -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:73615 Archived-At: Ted Zlatanov writes: Hi Ted, > Yes. OK, so... untested patch follows. It should be pretty obvious. > > I have to use the test function instead of directly checking the > classification of the group, hence the slightly awkward repetition of > the test for spam and ham testing. I've tested it briefly: spam messages in spam groups aren't moved to the training spam groups. Good. Marking messages as spam in my non-spam groups moves them to my spam training group. Good. Hm, but then I unmarked a message in my Junk Mail group as non-spam and it tried to move it to my ham training group, but that didn't seem to work. 20101026T192738.273> Copying to nnimap+Fastmail:INBOX: (11849)... 20101026T192742.609> Copying to nnimap+Fastmail:INBOX.training.ham: (11849)... 20101026T192742.609> Couldn't Copy article 11849: 20101026T192744.005> 1 ham messages were registered by backend spam-use-move. The message was copied to the first ham process destination (INBOX), but not to the ham training group, most probably cause it tried to move a then non-existing message. Bye, Tassilo