• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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