How to add aliases to mail server accounts
From SynologyWiki
Using MailStation 20090911-015, you can configure RoundCube webmail client with additional indentities. RoundCube is just a mail-client (not a mail-server). Therefor these additional identities only work for sending mails, but not for receiving mails. If you want to receive mails by different identities than your DiskStation account, you have to modify a small part of the mail-server.
Please be sure to read the General Disclaimer before executing these modifications!
Command Line Interface access is required for this modification. You will need Basic commands for Synology CLI and Basic commands for Linux vi Editor.
After login to CLI change directory to MailStation:
> cd /usr/syno/mailstation/etc > dir |
aliases is the responsible file for valid email recipients.
Before modifying, be aware to backup your original file:
> cp aliases backupName > dir |
Start the editor:
> vi aliases |
and lookout for # Put your local aliases here.
After that label fill in as much entries as you like, in the following syntax:
funny.admin: admin workaholic: admin poorguy: myaccount |
Save your edited file and actualize your mail-server name database
> ./../bin/newaliases |
(dot-slash-dot-dot-slash-bin…)
Done! :-)
Enjoy your additional identities
