• exec/sendmail.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thursday, February 16, 2023 22:13:00
    https://gitlab.synchro.net/main/sbbs/-/commit/8d6cc708e46578b0d814fb2c
    Modified Files:
    exec/sendmail.js
    Log Message:
    Updated to be suitable as a /usr/bin/mail[x] replacement too

    Migrated rcpt() to mailutil.js parse_mail_recipient()
    ---
    þ 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 Wednesday, March 29, 2023 16:52:12
    https://gitlab.synchro.net/main/sbbs/-/commit/f5d4c9bdb03f5a49ad142195
    Modified Files:
    exec/sendmail.js
    Log Message:
    Sanity-check the from_net_addr (SENDERNETADDR) and recipient list

    Anacron sends mail From: Anacron <root>, so deal (convert to root@youraddr).

    Also, gracefully handle a forgotten recipient list.
    ---
    þ 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 Friday, April 07, 2023 22:19:06
    https://gitlab.synchro.net/main/sbbs/-/commit/ab0a9995974a152b6eb16848
    Modified Files:
    exec/sendmail.js
    Log Message:
    Store other mail header types (e.g. content-transfer-endcoding) as RFC822HEADER

    Useful when debugging mail issues, e.g. with MIME-encoded mail
    ---
    þ 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 Saturday, February 21, 2026 20:58:56
    https://gitlab.synchro.net/main/sbbs/-/commit/8168f4d247a39a63cfe1b650
    Modified Files:
    exec/sendmail.js
    Log Message:
    Log to data/sendmail.log

    Not sure why this was logging to the temp_dir originally (probably just for debugging), but the data_dir makes more sense. And it was commented out for obvious reason.

    I don't think anyone uses this script but me, but if they do, they may want
    the logging optional. Speak up if that's you.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net