• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

repeating a migration - what happens to emails?

finbarr69

Basic Pleskian
Hi all,

If I migrate a client/domain from one server to a new one (on a different IP address), and due to DNS propagation delays, some emails still arrive on the old server after the migration, can I re-run the migration (emails only) and expect it to merge the new emails in from the old server with any new ones that arrived on the new server?

If not, what is the best way to migrate and ensure that no emails go adrift?

TIA

Brian
 
Brian, you can just run an rsync on the mail folder from the old server to the new server. The folder it self is:

/var/qmail/mailnames/
 
Just a quick note, ensure to include the -a option to rsync to preserve the permissions and ownership. I forgot initially and found emails stopped arriving because the transferred files became owned by root instead of popuser. oops.
 
Yes,

rsync -az --progress --size-only /var/qmail/mailnames/ * yournewserver.com:/var/qmail/mailnames/
 
Back
Top