From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86832 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: Wed, 10 Feb 2016 23:18:02 +0100 Organization: CRI ParisTech Message-ID: <87io1wfbvp.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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1455142750 21486 80.91.229.3 (10 Feb 2016 22:19:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Feb 2016 22:19:10 +0000 (UTC) Cc: ding@gnus.org To: Lars Ingebrigtsen Original-X-From: ding-owner+M35057@lists.math.uh.edu Wed Feb 10 23:18:58 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 1aTd6A-0005OQ-7C for ding-account@gmane.org; Wed, 10 Feb 2016 23:18:58 +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 1aTd5V-0000ui-QC; Wed, 10 Feb 2016 16:18:17 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1aTd5S-0000u8-9Q for ding@lists.math.uh.edu; Wed, 10 Feb 2016 16:18:14 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1aTd5N-0007xs-Ql for ding@lists.math.uh.edu; Wed, 10 Feb 2016 16:18:13 -0600 Original-Received: from boipeva.ensmp.fr ([194.214.158.136]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1aTd5J-0004VN-QS; Wed, 10 Feb 2016 23:18:05 +0100 Original-Received: from rochefort (164.9.67.86.rev.sfr.net [86.67.9.164]) (authenticated bits=0) by boipeva.ensmp.fr (8.15.2/8.15.1/JMMC-22/Oct/2013) with ESMTPSA id u1AMI2tf022745 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 10 Feb 2016 23:18:03 +0100 X-Url: https://www.cri.ensmp.fr/people/gallego/ In-Reply-To: <87r3glp923.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 10 Feb 2016 13:56:36 +1100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-Miltered: at boipeva.ensmp.fr with ID 56BBB71A.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Auth: USER-ID emilio.gallego_arias X-j-chkmail-Enveloppe: 56BBB71A.000 from 164.9.67.86.rev.sfr.net/164.9.67.86.rev.sfr.net/86.67.9.164/rochefort/ X-Spam-Score: -2.1 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86832 Archived-At: Hi Lars, Lars Ingebrigtsen writes: > gallego@cri.ensmp.fr (Emilio Jes=C3=BAs Gallego Arias) writes: > >> Isn't there a way to debug even more/IMAP return status? I've tried to >> gather the contents of the *nnimap host *nntpd** buffer but without succ= ess. > > No, I don't think there's a way to get the IMAP results logged. I think > perhaps the easiest thing would be to put a (debug) in the source code > right after it's issued those MOVE commands, and then have a peek in the > *nnimap ...* buffer. The idea worked, thanks! (I replaced "(debug)" with my own logging of the nnimap buffer) And this is what I got: [note the duplicated move to folder1] 21:02:58 [domain] 9014 LIST "" "*" 21:02:58 [domain] 9015 SELECT "INBOX" 21:02:58 [domain] 9016 UID FETCH 1:* FLAGS 21:02:58 [domain] 9017 UID FETCH 4062:4072 (UID BODY.PEEK[HEADER]) 21:02:59 [domain] 9018 UID MOVE 4065 "unrelated1" 21:02:59 [domain] 9019 UID MOVE 4062,4066,4068 "unrelated2" 21:02:59 [domain] 9020 UID MOVE 4063:4064,4067,4069:4072 "folder1" 21:03:00 [domain] 9021 EXAMINE "unrelated1" (QRESYNC (1424475224 33)) [...] lots of stuff 21:03:07 [domain] 9248 SELECT "INBOX" 21:03:07 [domain] 9249 SELECT "INBOX" 21:03:07 [domain] 9250 UID FETCH 704,2408,2425,2447:2448,2510,2537,2571,266= 7,2675,3715,3777,3806,3865,3871,3989,4003,4063:4064,4067 (UID RFC822.SIZE B= ODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (Subject From Date Message-Id Referenc= es In-Reply-To Xref To Newsgroups Cc)]) 21:03:08 [domain] 9251 SELECT "INBOX" 21:03:08 [domain] 9252 UID FETCH 4063 BODY.PEEK[] 21:03:12 [domain] 9253 SELECT "INBOX" 21:03:12 [domain] 9254 UID SEARCH SENTBEFORE 03-FEB-2016 --- *nnimap domain buf ** * OK [COPYUID 1424475206 4065 96] Moved UIDs. * VANISHED 4065 * 10 RECENT 9018 OK [HIGHESTMODSEQ 5192] Move completed. * OK [COPYUID 1424475218 4062,4066,4068 376:378] Moved UIDs. * OK [COPYUID 1424475231 4063:4064,4067,4069:4072 26:32] Moved UIDs. * VANISHED 4062,4066,4068:4072 * 3 RECENT 9019 OK Move completed. 9020 OK [HIGHESTMODSEQ 5193] Move completed. --- Second press of g 21:07:20 [domain] 9303 LIST "" "*" 21:07:20 [domain] 9304 SELECT "INBOX" 21:07:20 [domain] 9305 UID FETCH 1:* FLAGS 21:07:20 [domain] 9306 UID FETCH 4063:4064,4067 (UID BODY.PEEK[HEADER]) 21:07:20 [domain] 9307 UID MOVE 4063:4064,4067 "folder1" --- *nnimap domain buf ** * OK [COPYUID 1424475231 4063:4064,4067 33:35] Moved UIDs. * VANISHED 4063:4064,4067 9307 OK [HIGHESTMODSEQ 5194] Move completed. I'm really puzzled by this log, dunno how to interpret it. Best regards, Emilio