> On 17 Mar 2020, at 15.40, mabi <mabi at protonmail.ch> wrote: > > ??????? Original Message ??????? > On Tuesday, March 17, 2020 2:18 PM, Aki Tuomi <aki.tuomi at open-xchange.com> wrote: > >> So doveadm fetch -u admin\\@domain.tld "mailbox date.saved" UID 130863 >> >> Aki > > This is the ouput: > > mailbox: INBOX > date.saved: 2020-01-16 18:21:53 > > I think that might be the date where I have done the migration from the old to the new mailbox server... >So your rsync did not preserve mail object ctimes. Dovecot uses that for internal date if correct value is not in dovecot.index.cache. Sami
??????? Original Message ??????? On Tuesday, March 17, 2020 3:26 PM, Sami Ketola <sami.ketola at dovecot.fi> wrote:> So your rsync did not preserve mail object ctimes. Dovecot uses that for internal date if correct value is not in dovecot.index.cache.Oh I see, so that's quite unfortunate that rsync does not preserve the ctime. They should have a big warning in their man page... So what would be the correct process for moving/copying mails from one mailbox server to another in order to avoid this issue?
> On 17 Mar 2020, at 16.43, mabi <mabi at protonmail.ch> wrote: > > ??????? Original Message ??????? > On Tuesday, March 17, 2020 3:26 PM, Sami Ketola <sami.ketola at dovecot.fi> wrote: > >> So your rsync did not preserve mail object ctimes. Dovecot uses that for internal date if correct value is not in dovecot.index.cache. > > Oh I see, so that's quite unfortunate that rsync does not preserve the ctime. They should have a big warning in their man page... > > So what would be the correct process for moving/copying mails from one mailbox server to another in order to avoid this issue?Since you were migrating dovecot->dovecot I would have just used Dsync. Sami