Have a look into the postfix manual how to setup virtual users. Even though it should be possible with real users as well, I recommend the way with virtual users. After doing the setup just open the virtual file and set an entry like
- Code: Select all
alert@mydomain.tld foo@bar.tld bar@foo.tld
after that use postmap to bring the file into a format postfix can handle.
that way is suitable if you want to forward the emails to external users and if you do not want to create the account of alert locally on your system.
But if you already have a local user alert then you could also use the aliases file (/usr/syno/mailstation/etc/aliases)
- Code: Select all
#internal delivery
alert: foo bar
#external delivery
alert: foo@bar.tld bar@foo.tld
don't forget to /usr/syno/mailstation/sbin/newaliases after every change you to in the aliases file