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/08/01 23:34] – [Group] Mention running SCFG as the same user that sbbs runs as 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 1: Line 1:
 ====== UNIX ====== ====== UNIX ======
  
-Configuration of Synchronet for use on Unix/Linux systems.+Configuration of ''[UNIX]'' section of the Synchronet initialization file (e.g. ''[[dir:ctrl]]/[[config:sbbs.ini]]'').
  
-===== sbbs.ini ===== +===== User/Group ===== 
- +If you are **not** [[howto:linux_non-root|starting sbbs as ''root'']], then you should **not** set these values.
-Unix/Linux Sysops will particularly want to pay attention to the ''[UNIX]'' section of your Synchronet initialization file (e.g. ''[[dir:ctrl]]/[[config:sbbs.ini]]'').+
  
 ==== User ==== ==== User ====
Line 35: Line 34:
      
   # su -c /sbbs/exec/scfg sbbs     # su -c /sbbs/exec/scfg sbbs  
 +
 +===== Logging =====
 ==== LogFacility ====  ==== LogFacility ==== 
  
Line 104: Line 105:
  
 This is the value passed as the ''ident'' argument to the system's ''openlog'' function. Run ''man openlog'' for more details on this setting. This is the value passed as the ''ident'' argument to the system's ''openlog'' function. Run ''man openlog'' for more details on this setting.
 +
 +===== Process Control ===== 
  
 ==== 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 132: 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 138: Line 160:
  
  
-{{tag>unix syslog sbbs.ini}}+{{tag>configuration unix operating_system sendmail email}}