Goeiedag,
Ik ben op mijn synology een catch all script ingevoerd:
If you have your own domain running and want to be able
to use any alias you want in your e-mail adresses (*@mydomainrunningatthesynology.com)
and forward it to 1 / your account, continue with the following steps
Since 4.1 the MailServer Package is setup different, add /update it using the Package Center.
First of all install the package Config File Editor (Package Center)
Settings / Package Sources / name merty Location:
http://packages.mertymade.comRefresh Available and install.
Open Config File Editor, choose the file on the bottom, Config File Editor
add the following lines:
/var/packages/MailServer/target/etc/template/main.template , mailserver_main_tpl
/volume1/@appstore/MailServer/etc/virtual, MailServer_virt
--Save--
in the listing your added lines should appear, if not close and reopen the editor.
open MailServer_main_tpl
add the following line: ( after adding pres return/next line )
virtual_alias_maps = hash:/volume1/@appstore/MailServer/etc/virtual
--Save--
open MailServer_virt
enter your domain(s) + the local synology user to receive all mail sent to this domain:
@mydomainrunningatthesynology.com yourlocalsynologyloginname
--Save--
Reboot your mailserver, at reboot content from the template is copied to the active mailserver
config
Then some steps not with the webinterface but from the command-line
login using ssh/telnet (be sure it is actvated on the Synology (Control Panel / Terminal)
using a mac, open terminal, then
ssh root@x.x.x.x (local ip-adress of synology), enter your password (equal to admin)
enter the next line to configure postfix: (without the ")
"/volume1/@appstore/MailServer/sbin/postmap /volume1/@appstore/MailServer/etc/virtual"
then stop and start postfix:
/volume1/@appstore/MailServer/sbin/postfix stop
/volume1/@appstore/MailServer/sbin/postfix start
--exit--
Then test your config if you are receiving all mail adressen to your domain.
Be Aware, Since 4.1 there are more parts to configure using the web interface
Enabling or disabling the SPAM filter also edits the mailserver config!
if you have do this be sure to enter the last three ssh/telnet commands again!!
Hierbij een catch-all script gevonden op internet hiermee laat je mail binnen komen waarvan geen allias bekend is hebt u hulp nodig kunt u me een prive bericht sturen.
Robin