Synchronet v3.21e-Win32 (install) has been released (Mar-2026).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
config:nix [2020/09/15 16:41] – Don't [Unix] User/Group settings unless you have to digital manconfig:nix [2026/02/21 21:15] (current) – Include instructions for how to integrate your UNIX mail system with Synchronet using sendmail.js digital man
Line 110: Line 110:
 ==== PidFile ==== ==== PidFile ====
  
-Default: ''/var/run/sbbs.pid''+Default: ''sbbs.pid''
  
-This key contains the path of the file which will contain the process identifier (PID) of Synchronet and is used by background/daemon startup scripts to query the current state of ''sbbs''.+This key contains the path of the file which will contain the process identifier (PID) of Synchronet and may be used by background/daemon startup scripts to query the current state of ''sbbs''. When no path is specified, the file (e.g. ''sbbs.pid'') will be created in the Synchronet ''[[dir:ctrl]]'' directory.
  
   # service sbbs status   # service sbbs status
Line 135: Line 135:
  
 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 =====
Line 141: Line 160:
  
  
-{{tag>unix syslog sbbs.ini}}+{{tag>configuration unix operating_system sendmail email}}