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

Next revision
Previous revision
install:nix:mail [2023/02/25 19:58] – created digital maninstall:nix:mail [2026/03/05 23:09] (current) – My system actually sends me mail via usr/sbin/sendmail, so include that link again (with update-alternatives example) digital man
Line 7: Line 7:
 Create the following symbolic links to the Synchronet [[module:sendmail]] script: Create the following symbolic links to the Synchronet [[module:sendmail]] script:
  
-  $ ls -l /usr/bin/mail +  $ ls -l /usr/sbin/*mail 
-  lrwxrwxrwx 1 root root 37 Feb 13 15:44 /usr/bin/mail -> /sbbs/exec/sendmail.js +  lrwxrwxrwx 1 root root    26 Mar  5 23:03 /usr/sbin/sendmail -> /sbbs/exec/sendmail.js 
-  $ ls -l /usr/sbin/sendmail  +  $ ls -l /usr/bin/mail* 
-  lrwxrwxrwx 1 root root 37 Feb 12 22:27 /usr/sbin/sendmail -> /sbbs/exec/sendmail.js+  lrwxrwxrwx 1 root root    37 Feb 13 15:44 /usr/bin/mail -> /sbbs/exec/sendmail.js 
 +  lrwxrwxrwx 1 root root    37 Feb 13 15:44 /usr/bin/mailx -> /sbbs/exec/sendmail.js 
 + 
 +==== Linux ==== 
 + 
 +These symlinks may be installed automatically (and double-redirected via ''/etc/alternatives/*'' symlinks) using the Linux ''update-alternatives'' utility: 
 +  $ sudo update-alternatives --install /usr/bin/mailx mailx /sbbs/exec/sendmail.js 100 --slave /usr/bin/mail mail /sbbs/exec/sendmail.js --slave /usr/sbin/sendmail sendmail /sbbs/exec/sendmail.js
  
 The Synchronet [[module:sendmail]] script contains a "shebang" that will invoke ''[[dir:exec]]/[[util: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. The Synchronet [[module:sendmail]] script contains a "shebang" that will invoke ''[[dir:exec]]/[[util: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.