| Both sides previous revisionPrevious revision | |
| config:nix [2023/02/12 20:17] – [PidFile] Update the default value and description. digital man | config:nix [2026/02/21 21:15] (current) – Include instructions for how to integrate your UNIX mail system with Synchronet using sendmail.js digital man |
|---|
| |
| When set to ''true'', forces ''sbbs'' to run daemonized (in the background) without specifying the ''-d'' command-line option. Setting this value to ''true'' is not recommended. | When set to ''true'', forces ''sbbs'' to run daemonized (in the background) without specifying the ''-d'' command-line option. Setting this value to ''true'' is not recommended. |
| | |
| | ===== Email ===== |
| | |
| | Synchronet's mail base and mail server can be used as your UNIX system's email system, if you wish. |
| | |
| | ==== sendmail.js ==== |
| | |
| | The Synchronet ''[[module:sendmail]]'' module can be used as a suitable replace for: |
| | * /usr/sbin/sendmail |
| | * /usr/bin/mail |
| | * /usr/bin/mailx |
| | |
| | This is achieved by making symbolic links (e.g. using ''ln -s'') from those locations to the Synchronet ''[[dir:exec]]/sendmail.js'' file. For example: |
| | |
| | lrwxrwxrwx 1 root root 37 Feb 13 2023 /usr/bin/mail -> /home/sbbs/sbbs/exec/sendmail.js |
| | lrwxrwxrwx 1 root root 37 Feb 12 2023 /usr/sbin/sendmail -> /home/sbbs/sbbs/exec/sendmail.js |
| | |
| | This works because the ''sendmail.js'' has a "shebang" that auto-invokes [[util:jsexec]]. That shebang has the path ''/sbbs/exec/jsexec'' hard-coded in it (as is the UNIX way), so you may need a symlink from ''/sbbs'' to wherever the proper 'sbbs' location is for that to work as expected: |
| | #!/sbbs/exec/jsexec -x |
| |
| ===== See Also ===== | ===== See Also ===== |
| |
| |
| {{tag>configuration unix operating_system}} | {{tag>configuration unix operating_system sendmail email}} |