• exec/postmsg.js

    From rswindell@VERT to CVS commit on Monday, November 06, 2017 19:18:27
    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 Tuesday, March 13, 2018 23:04:28
    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 Monday, June 25, 2018 13:28:53
    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 Wednesday, September 25, 2019 20:40:13
    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 Monday, January 20, 2020 23:27:35
    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 Tuesday, January 21, 2020 10:11:27
    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 Monday, March 30, 2020 01:31:14
    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