From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87666 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: Sun, 10 Sep 2017 12:03:24 +0200 Organization: Probably a good idea Message-ID: <86d16ydg5v.fsf@dod.no> References: <867fbvja33.fsf@dod.no> <86h8whdswa.fsf@dod.no> <86shfwcnyu.fsf@dod.no> <87r2vfnbwm.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1505317505 15154 195.159.176.226 (13 Sep 2017 15:45:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 13 Sep 2017 15:45:05 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (windows-nt) To: ding@gnus.org Original-X-From: ding-owner+m35874@lists.math.uh.edu Sun Sep 10 12:05:35 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 1dqz7H-0004m3-5s for ding-account@gmane.org; Sun, 10 Sep 2017 12:05:27 +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 8790c2df-960f-11e7-9af4-b499baabecb2; Sun, 10 Sep 2017 10:05:10 +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 1dqz65-0006C8-A1; Sun, 10 Sep 2017 05:04:13 -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 1dqz61-0006BV-FU for ding@lists.math.uh.edu; Sun, 10 Sep 2017 05:04:09 -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 1dqz5z-0003nM-DO for ding@lists.math.uh.edu; Sun, 10 Sep 2017 05:04:09 -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 1dqz5x-0006h1-UA for ding@gnus.org; Sun, 10 Sep 2017 12:04:05 +0200 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dqz5O-0007qe-Es for ding@gnus.org; Sun, 10 Sep 2017 12:03:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 31 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:Ccg4zUZhJ9LmKCui41R4kxuR5VY= List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87666 >>>>> 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.