• exec/sendmail.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thu Feb 16 22:13:00 2023
    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 Wed Mar 29 16:52:12 2023
    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 Fri Apr 7 22:19:06 2023
    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 Sat Feb 21 20:58:56 2026
    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