From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81440 Path: news.gmane.org!not-for-mail From: Herbert Valerio Riedel Newsgroups: gmane.emacs.gnus.general Subject: gnus-summary-move-article between different nnimap backends removes arbitrary articles Date: Sun, 19 Feb 2012 12:48:03 +0100 Message-ID: <87pqdb6o3w.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1329668530 13806 80.91.229.3 (19 Feb 2012 16:22:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2012 16:22:10 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29720@lists.math.uh.edu Sun Feb 19 17:22:06 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rz9WV-0007DX-23 for ding-account@gmane.org; Sun, 19 Feb 2012 17:22:03 +0100 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 1Rz9VV-0002Uz-FB; Sun, 19 Feb 2012 10:21:01 -0600 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 1Rz5Fd-0001Fw-8d for ding@lists.math.uh.edu; Sun, 19 Feb 2012 05:48:21 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Rz5FY-0001XX-Pu for ding@lists.math.uh.edu; Sun, 19 Feb 2012 05:48:20 -0600 Original-Received: from mail01.rise-w.com ([88.116.105.226]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Rz5FX-0001Qk-1u for ding@gnus.org; Sun, 19 Feb 2012 12:48:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by mail01.rise-w.com (Postfix) with ESMTP id 80ACF40E0AD for ; Sun, 19 Feb 2012 12:48:09 +0100 (CET) Original-Received: from duo (chello080108022133.28.11.vie.surfer.at [80.108.22.133]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.rise-world.com (Postfix) with ESMTPSA id 803F340E0A3 for ; Sun, 19 Feb 2012 12:48:04 +0100 (CET) User-Agent: Gnus/5.130003 (Ma Gnus v0.3) Emacs/24.0.93 (gnu/linux) X-Spam-Score: 0.3 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-1688--9021h-0s--0d--H*u:Emacs, 0.000-1442--7705h-0s--0d--H*u:Gnus, 0.000-1361--7270h-0s--0d--H*u:linux, 0.000-1361--7270h-0s--0d--H*UA:linux, 0.000-1327--7087h-0s--0d--H*UA:gnu Spam tokens: 0.937-7437--4413h-66909s--0d--H*Ad:D*gnus.org, 0.935-8379--5111h-76174s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.935-8379--5111h-76174s--0d--H*RU:quimby.gnus.org, 0.931-7730--5257h-73331s--0d--HTo:D*gnus.org, 0.925-7655--6148h-77942s--0d--HX-Spam-Relays-Internal:quimby.gnus.org Autolearn status: no 2.2 RCVD_IN_NJABL_PROXY RBL: NJABL: sender is an open proxy [80.108.22.133 listed in combined.njabl.org] 0.0 T_FRT_PROFILE2 BODY: ReplaceTags: Profile (2) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81440 Archived-At: Hi, As a follow-up to the report I posted to gnu.emacs.gnus[1], I could now confirm that when using gnus-summary-move-article for moving articles between different imap servers the expunge command was being sent to the article-move-destination server, which is rather unfortunate... I modified `nnimap-log-command` to print the `nnimap-address`, and the following shows the operation of moving an article (UID=22639) from origin.server.org's INBOX to destination.server.org's INBOX.test (edited names), in the following log one can clearly see that the `EXPUNGE` command is sent to the wrong server: | 12:05:34 [origin.server.org] 869 SELECT "INBOX" | 12:05:34 [origin.server.org] 870 UID FETCH 22549:22558,22560:22577,22579,22581:22600,22602:22606,22608:22617,22619:22623,22625:22654 (UID RFC822.SIZE BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref To Newsgroups Cc)]) | 12:07:13 [origin.server.org] 871 UID STORE 22639 FLAGS.SILENT (\Seen) | 12:07:14 [origin.server.org] 872 UID FETCH 22639 BODY.PEEK[] | 12:07:14 [destination.server.org] 873 APPEND "INBOX.test" {3424} | 12:07:14 [destination.server.org] 874 UID STORE 22639 +FLAGS.SILENT (\Deleted) | 12:07:14 [destination.server.org] 875 UID EXPUNGE 22639 | 12:07:14 [destination.server.org] 876 SELECT "INBOX.test" | 12:07:14 [destination.server.org] 877 UID STORE 473 +FLAGS.SILENT (\Seen) | 12:07:14 [destination.server.org] 878 SELECT "INBOX.test" | 12:07:14 [destination.server.org] 879 UID FETCH 1:* FLAGS Alas, I'm not proficient enough with the Gnus code-base to fix this bug myself... so I was hoping for someone to either fix this bug or give me directions on how to go about fixing the bug... [1]: news://quimby.gnus.org/gnu.emacs.gnus/55684 aka news://quimby.gnus.org/8762f7lryx.fsf@gnu.org aka http://groups.google.com/group/gnu.emacs.gnus/browse_thread/thread/d6f056c3a591560b hvr --