From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87672 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP changes timestamp when moving an article to another group Date: Thu, 14 Sep 2017 15:29:01 -0700 Message-ID: <87o9qchq36.fsf@ericabrahamsen.net> References: <867fbvja33.fsf@dod.no> <86h8whdswa.fsf@dod.no> <86shfwcnyu.fsf@dod.no> <87r2vfnbwm.fsf@ericabrahamsen.net> <86d16ydg5v.fsf@dod.no> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1505428290 32597 195.159.176.226 (14 Sep 2017 22:31:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 14 Sep 2017 22:31:30 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+m35886@lists.math.uh.edu Fri Sep 15 00:31:24 2017 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from mxfilter-048035.atla03.us.yomura.com ([107.189.48.35]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dscfM-0008K7-7y for ding-account@gmane.org; Fri, 15 Sep 2017 00:31:24 +0200 X-Yomura-MXScrub: 1.0 Original-Received: from lists1.math.uh.edu (unknown [129.7.128.208]) by mxfilter-048035.atla03.us.yomura.com (Halon) with ESMTPS id 73da30bb-999c-11e7-86ce-b499baabecb2; Thu, 14 Sep 2017 22:31:29 +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 1dscej-0000jy-Mf; Thu, 14 Sep 2017 17:30:45 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1dsceh-0000jF-1O for ding@lists.math.uh.edu; Thu, 14 Sep 2017 17:30:43 -0500 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.87) (envelope-from ) id 1dscee-0006jV-Oe for ding@lists.math.uh.edu; Thu, 14 Sep 2017 17:30:42 -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 1dsced-0002KI-7u for ding@gnus.org; Fri, 15 Sep 2017 00:30:39 +0200 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dsceO-00071H-GP for ding@gnus.org; Fri, 15 Sep 2017 00:30:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:fzMMRwspObPAatYVkrKhlBpFMmM= List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87672 Archived-At: Steinar Bang writes: >>>>>> Eric Abrahamsen : > >> I looked at the link, but I still don't really see where he's saying >> that you can specify the INTERNALDATE. > > You're right. I misread, he says that about the APPEND command. > >> The IMAP specs certainly don't indicate that any additional arguments >> are possible with a MOVE command. > > No, that was mbox-specific implementation on part of dovecot: if the > move command is used, the file is just moved from one directory to the > other (ie. on a GNU/linux filesystem: the inode is untouched) and mtime > is preserved, and therefore INTERNALDATE is preserved. > > However in March 2016 in the git history of nnimap.el there were some > changes where Gnus stopped using MOVE on dovecot. > >> You can specify a date with APPEND, but the only time Gnus uses that >> is when replacing an article, not MOVEing (so far as I can tell)... > > Yes, I saw that when I was reading the specs of COPY yesterday (after I > had posted the message you're responding to). > > However dovecot could (and really should) pick the date out of the Date > field of the source message when doing a COPY and use that as the mtime > of the new mbox file. > > Currently, I'm guessing, when dovecot w/mbox does a COPY, the mtime of > the message file in the mbox folder will become time the file was > created. Beats me, I guess... Is there a configuration knob you can twiddle in Dovecot?