postfix/dovecot migration
Moving postfix and dovecot to a new server including all current users and emails. There exists several dovecot files in each user mail directory:
dovecot.index dovecot.index.cache dovecot.index.log dovecot-keywords dovecot.list.index.log dovecot.mailbox.log dovecot-uidlist dovecot-uidvalidity dovecot-uidvalidity.612d3d34
Should these files be migrated also or will dovecot recreate them as needed?
Thank you, Bryan
On 13/05/2026 20:31 EEST Bryan Simmons via dovecot <dovecot@dovecot.org> wrote:
Moving postfix and dovecot to a new server including all current users and emails. There exists several dovecot files in each user mail directory:
dovecot.index dovecot.index.cache dovecot.index.log dovecot-keywords dovecot.list.index.log dovecot.mailbox.log dovecot-uidlist dovecot-uidvalidity dovecot-uidvalidity.612d3d34
Should these files be migrated also or will dovecot recreate them as needed?
Thank you, Bryan
https://doc.dovecot.org/2.4.4/core/admin/migration.html#migrating-mailboxes
I would recommend seeing this. Depending on your mailbox format, it can be important that those files are copied, but I would suggest doveadm/imap based migration.
Aki
participants (2)
-
Aki Tuomi
-
Bryan Simmons