You can use Synchronet as your native UNIX mail system so that UNIX system components (e.g. crond, apt, security) will send e-mail notifications to the system administrator (you) as user #1 on your BBS using your Synchronet mail system.
Install
Create the following symbolic links to the Synchronet sendmail script:
$ ls -l /usr/bin/mail lrwxrwxrwx 1 root root 37 Feb 13 15:44 /usr/bin/mail -> /sbbs/exec/sendmail.js $ ls -l /usr/sbin/sendmail lrwxrwxrwx 1 root root 37 Feb 12 22:27 /usr/sbin/sendmail -> /sbbs/exec/sendmail.js
The Synchronet sendmail script contains a “shebang” that will invoke exec/jsexec
to execute sendmail.js
. In turn, sendmail.js
will determine its personality (e.g. which command-line arguments it will recognize: sendmail or mail/mailx) based on which symlink was used to invoke it.