From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86862 Path: news.gmane.org!not-for-mail From: gallego@cri.ensmp.fr (Emilio =?utf-8?Q?Jes=C3=BAs?= Gallego Arias) Newsgroups: gmane.emacs.gnus.general Subject: Re: duplicates with offlineimap+dovecot Date: Sun, 14 Feb 2016 13:19:10 +0100 Message-ID: <87h9hbiiwx.fsf@cri.ensmp.fr> References: <878u34uyk4.fsf@free.fr> <84bn7q9m9i.fsf@cri.ensmp.fr> <87wpqd5u46.fsf@gnus.org> <87si11nz3m.fsf@cri.ensmp.fr> <87r3glp923.fsf@gnus.org> <87io1wfbvp.fsf@cri.ensmp.fr> <87twlcvh9v.fsf@cri.ensmp.fr> <87io1sdnpt.fsf@gnus.org> <87k2m8ndgt.fsf@cri.ensmp.fr> <87fuwv3o3j.fsf@gnus.org> <87povzlwjz.fsf@cri.ensmp.fr> <874mdb3lx9.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455452633 14958 80.91.229.3 (14 Feb 2016 12:23:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Feb 2016 12:23:53 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M35084@lists.math.uh.edu Sun Feb 14 13:23:40 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aUviF-000268-Qs for ding-account@gmane.org; Sun, 14 Feb 2016 13:23:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1aUveZ-0002FW-1v; Sun, 14 Feb 2016 06:19:51 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1aUveD-0002Ek-Sd for ding@lists.math.uh.edu; Sun, 14 Feb 2016 06:19:30 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1aUve6-0005jS-8e for ding@lists.math.uh.edu; Sun, 14 Feb 2016 06:19:28 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1aUve4-0005vJ-8M for ding@gnus.org; Sun, 14 Feb 2016 13:19:20 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUve3-00087g-2j for ding@gnus.org; Sun, 14 Feb 2016 13:19:19 +0100 Original-Received: from 164.9.67.86.rev.sfr.net ([86.67.9.164]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Feb 2016 13:19:19 +0100 Original-Received: from gallego by 164.9.67.86.rev.sfr.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Feb 2016 13:19:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 164.9.67.86.rev.sfr.net User-Agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:d8NAR5AzWuAwZA4C7AjgLqhC5wU= X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86862 Archived-At: Lars Ingebrigtsen writes: > That's a possible interpretation, but then the MOVE RFC should just have > said "MOVEs can't be streamed". I can't see that it does that. The RFC states that MOVE is exactly equivalent to COPY + STORE + EXPUNGE, and defer streaming to ambiguity rules. IMO it is not very clear what should this mean, I've asked on dovecot and imap mailing lists. After a quick look to Dovecot's source code, I think I got a small intuition on what is going on. Dovecot will only check the success of the move to issue the "OK Move completed" response. There is no check for expunge failing. [see cmd-copy.c: + mail-storage.c:mailbox_move()] > And the VANISH stuff comes from the QRESYNC support, which is a > separate feature. If MOVE fails, it should have said so, and it > doesn't: > > 21:02:59 [domain] 9019 UID MOVE 4062,4066,4068 "unrelated2" > 21:02:59 [domain] 9020 UID MOVE 4063:4064,4067,4069:4072 "folder1" > > [...] > > 9019 OK Move completed. > 9020 OK [HIGHESTMODSEQ 5193] Move completed. > > Both commands completed with OK. Yeah this means that the copy part of the move didn't fail, but not all messages (form the second copy) where expunged from the INBOX. Thanks for the help, E.