From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73617 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 23:04:54 +0200 Message-ID: <87fwvsis21.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> <874oc8ua5o.fsf@thinkpad.tsdh.de> <87tyk8x03w.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288127170 26589 80.91.229.12 (26 Oct 2010 21:06:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Oct 2010 21:06:10 +0000 (UTC) Cc: ding@gnus.org To: Ted Zlatanov Original-X-From: ding-owner+M21986@lists.math.uh.edu Tue Oct 26 23:06:08 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 1PAqid-0003nY-WD for ding-account@gmane.org; Tue, 26 Oct 2010 23: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 1PAqhc-0007Ea-6q; Tue, 26 Oct 2010 16:05:04 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PAqha-0007EK-20 for ding@lists.math.uh.edu; Tue, 26 Oct 2010 16:05:02 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PAqhX-0003Xo-RJ for ding@lists.math.uh.edu; Tue, 26 Oct 2010 16:05:01 -0500 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PAqhW-0005r9-00 for ; Tue, 26 Oct 2010 23:04:58 +0200 Original-Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 7F3C266A; Tue, 26 Oct 2010 17:04:57 -0400 (EDT) Original-Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 26 Oct 2010 17:04:57 -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=Kmq0sINHN05fy+hF08u5MSxAb3c=; b=h26je7sfNWyZEqdi/Z49Dx9jtX4Zm/ea8x2hah+9X9JBoDCEP79YC1np4MlFfcULgr2lzx74rK2hBJkjeoxyeV9wvv4vtFKdKY7tK86yZ821b3hKLuSPdqpyHBc/En/14PYJzZ1gO5SSD9lws7+XZ1sLU0FkRqVciLNWq5Em2xo= X-Sasl-enc: YAeMJc8oh+iHPTdRn79amYE0UuXYGLD0HCH0v/Uf2W9X 1288127097 Original-Received: from thinkpad.tsdh.de (p54AF1D1B.dip0.t-ipconnect.de [84.175.29.27]) by mail.messagingengine.com (Postfix) with ESMTPA id 67531404649; Tue, 26 Oct 2010 17:04:56 -0400 (EDT) In-Reply-To: <87tyk8x03w.fsf@lifelogs.com> (Ted Zlatanov's message of "Tue, 26 Oct 2010 13:47:15 -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:73617 Archived-At: Ted Zlatanov writes: > TH> Hm, but then I unmarked a message in my Junk Mail group as > TH> non-spam and it tried to move it to my ham training group, but > TH> that didn't seem to work. > >> Copying to nnimap+Fastmail:INBOX: (11849)... >> Copying to nnimap+Fastmail:INBOX.training.ham: (11849)... >> Couldn't Copy article 11849: >> 1 ham messages were registered by backend spam-use-move. > > TH> The message was copied to the first ham process destination (INBOX), but > TH> not to the ham training group, most probably cause it tried to move a > TH> then non-existing message. > > I see why that happened. The copy/move logic depends on the number of > groups. All but the last group get a copy and the last one gets a > move. But if we skip groups we break that logic. Try the attached > patch, it just prefilters the groups list. No, it doesn't seem to work correctly. Now the message was copied successfully to INBOX.training.ham but the copy to my INBOX (which should have been a move anyway) failed. 20101026T225808.344> Fetching headers for nnimap+Fastmail:INBOX.Junk Mail...done 20101026T225808.350> Generating summary... 20101026T225808.350> Generating summary...done 20101026T225808.351> Marking unseen articles as spam 20101026T225808.351> No more unseen articles Contacting host: www.gravatar.com:80 Reading [text/html; charset=utf-8]... 24 bytes of 13 bytes (185%) 20101026T225810.251> Exiting summary buffer and applying spam rules 20101026T225810.260> Registering 1 specific articles as ham using backend spam-use-move 20101026T225810.261> Copying to nnimap+Fastmail:INBOX.training.ham: (11914)... 20101026T225811.555> No more newsgroups 20101026T225812.063> Copying to nnimap+Fastmail:INBOX: (11914)... 20101026T225812.064> Couldn't Copy article 11914: 20101026T225812.529> No more newsgroups 20101026T225812.975> 1 ham messages were registered by backend spam-use-move. 20101026T225812.976> Expiring articles... 20101026T225813.301> Expiring articles...done BTW: I cannot figure out exactly how to mark a false positive in a spam group as ham. I always remove the spam mark (or all marks) using M-u, but that alone doesn't make the article moved away on exit. I somehow need to reopen that group, read the message and exit summary again. How is it meant to be? Bye, Tassilo