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.
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.
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.
Re: postmsg.js no longer workingmessage look like (assuming it gets created)?
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
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...
Run sbbsecho manually, from a command prompt, and look for an output linethat contains:
"NetMail msg #4019 from ..."been exported.
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
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."-fNigel Reed" mail
jsexec postmsg.js -i/sbbs/tmp/mail.out -d -tfilefix -n316:36/1 -sxxx
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.
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.
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
Nope.
Also just ran sbbsecho with no options. Nothing about 4019.
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 87:07:41 |
Calls: | 2,069 |
Calls today: | 2 |
Files: | 11,134 |
Messages: | 946,741 |