How to add Multimple domains to your Synology Mailserver
juli 23, 2010 No CommentsThis Blogpost will help you to add multiple domainnames to your Synology Mailserver Mailstation. Using Multiple domains is not a feature that is available in the Webmanagement Tool, but possible using SSH and VI.
This Blogpost consists of 2 parts: enabling multiple domains and configuring your Roundcube webinterface.
(Don’t blame me for any mistakes, make use of this blogpost is your own responsibility
)
To apply multiple domainnames to your Synology mailserver you first have to install Synology Mailserver from the Synology download center: http://www.synology.com/support/download.php?lang=enu.
Part 1 – Configuring
Please activate SSH in your web management console. (Download Putty)
Start-up Putty and fill in your credentials, please use the root account.
When connected navigate to the mailstation directory using the commands:
cd.. /usr/syno/mailstation/etc
Start vi to edit the main.cf file.
vi main.cf
Navigate to the line beginning with (+/- nr 164) and edit the line using the command
i
Add your domainnames like:
mydestination = domain1.xxx, domain2.xxx, domain3.xxx
Exit the edit-mode using
ESC
Save and exit the main.cf file using
ZZ
or use
:wq
Your Synology is now configurated to handle multipe email domains! (Maybe you have to restart your Synology to confirm your settings.)
More information about using the VI-editor: http://www.washington.edu/computing/unix/vi.html
Last but not least, you have to configure your DNS-settings to recieve the email on your Synology and don’t forget to open the network porst on your firewall. (Synology portnumbers: http://www.synology.com/support/faq_show.php?lang=en&q_id=299)
Part 2 – Roundcube webinterface
The Roundcube webinterface let you add multiple identities, so you can send mail using all domains you’ve installed.
Please navigate to your Roundcube webinterface using the url: http://domain.xxx/mail.
(Maybe it’s nice to add a DNS record for your webmail, like webmail.domein.xx that redirects to your synology)
First step is to go to your settings panel and open the Identities tab. The Identities tab let you add multiple account and subscriptions.
Research, Technology









