Frequently Asked Question

General: How to migrate Synology Mail Server to MailPlus Server?
Last Updated 8 years ago

Overview

Synology MailPlus Server provides a cost-effective mail server solution for small and medium businesses requring high level of security and stable performance.
You can start enjoying the new features of MailPlus Server by migrating your previous Synology Mail Server to the new package powered by Synology. This tutorial will guide you through the migration of your configuration and emails from your previous Mail Server pacakage, whether installed locally or remotely, to the new MailPlus Server package.


1. Before you start

  • Make sure your Synology NAS on which you wish to use MailPlus Server is running DSM 6.0 or later.
  • Set a static IP for the network interface on this Synology NAS. (See this article)

2. Migrate your mail system locally

  1. Go to DSM Main Menu > Package Center, and stop the Mail Server pacakge.
  2. Install and run the MailPlus Server package.
  3. After the installation is complete, go to Main Menu > MailPlus Server.
  4. Select the option of Create a new mail system by migrating data from previously installed Mail Server package, and click Next.
  5. Select This Synology NAS as the source from which you wish to migrate the data. To migrate all the emails to MailPlus Server, please tick the Migrate settings and all mails checkbox below.
  6. Note:

  • If you no longer need to retain the emails in your previous mail server after the migration, you can tick the Delete the mails in original Mail Server package checkbox.
  • In the Summary page, you can check the items to migrate from your previous mail server to MailPlus Server. Please click Next to start the migration.
  • MailPlus Server Setup Wizard now starts the migration to set up your new mail system. When the setup is complete, you can start navigating your new MailPlus Server.
  • 3. Migrate from the Mail Server running on another Synology NAS

    If you have already had a Synology Mail Server package running on another Synology NAS, you can follow the steps below (depending on the DSM version running on the remote Synology NAS) to migrate the remote Mail Server to your new MailPlus Server.

    3.1. Migrate from DSM 5.2

    1. On the remote Synology NAS, go to DSM Main Menu > Backup & Replication.
    2. In Backup Services > Network Backup Destination, tick the Enable network backup service checkbox, and click Apply.
    3. Go to the Synology NAS on which you have installed the new MailPlus Server package. Make sure the MailPlus Server package has been running after the installation.
    4. Go to Main Menu > MailPlus Server.
    5. Select the option of Create a new mail system by migrating data from previously installed Mail Server package, and click Next.
    6. Select The other Synology NAS as the source from which you wish to migrate the data, and enter the administrative credentials of that server. To migrate all the emails to MailPlus Server, please tick the Migrate settings and all mails checkbox below.
    7. Note:

    • If you no longer need to retain the emails in the remote mail server after the migration, you can tick the Delete the mails in original Mail Server package checkbox.
  • In the Summary page, you can check the items to migrate from the remote mail server to MailPlus Server. Please click Next to start the migration.
  • MailPlus Server Setup Wizard now starts the migration to set up your new mail system. When the setup is complete, you can start navigating your new MailPlus Server.

  • 3.2. Migrate from DSM 6.0

    1. On the remote Synology NAS, go to DSM Control Panel > File Services > rsync to tick the Enable rsync service checkbox, and click Apply.
    2. On your PC, use an SSH client to log in with the root privilege to the Synology NAS as the migration destination (See this tutorial) to generate the SSH root public key.
    3. Run "ssh-keygen".
      1. Press Enter when it shows "Enter file in which to save the key (/root/.ssh/id_rsa):".
      2. Press Enter when it shows "Enter passphrase (empty for no passphrase):".
      3. Press Enter when it shows "Enter same passphrase again:".
    4. Run "cat /root/.ssh/id_rsa.pub", and copy the generated SSH public key.
    5. You will have to make sure the permission settings of "700 /root/.ssh" and "600 /root/.ssh/id_rsa" comply with the SSH requirements lest the login via SSH (key auth) will fail.
      • Run "chmod 700 /root/.ssh", and run "ll /root" to check it shows the line beginning with "drw------".
        E.g. " drwx----- 1 root root 54 Mar 22 13:21 .ssh"
      • Run "chmod 600 /root/.ssh/id_rsa", and run "ll /root/.ssh/id_rsa" to check if it shows the line beginning with "-rw-------".
        E.g. " -rw------- 1 root root 1675 Mar 23 17:23 /root/.ssh/id_rsa"
    6. Log in with the root privilege to the remote Synology NAS via SSH.
    7. Run "echo" to import the copied SSH public key to "/root/.ssh/authorized_keys" on the remote Synology NAS.
    8. Make sure the permission setting of "700 /root/.ssh/authorized_keys" is normal.
    9. Log in with the root privilege again to the Synology NAS as the migration destination.
    10. Run "ssh root@[remote IP]" to check if the connection works normally.
    11. In your web browser, go to the Synology NAS on which you have installed the new MailPlus Server package. Make sure the MailPlus Server package has been running after the installation. For the remaining steps, please see steps 4 - 8 of the "3.1 Migration from DSM 5.2" section.





    ZGTLv160424

    Please Wait!

    Please wait... it will take a second!