• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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