Mail Server
You can turn your Synology DiskStation into a mail server, allowing Synology DiskStation users to receive and deliver mail messages.
Before you start:
- Please register a domain name with your IP, or apply for a dynamic domain name. Please refer to the help of DDNS regarding to the registration.
- When applying for a domain name or dynamic domain name, please fill the MX (Mail eXchanger) record of mail domain with your mail server (that is FQDN of Synology DiskStation). For example, if the mail server is mail.synology.com, then fill the MX record with mail.synology.com.
- Enable the User Home service at Main Menu > Control Panel > User. Users' mails including received and sent ones will be stored in their home directory; therefore, users will not deliver or receive mails without the User Home service being enabled.
- You should follow the table below to confirm and set up port forwarding if NAT is required.
Protocols |
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 Mail Server and restore it to a previous version via Backup & Replication.
To back up Mail Server:
- Go to Backup & Replication > Backup to create a backup task.
- Follow the Backup Wizard, and choose Mail Server when you are prompted to select applications to back up.
- After the backup task is complete, the settings of SMTP, IMAP/POP3, Security, Alias, Auto BCC, and Report will be backed up.
To restore Mail Server:
- Go to Backup & Replication > Restore to restore the desired backup task.
- After the restore task is complete, the current settings of Mail Server will be overwritten.
Note:
- The backup and restore functions currently support Mail Server 1.4-0270 (or later) with DSM 5.1 (or later).