• exec/init-fidonet.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thursday, October 24, 2024 12:14:19
    https://gitlab.synchro.net/main/sbbs/-/commit/cd75c5fe3fc2f38c4d07cf3e
    Modified Files:
    exec/init-fidonet.js
    Log Message:
    Pass the ctrl directory on the SCFG command-line

    Fixes issue were jsexec was used to invoke this script and a ctrl dir (different than the contents of the SBBSCTRL env var) was passed on the command-line (i.e. testing purpose). Use the correct ctrl directory.

    Create the data/text directory if it doesn't already exist. This dir
    is normally created whenever SBBS is run, so it should normally already
    exist, but if someone runs this script via jsexec before (ever) running
    sbbs, then it's possible the data/text directory does not yet exist.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Monday, November 04, 2024 17:33:00
    https://gitlab.synchro.net/main/sbbs/-/commit/803ef7605c568b2d115d84e1
    Modified Files:
    exec/init-fidonet.js
    Log Message:
    Address sysops sending emails to net-coordinators w/invalid reply-to address

    Issue raised by Dumas Walker (CAPCITY2) on DOVE-Net: apparently some new
    sysops run this script before their configured hostname (e.g. mybbs.synchro.net) is valid or their mail server has been tested (can successfully receive Internet e-mail).

    This attempts to address this concern by:
    1. displaying a warning that it's important that the address given is valid
    2. attempt to validate that the host portion of the provided address is valid
    (has a DNS address record or MX record)

    Uses dns.js for MX-record lookup - thanks Deuce!

    This script does not validate that the email host can actually receive mail
    or that the name portion of the mail address is valid: that would require an outbound connection to the host's TCP port 25, which may be blocked by ISPs
    (if remote) or if its a local server (e.g. the same machine as the BBS), that wouldn't confirm that its reachable by Internet hosts. And not all mail
    servers support the necessary SMTP commands to validate recipient addresses.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net