As I experienced considerable problems with the configuration of the mail functionality on my DS209+ii, finally reverting to the fetchmail solution, I have drafted this graphical "how to". This "how to" doesn"t claim to be perfect or workable for your specific situation. I have noted the configuartion that worked for me.
I'am still confronted with 2 issues:
a. running the fetchmail script at boottime. Meaning that the script is automatically loaded when NAS reboots. (has been solved)
b. running the script as another user then root.
a. I have tried the code below but the fetchmail process is not listed when I list the running processes.
To start fetchmail automatically everytime your nas starts:
copy and rename the file /opt/etc/init.d/S52fetchmail to /usr/syno/etc/rc.d/S52fetchmail.sh
I have also tried putting the script at the following locations:
but without success
the scripts has the following permissions:
-rwxr-xr-x 1 root root 579 Jun 19 17:24 S52fetchmail.sh
Anyone an idea?