From: Steinar Bang <sb@dod.no>
To: ding@gnus.org
Subject: Re: IMAP changes timestamp when moving an article to another group
Date: Sat, 09 Sep 2017 09:47:53 +0200 [thread overview]
Message-ID: <86shfwcnyu.fsf@dod.no> (raw)
In-Reply-To: <86h8whdswa.fsf@dod.no>
>>>>> Steinar Bang <sb@dod.no>:
> 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 <larsi@gnus.org>
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 <larsi@gnus.org>
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] <https://www.dovecot.org/list/dovecot/2008-July/032170.html>
[2] <http://git.savannah.gnu.org/cgit/emacs.git/log/lisp/gnus/nnimap.el>
next prev parent reply other threads:[~2017-09-09 7:47 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-15 2:36 notmuch is limited to a single local mail store, right? myglc2
2016-01-15 3:28 ` Eric Abrahamsen
2016-01-15 12:46 ` myglc2
2016-01-15 13:12 ` Erik Colson
2016-01-15 16:43 ` myglc2
2016-02-06 0:06 ` gnus async prefetch and nnimap Erik Colson
2016-02-06 1:13 ` Eric Abrahamsen
2016-02-06 1:15 ` Eric Abrahamsen
2016-08-01 21:29 ` IMAP changes timestamp when moving an article to another group Erik Colson
2016-08-01 23:49 ` Greg Troxel
2016-08-05 19:21 ` Steinar Bang
2016-08-16 13:22 ` Erik Colson
2017-09-05 16:14 ` Steinar Bang
2017-09-09 7:47 ` Steinar Bang [this message]
2017-09-09 15:12 ` Eric Abrahamsen
2017-09-10 10:03 ` Steinar Bang
2017-09-14 22:29 ` Eric Abrahamsen
2017-09-15 15:42 ` Steinar Bang
2017-09-15 21:52 ` Eric Abrahamsen
2018-04-11 20:25 ` Lars Ingebrigtsen
2018-04-11 22:08 ` Eric Abrahamsen
2016-01-15 5:30 ` notmuch is limited to a single local mail store, right? Adam Sjøgren
2016-01-15 7:49 ` Alan Schmitt
2016-01-15 8:17 ` Adam Sjøgren
2016-01-15 13:03 ` myglc2
2016-01-16 3:56 ` myglc2
2016-01-15 12:50 ` myglc2
2016-01-15 14:25 ` Peter Münster
2016-01-15 19:19 ` Adam Sjøgren
2016-01-15 20:21 ` Adam Sjøgren
2016-01-16 3:47 ` myglc2
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86shfwcnyu.fsf@dod.no \
--to=sb@dod.no \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).