added support for synology DS-209+

some commands are not available on the DS-209+ (mktemp) or at other
locations (ssh, rsync). Let the script automatically determine the
paths. Also, change the check for available mailing options