From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87658 Path: news.gmane.org!.POSTED!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP changes timestamp when moving an article to another group Date: Sat, 09 Sep 2017 09:47:53 +0200 Organization: Probably a good idea Message-ID: <86shfwcnyu.fsf@dod.no> References: <867fbvja33.fsf@dod.no> <86h8whdswa.fsf@dod.no> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1504943433 1325 195.159.176.226 (9 Sep 2017 07:50:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 9 Sep 2017 07:50:33 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (windows-nt) To: ding@gnus.org Original-X-From: ding-owner+m35872@lists.math.uh.edu Sat Sep 09 09:50:25 2017 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from mxfilter-048034.atla03.us.yomura.com ([107.189.48.34]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqaWp-0007fl-1f for ding-account@gmane.org; Sat, 09 Sep 2017 09:50:11 +0200 X-Yomura-MXScrub: 1.0 Original-Received: from lists1.math.uh.edu (unknown [129.7.128.208]) by mxfilter-048034.atla03.us.yomura.com (Halon) with ESMTPS id 75f34808-9533-11e7-9d96-b499baa2b07a; Sat, 09 Sep 2017 07:49:52 +0000 (UTC) Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.87) (envelope-from ) id 1dqaVZ-0002WL-Ji; Sat, 09 Sep 2017 02:48:53 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1dqaVV-0002Vc-2y for ding@lists.math.uh.edu; Sat, 09 Sep 2017 02:48:49 -0500 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.87) (envelope-from ) id 1dqaVQ-00039C-EV for ding@lists.math.uh.edu; Sat, 09 Sep 2017 02:48:48 -0500 Original-Received: from [195.159.176.226] (helo=blaine.gmane.org) by quimby.gnus.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1dqaVO-00031w-VR for ding@gnus.org; Sat, 09 Sep 2017 09:48:43 +0200 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dqaUq-0001lq-Q1 for ding@gnus.org; Sat, 09 Sep 2017 09:48:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 53 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:JGcvrIXbl0vFlwb++Vq6abuDhRk= List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87658 Archived-At: >>>>> Steinar Bang : > Does anyone know what happened to this issue? > I haven't dared expire or move stuff in my nnimap folders for the last > year or so... To summarize: When expiring, or moving with "B m" messages between nnimap on a dovecot server, the date is displayed wrongly in other IMAP clients. The Date: header on the message itself is unchanged, but the INTERNALDATE gets the time of the move/copy operation. Dovecot allows the INTERNALDATE to be specified during a copy (see Timo Siriainens last reply text in [1]), and the feature request is that nnimap specifices the INTERNALDATE during a copy. I've looked at the git log of nnimap.el and it doesn't look like anything related to this has been done since august 2016[2]. In fact, these two changes from march 2016 may be the cause of the date not being preserved on move/expiry, since Timo Siriainen seems to indicate that dovecot by default preserves the INTERNALDATE in a MOVE between folders on the same server (see Timo Siriainens first reply text in [1]), from the git log of nnimap.el: commit d5427e71da28856c5e43396a37ffd0c906947499 Author: Lars Magne Ingebrigtsen Date: Mon Mar 14 20:23:30 2016 +0100 Disable MOVE more for Dovecot * lisp/gnus/nnimap.el (nnimap-process-expiry-targets): Also disable MOVE when expirying. (nnimap-split-incoming-mail): And when splitting mail. commit 8ed27bdf88cab134c26f3609c4d11c574f74705c Author: Lars Magne Ingebrigtsen Date: Mon Mar 14 20:21:02 2016 +0100 Don't use MOVE on Dovecot * lisp/gnus/nnimap.el (nnimap-request-move-article): Don't use MOVE on Dovecot, since it's broken in many versions. (nnimap-quirks): Mark MOVE on Dovecot as non-working. References: [1] [2]