??????? Original Message ??????? On Tuesday, March 17, 2020 12:45 PM, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:> `doveadm search -u username\\\\@domain.com mailbox INBOX savedbefore 90` > > return any mails?No it does not return any mails, although there are mails older than 90 days in the INBOX.> How did you do the migration?I copied over the mails with rsync from the old mailbox server to the new one.
> On 17/03/2020 13:55 mabi <mabi at protonmail.ch> wrote: > > > ??????? Original Message ??????? > On Tuesday, March 17, 2020 12:45 PM, Aki Tuomi <aki.tuomi at open-xchange.com> wrote: > > > > `doveadm search -u username\\\\@domain.com mailbox INBOX savedbefore 90` > > > > return any mails? > > No it does not return any mails, although there are mails older than 90 days in the INBOX. > > > How did you do the migration? > > I copied over the mails with rsync from the old mailbox server to the new one.Did you add sufficient flags to rsync to retain file mtime and ctime? These are used to determine the mail saved date. Aki
??????? Original Message ??????? On Tuesday, March 17, 2020 1:05 PM, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:> Did you add sufficient flags to rsync to retain file mtime and ctime? These are used to determine the mail saved date. > > AkiI have been using "rsync -av". As far as I know the "-a or --archive" parameter should preserve almost everything, at least the rsync man page says that.