• Gandalf Corvotempesta via dovecot [2024-04-10 21:07]:
Guys, any help?
What you describe is exactly what I have been doing since ... forever....
- reduce TTL
- setup new server
- rsync
- stop ALL mail services on old server (also anything which might be doing deliveries, this is important), kill client connections, if any
- rsync again
- update DNS
- start mail service on new server
- verify
- increase TTL
You mention multiple rsyncs, I wouldn't bother...
Also, what would happen if the new server has a different hostname ?
You'd get new filenames in Maildir, and this is it.
Il giorno dom 10 mar 2024 alle ore 14:28 Gandalf Corvotempesta gandalf.corvotempesta@gmail.com ha scritto:
Hi guys I have to migrate around 10k mailboxes from dovecot 2.13 to (i think) the same version but on a different server.
I have to reduce as much as possible the inconveniences to the users, at least in this (temporary) phase.
What do you suggest to move everything ? Same config, same maildir location and rsync everything ?
Better ideas ? i've thought to use the exact same config on both servers, then start multiple rsync to sync as much as possible and when ready, drop the old dovecot in the old server, rsync the latest changes, and then move the dns pointment from the old ip to the new one.
But what about the MUA downloading emails ? I think this would be safe...or there is a chance that some MUA would re-download everything ? This would be unacceptable.
thank you
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org