Synology Mail Server

You can turn your Synology NAS into a mail server, allowing users to receive and deliver email messages.

Before You Start

  • Register a domain name with your IP address.
  • Fill in the MX (mail exchanger) record with the domain used by your mail server (that is the FQDN of your Synology NAS). For example, if the domain name is mail.synology.com, then fill the MX record with mail.synology.com.
  • Enable the User Home service at DSM Control Panel > User & Group > Advanced. Users' emails including received and sent ones are stored in their home directory; therefore, users cannot deliver or receive emails without the User Home service enabled.
  • Check the table below to confirm and set up port forwarding if NAT is required:
    Protocol SMTP POP3 IMAP IMAPS POP3S
    Port 25 110 143 993 995
    Note IMAPS: IMAP over SSL/TLS
    POP3S: POP3 over SSL/TLS

Back up and Restore

You can back up Synology Mail Server and restore it to a previous version via Hyper Backup.

To back up system configurations:

  1. Go to Hyper Backup > Create > Data backup task.
  2. Follow the wizard, and choose Synology Mail Server when you are prompted to select an application to back up.
  3. Once the task is complete, the settings of SMTP, IMAP/POP3, Security, Alias, Auto BCC, and Report will be backed up.

To back up emails:

  1. Go to DSM Control Panel > File Services > Advanced > Shared Folder Sync on the source Synology NAS.
  2. Create a sync task for the "homes" shared folder (see instructions).
  3. When the sync is complete, you will have all the emails on the destination Synology NAS.

To restore Synology Mail Server:

  1. Go to Hyper Backup > Restore > Data to restore the desired backup version (see instructions).
  2. Once the restore task is complete, the current settings of Synology Mail Server will be overwritten.

Note:

  • The backup and restore service can work with Synology Mail Server 1.4-0270 (or later) running on DSM 5.1 (or later).
Before You Start
Back up and Restore