• exec/postmsg.js

    From rswindell@VERT to CVS commit on Mon Nov 6 19:18:27 2017
    exec postmsg.js NONE 1.1
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv6126

    Added Files:
    postmsg.js
    Log Message:
    New script (e.g. to be used with JSexec) for the purpose of automated posting to message sub-boards - a preferred alternative to using "smbutil i".
    The script closely mimics smbutil with an important distinction: To import a file for the message body text, use the '-i<filename>' option. Otherwise, stdin will be read for the message body.
    Like smbutil, if the -t, -f, -s, or -d options aren't specified, one or more required header values (to, from, subject) may be prompted for.

    The main advantage here is that JSexec knows enough detail about the system configuration to generate valid/unique Message-IDs for the newly created messages (unlike smbutil). Message-IDs are critical for message tracing and dupe-detection on networked message subs. Please use this script to post
    (in lieu of smbutil) automated messages to networked subs.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Mar 13 23:04:28 2018
    exec postmsg.js 1.1 1.2
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv26420

    Modified Files:
    postmsg.js
    Log Message:
    Allow sub-code value of 'mail'

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Jun 25 13:28:53 2018
    exec postmsg.js 1.2 1.3
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv18391

    Modified Files:
    postmsg.js
    Log Message:
    Clarify that 'mail' is a supported msgbase code.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Sep 25 20:40:13 2019
    exec postmsg.js 1.3 1.4
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv15565

    Modified Files:
    postmsg.js
    Log Message:
    Look-up 'to' and 'from' user numbers automatically if not specified on the command-line (the 'to' is only looked-up for the 'mail' base).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Jan 20 23:27:35 2020
    exec postmsg.js 1.4 1.5
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv23286

    Modified Files:
    postmsg.js
    Log Message:
    Fix bug introduced in previous commit as reported by Nelgin:
    to and from extension header fields were being set (for the mail base) even when the to or from name was not a valid local user name (thus an extension value of "0" was being stored in the header) - causing netmail imported with postmsg.js to never get exported.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Jan 21 10:11:27 2020
    exec postmsg.js 1.5 1.6
    Update of /cvsroot/sbbs/exec
    In directory cvs:/home/rswindell/sbbs/exec

    Modified Files:
    postmsg.js
    Log Message:
    Don't set the to_ext field if there's a destination netmail address
    specified on the command-line (-n option). This also would have fixed
    Nelgin's issue with this script.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Mar 30 01:31:14 2020
    exec postmsg.js 1.6 1.7
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv12451

    Modified Files:
    postmsg.js
    Log Message:
    Some wording changes, no functional change.

    ---
    þ 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 Sep 14 17:16:55 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/67501aa425f0880152142f1a
    Modified Files:
    exec/postmsg.js
    Log Message:
    Add -F option to set file request attribute flag

    to force SBBSecho to create a .req file (in FLO-mode), rather than send as netmail.

    For Keyop
    ---
    þ 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 Mar 29 14:35:39 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/a3c4488545c43363e4093dd6
    Modified Files:
    exec/postmsg.js
    Log Message:
    Add -D and -T options to allow setting message date (or date *and* time)

    Examples:
    "-D02/29/25"
    "-T02 Feb 1996 03:04:05 GMT"
    "-TDecember 17, 1995 03:24:00"
    "-T1995-12-17T03:24:00"

    The system's configured time zone is always used however.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net