• postmsg.js no longer working

    From Nelgin@VERT/EOTLBBS to DOVE-Net.Synchronet_Discussion on Saturday, January 18, 2020 06:09:46
    I have a perl script that creates areafix and filefix messages and then
    sends them, however I don't see them going out. There's nothing logged in sbbsecho.log like there is when sending via the board.

    jsexec postmsg.js -i/sbbs/tmp/mail.out -d -tfilefix -n316:36/1 -sxxx "-fNigel Reed" mail

    mail.out simply contains something like

    %LINKED
    %UNLINKED

    This worked a few months ago and nothing has changed with the script. Not
    sure what else it could be other than a bug somewhere.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From Gamgee@VERT to Nelgin on Saturday, January 18, 2020 08:28:00
    Nelgin wrote to DOVE-Net.Synchronet_Discussion <=-

    I have a perl script that creates areafix and filefix messages
    and then sends them, however I don't see them going out. There's
    nothing logged in sbbsecho.log like there is when sending via the
    board.

    jsexec postmsg.js -i/sbbs/tmp/mail.out -d -tfilefix -n316:36/1
    -sxxx "-fNigel Reed" mail

    mail.out simply contains something like

    %LINKED
    %UNLINKED

    This worked a few months ago and nothing has changed with the
    script. Not sure what else it could be other than a bug
    somewhere.

    Only thing I can see that might be it is the "/" in the netmail
    address. Maybe that's being interpreted as an 'escape' or
    something, might try putting that whole thing in quotes like
    "-n316:36/1". Also there's no point in having the "-d" since you
    are specifying a to/from/subject...



    ... All hope abandon, ye who enter messages here.
    === MultiMail/Linux v0.52
    --- SBBSecho 3.10-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (1:123/115)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Nelgin on Saturday, January 18, 2020 22:07:44
    Re: postmsg.js no longer working
    By: Nelgin to DOVE-Net.Synchronet_Discussion on Sat Jan 18 2020 06:09 am

    I have a perl script that creates areafix and filefix messages and then sends them, however I don't see them going out. There's nothing logged in sbbsecho.log like there is when sending via the board.

    jsexec postmsg.js -i/sbbs/tmp/mail.out -d -tfilefix -n316:36/1 -sxxx "-fNigel Reed" mail

    mail.out simply contains something like

    %LINKED
    %UNLINKED

    This worked a few months ago and nothing has changed with the script. Not sure what else it could be other than a bug somewhere.

    Did you look at the mail base after your script runs? What's the created message look like (assuming it gets created)?

    digital man

    This Is Spinal Tap quote #35:
    Jeanine Pettibone: You don't do heavy metal in Dubly, you know.
    Norco, CA WX: 56.7øF, 29.0% humidity, 1 mph WSW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nelgin@VERT/EOTLBBS to Gamgee on Sunday, January 19, 2020 03:32:26
    Gamgee wrote:
    Nelgin wrote to DOVE-Net.Synchronet_Discussion <=-

    I have a perl script that creates areafix and filefix messages
    and then sends them, however I don't see them going out. There's
    nothing logged in sbbsecho.log like there is when sending via the
    board.

    jsexec postmsg.js -i/sbbs/tmp/mail.out -d -tfilefix -n316:36/1
    -sxxx "-fNigel Reed" mail

    mail.out simply contains something like

    %LINKED
    %UNLINKED

    This worked a few months ago and nothing has changed with the
    script. Not sure what else it could be other than a bug
    somewhere.

    Only thing I can see that might be it is the "/" in the netmail
    address. Maybe that's being interpreted as an 'escape' or
    something, might try putting that whole thing in quotes like
    "-n316:36/1". Also there's no point in having the "-d" since you
    are specifying a to/from/subject...

    Did you read down as far as the bit that said "This worked a few months ago
    and nothing has changed with the script". So why would a / make any
    difference all of a sudden?

    Maybe on the -d but unless something changed to stop it working, then it
    should still just work.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From Nelgin@VERT/EOTLBBS to Digital Man on Sunday, January 19, 2020 03:41:56
    Digital wrote:
    Re: postmsg.js no longer working
    By: Nelgin to DOVE-Net.Synchronet_Discussion on Sat Jan 18 2020 06:09 am

    I have a perl script that creates areafix and filefix messages and then
    sends them, however I don't see them going out. There's nothing logged in
    sbbsecho.log like there is when sending via the board.

    jsexec postmsg.js -i/sbbs/tmp/mail.out -d -tfilefix -n316:36/1 -sxxx
    "-fNigel Reed" mail

    mail.out simply contains something like

    %LINKED
    %UNLINKED

    This worked a few months ago and nothing has changed with the script. Not
    sure what else it could be other than a bug somewhere.

    Did you look at the mail base after your script runs? What's the created message look like (assuming it gets created)?

    Not sure what you want me to look at exactly, but let's go with smbutil v on the header.

    index record 296
    number 4019
    subject "xxx"
    to areafix (FidoNet: 316:36/1) #0
    from "Nigel Reed" #0
    when_written Sun Jan 19 03:36:48 2020 UTC-6:00
    when_imported Sun Jan 19 03:36:48 2020 UTC-6:00
    type 0000h
    version 0121h
    attr 0000h
    auxattr 00000000h
    netattr 00000000h
    thread_id 4019
    header offset 00AB20h
    header length 233
    calculated length 233
    To "areafix"
    ToExt "0"
    ToNetAddr "3C 01 24 00 01 00 00 00"
    ToNetType "02 00"
    Subject "xxx"
    Sender "Nigel Reed"
    SenderExt "0"
    Message-ID "<5E242330.4019@endofthelinebbs.com>"
    X-FTN-PID "Synchronet 3.17c-Linux Dec 17 2019 GCC 5.4.0"
    data offset 00CC00h
    data field[0] TEXT_BODY, offset 0, length 9


    If there's anything else you need, let me know. I did try to initiate the fidoout event but still nothing went out.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From Digital Man@VERT to Nelgin on Sunday, January 19, 2020 12:24:23
    Re: Re: postmsg.js no longer working
    By: Nelgin to Digital Man on Sun Jan 19 2020 03:41 am

    Digital wrote:
    Re: postmsg.js no longer working
    By: Nelgin to DOVE-Net.Synchronet_Discussion on Sat Jan 18 2020 06:09 am

    I have a perl script that creates areafix and filefix messages and then
    sends them, however I don't see them going out. There's nothing logged in
    sbbsecho.log like there is when sending via the board.

    jsexec postmsg.js -i/sbbs/tmp/mail.out -d -tfilefix -n316:36/1 -sxxx
    "-fNigel Reed" mail

    mail.out simply contains something like

    %LINKED
    %UNLINKED

    This worked a few months ago and nothing has changed with the script. Not
    sure what else it could be other than a bug somewhere.

    Did you look at the mail base after your script runs? What's the created message look like (assuming it gets created)?

    Not sure what you want me to look at exactly, but let's go with smbutil v on the header.

    index record 296
    number 4019
    subject "xxx"
    to areafix (FidoNet: 316:36/1) #0
    from "Nigel Reed" #0
    when_written Sun Jan 19 03:36:48 2020 UTC-6:00
    when_imported Sun Jan 19 03:36:48 2020 UTC-6:00
    type 0000h
    version 0121h
    attr 0000h
    auxattr 00000000h
    netattr 00000000h
    thread_id 4019
    header offset 00AB20h
    header length 233
    calculated length 233
    To "areafix"
    ToExt "0"
    ToNetAddr "3C 01 24 00 01 00 00 00"
    ToNetType "02 00"
    Subject "xxx"
    Sender "Nigel Reed"
    SenderExt "0"
    Message-ID "<5E242330.4019@endofthelinebbs.com>"
    X-FTN-PID "Synchronet 3.17c-Linux Dec 17 2019 GCC 5.4.0"
    data offset 00CC00h
    data field[0] TEXT_BODY, offset 0, length 9


    If there's anything else you need, let me know. I did try to initiate the fidoout event but still nothing went out.

    Run sbbsecho manually, from a command prompt, and look for an output line that contains:
    "NetMail msg #4019 from ..."

    This line should be printed after "Exporting Outbound NetMail from"

    These lines are not written to sbbsecho.log

    Anyway, the output from sbbsecho should explain why that message has not been exported.

    digital man

    This Is Spinal Tap quote #16:
    David St. Hubbins: I believe virtually everything I read...
    Norco, CA WX: 75.7øF, 19.0% humidity, 1 mph ESE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nelgin@VERT/EOTLBBS to Digital Man on Sunday, January 19, 2020 19:09:16
    Digital wrote:
    Run sbbsecho manually, from a command prompt, and look for an output line that contains:
    "NetMail msg #4019 from ..."

    This line should be printed after "Exporting Outbound NetMail from"

    These lines are not written to sbbsecho.log

    Anyway, the output from sbbsecho should explain why that message has not been exported.

    bbs@bbs:/sbbs/exec$ sbbsecho -ni|grep 4019
    bbs@bbs:/sbbs/exec$

    Nope.
    Also just ran sbbsecho with no options. Nothing about 4019.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From Rampage@VERT/SESTAR to Nelgin on Monday, January 20, 2020 07:34:41
    Re: Re: postmsg.js no longer working
    By: Nelgin to Digital Man on Sun Jan 19 2020 19:09:16


    This line should be printed after "Exporting Outbound NetMail from"

    These lines are not written to sbbsecho.log

    Anyway, the output from sbbsecho should explain why that message has not been exported.

    bbs@bbs:/sbbs/exec$ sbbsecho -ni | grep 4019

    NOTE: breaking the accidental pipe color code in the above line for readability...

    Nope.
    Also just ran sbbsecho with no options. Nothing about 4019.

    errrmmm... the next free message number may not be 4019... perhaps you should grep for "Exporting Outbound NetMail" and see what turns up?

    sbbsecho -ni | egrep -e "Exporting Outbound NetMail "


    )\/(ark

    ---
    þ Synchronet þ The SouthEast Star Mail HUB - SESTAR
  • From Digital Man@VERT to Nelgin on Monday, January 20, 2020 14:36:55
    Re: Re: postmsg.js no longer working
    By: Nelgin to Digital Man on Sun Jan 19 2020 07:09 pm

    Digital wrote:
    Run sbbsecho manually, from a command prompt, and look for an output line that contains:
    "NetMail msg #4019 from ..."

    This line should be printed after "Exporting Outbound NetMail from"

    These lines are not written to sbbsecho.log

    Anyway, the output from sbbsecho should explain why that message has not been exported.

    bbs@bbs:/sbbs/exec$ sbbsecho -ni|grep 4019
    bbs@bbs:/sbbs/exec$

    Nope.
    Also just ran sbbsecho with no options. Nothing about 4019.

    Was the string "Exporting Outbound NetMail" present in the output?

    What is the output from the following smbutil command?

    $ smbutil x4019 -1 /sbbs/data/mail

    Does chksmb report any issue with your mail base?

    digital man

    Synchronet "Real Fact" #67:
    SEXYZ is as a 32-bit replacement for [F]DSZ, CE-XYZ and other protocol drivers. Norco, CA WX: 58.9øF, 69.0% humidity, 8 mph ENE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nelgin@VERT/EOTLBBS to Nelgin on Tuesday, January 21, 2020 04:50:14
    Nelgin wrote:
    I have a perl script that creates areafix and filefix messages and then sends them, however I don't see them going out. There's nothing logged in sbbsecho.log like there is when sending via the board.

    jsexec postmsg.js -i/sbbs/tmp/mail.out -d -tfilefix -n316:36/1 -sxxx "-fNigel Reed" mail

    mail.out simply contains something like

    %LINKED
    %UNLINKED

    This worked a few months ago and nothing has changed with the script. Not sure what else it could be other than a bug somewhere.


    For anyone following along, this is resolved. As I said, I didn't change anything and wasted a lot of time trying to figure this out.

    I reverted back to version 1.3 of postmsg.js (which I probably should have
    done sooner) and everything worked as it should. It was broken by a change
    in September, I think it was. Anyone using postmsg.js since then will
    probably find none of their messages went out and no record of them ever
    being created.

    DM put in a fix and I can report it's working again.

    Moral of this story - If you upgrade, regression test everything because you may not find out for a few months that something is broken.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com