[Dovecot] Bad creation timestamp of migrated mails (maildir format)?

Timo Sirainen tss at iki.fi
Sat Nov 5 18:06:11 EET 2011


On Sat, 2011-11-05 at 10:57 +0100, Lukas Weiß wrote:
> > Maildir file's mtime is the INTERNALDATE, yes. Maybe the the
> problem isn't then any timestamps, but that the messages were copied in
> reverse order (newest message first), so their IMAP UIDs are
> reversed.
> 
> Possible. How do i avoid this? What is the preffered way to
> migrate mails from one to another imap server? Offlineimap? Can i do a
> save sync with that, even if my dovecot has newer mails now? 

If you've already moved the mails, there's not much you can do.. Or if
you don't care about losing IMAP UIDs (= clients redownloading mails),
you could simply delete dovecot-uidlist and dovecot.index* files and let
Dovecot reassign UIDs in the "correct" order.





More information about the dovecot mailing list