Switching to Different Mail Server Application in Plesk

You can use the PMM mail migration functionality to temporarily back up mail content on an individual client account basis on the local Plesk server. This can be useful if you want to switch to a different mail server application. After all e-mail data have been backed up, you can switch Plesk to a new mail server application and restore all backed-up e-mail settings and content on the new mail server.

To switch to a different mail server application in Plesk, follow these steps for each client account in Plesk:

  1. Back up the mail content stored on the Plesk mail server by running the doclientmailbackup.vbs script found in the <Plesk_dir>/PMM directory using the following command:

    doclientmailbackup.vbs /host:<host name> /client:<client login name> /dumpfolder:<dumpfolder> /login:<login> /password:<password>

    where <dumpfolder> is the path to the directory where the mail content backup files for each client will be stored.

    For example, the script execution command may look like this:

    doclientmailbackup.vbs /host:127.0.0.1 /client:maildomains /dumpfolder:c:\mail_backup /login:admin /password:pwd

    Note: To read the on-screen help on using the doclientmailbackup.vbs or doclientmailrestore.vbs script, run the script omitting command line parameters.

  2. Switch to a new mail server in Plesk. (For more information on this step, consult Plesk Administrator's Guide.
  3. Restore the backed-up mail content, ran the doclientmailrestore.vbs found in the <Plesk_dir>\PMM folder using the following command:

    doclientmailrestore.vbs /client:<client login name> /dumpfolder:<dumpfolder>

    For example, the script execution command may look like this:

    doclientmailrestore.vbs /client:maildomains /dumpfolder:c:\mail_backup

As result of this procedure, mail content for the client accounts is stored on the new mail server.

Note: Delete the mail backup files once you no longer need them.