Hello Digital Man,
When I send a netmail I see a JavaScript error. It's not fatal, my netmail still goes where it needs to go but a bit of JavaScript stumbling maybe.
Wed Aug 01 2018 02:53 pm trmb.synchro.net
term Node 1 Al !JavaScript /sbbs/exec/email_sec.js line 65: TypeError: addr_li st.indexOf is not a function
Also when I attach a file to a netmail (by answering yes to the attach file question) and upload it and it all looks like it has been uploaded fine but the attached file doesn't get placed in the data/fido/0001 (just an example, I have forgotten the directory now) so the netmail doesn't get sent. Once I place the attached file in that directory and run my FIDOOUT event the netmail and file do go as expected to it's destination.
I tried this, and it worked for me:
\sbbs\data\file\0001.out:
10/27/2010 11:54 PM 21,404 test.jpg
And I recieved the message (Internet email) with the attached file. So if there's any more detail you can provide, that would be appreciated.
Re: Netmail
By: Digital Man to Al on Wed Aug 01 2018 04:16 pm
I tried this, and it worked for me:
\sbbs\data\file\0001.out:
10/27/2010 11:54 PM 21,404 test.jpg
And I recieved the message (Internet email) with the attached file. So if there's any more detail you can provide, that would be appreciated.
In my case I am trying to attach a file to an FTN netmail. I just entered a new message addressed to a point here. When I was entering the message I answered yes to the attach a file question. After I saved my message I uploaded the file to attach, successfully as far as I could see. This is the log while I was online to the BBS..
Aug 1 19:17:21 trmb synchronet: term Node 1 Al Executing external: /sbbs/exec/ sexyz 57 -RLogin rz /sbbs/data/file/0001.out/gamenet.zip
Aug 1 19:17:21 trmb synchronet: term Node 1 Al Locking input thread mutex Aug 1 19:17:22 trmb synchronet: term Node 1 Al Node 1 executing external: /sbb s/exec/sexyz 57 -RLogin rz /sbbs/data/file/0001.out/gamenet.zip
Aug 1 19:17:22 trmb synchronet: term Node 1 Al
Aug 1 19:17:22 trmb synchronet: term Node 1 Al Synchronet External X/Y/ZMODEM
v2.5-Linux Copyright 2018 Rob Swindell
Aug 1 19:17:22 trmb synchronet: term Node 1 Al
Aug 1 19:17:22 trmb synchronet: term Node 1 Al Output buffer size: 16384 Aug 1 19:17:23 trmb synchronet: term Node 1 Al !Receive timeout (0 seconds) Aug 1 19:17:24 trmb synchronet: term 0074 SSH dbg 'Received disconnect message : <No details available>' (-41) setting session active from bbs_thread
Aug 1 19:17:24 trmb synchronet: term Node 1 Al !Receive timeout (0 seconds) Aug 1 19:17:25 trmb synchronet: term Node 1 Al !Receive timeout (0 seconds) Aug 1 19:17:28 trmb last message repeated 3 times
Aug 1 19:17:28 trmb synchronet: term Node 1 Al !recv_init: Received 0 instead of ZFILE or ZFIN
Aug 1 19:17:28 trmb synchronet: term Node 1 Al 0057 !ERROR 22 setting socket o ption (IPV6_V6ONLY, 26) to 1
Aug 1 19:17:28 trmb synchronet: term Node 1 Al Z 11696 115200 bps 11696 cps
0 errors 0 1024 /sbbs/data/file/0001.out/gamenet.zip -1
This is the sbbsecho.log when the fidoout event ran..
08-01-18 19:24:04 Packing NetMail (1.msg) from Alan Ianson (1:153/757) to Alan Ianson (1:153/757.1), attr: 0391, subject: /sbbs/data/file/0001.out/gamenet.zip 08-01-18 19:24:04 ERROR line 843, attachment file not found: /sbbs/data/file/0001.out/gamenet.zip
As the error says there were no files or directories in /sbbs/data/file so I created the 0001.out directory and placed the file, gamenet.zip in there and touched data/fidoout.now..
08-01-18 19:25:49 Packing NetMail (1.msg) from Alan Ianson (1:153/757) to Alan Ianson (1:153/757.1), attr: 0391, subject: /sbbs/data/file/0001.out/gamenet.zip 08-01-18 19:25:49 File (/sbbs/data/file/0001.out/gamenet.zip, 7.3KB) for 1:153/ 757.1 added to BSO/FLO file: /sbbs/fido/outbound/009902f5.pnt/00000001.hlo
I forgot to commit a required change to userprops.js, now commited. Thanks!
I'm not sure what's happening in your case. It sounds like something is deleting the 0001.out directory - before the netmail is being packed/sent?
08-01-18 19:25:49 Packing NetMail (1.msg) from Alan Ianson (1:153/757) to Alan Ianson (1:153/757.1), attr: 0391, subject: /sbbs/data/file/0001.out/gamenet.zip 08-01-18 19:25:49 File (/sbbs/data/file/0001.out/gamenet.zip, 7.3KB) for 1:153/ 757.1 added to BSO/FLO file: /sbbs/fido/outbound/009902f5.pnt/00000001.hlo
I It did send the netmail and file to 757.1 once the file was there.
Re: Netmail
By: Digital Man to Al on Wed Aug 01 2018 03:35 pm
I forgot to commit a required change to userprops.js, now commited. Thanks!
I can now use my arrow keys to get a list of the last ??? addresses.. Nice.. :)
Re: Netmail
By: Digital Man to Al on Wed Aug 01 2018 09:55 pm
I'm not sure what's happening in your case. It sounds like something is deleting the 0001.out directory - before the netmail is being packed/sent?
I think so, but I don't know why. I had a look in the data/file directory and the 0001.out directory was still there from earlier today. I tried to send another message with a file attachment and I looked for the 0001.out directory while still in the editor but it was gone at that point. I don't know why..
Can you upload a unique filename and then search your file system for that filename once the upload has finished?
I have disabled the fidoin and fidoout events and entered a new netmail with a file attach and the 0001.out directory was created in data/file and the file placed in there, but there doesn't seem to be a *.msg in the /sbbs/netmail directory.. ??
Re: Netmail
By: Digital Man to Al on Thu Aug 02 2018 03:44 am
Can you upload a unique filename and then search your file system for that filename once the upload has finished?
Yep, I just sent a netmail with a file attached..
Aug 2 04:22:21 trmb synchronet: term Node 1 Al parsed net type of 'Alan Ianson @1:153/757.1' is Fidonet
Aug 2 04:22:49 trmb synchronet: term Node 1 Al Executing external: ?slyedit /s bbs/node1/MSGTMP ICE
Aug 2 04:23:39 trmb synchronet: term Node 1 Al Executing external: /sbbs/exec/ sexyz 62 -RLogin rz /sbbs/data/file/0001.out/g3gwdm2.zip
Aug 2 04:23:39 trmb synchronet: term Node 1 Al Locking input thread mutex Aug 2 04:23:40 trmb synchronet: term Node 1 Al Node 1 executing external: /sbb s/exec/sexyz 62 -RLogin rz /sbbs/data/file/0001.out/g3gwdm2.zip
Aug 2 04:23:40 trmb synchronet: term Node 1 Al
Aug 2 04:23:40 trmb synchronet: term Node 1 Al Synchronet External X/Y/ZMODEM
v2.5-Linux Copyright 2018 Rob Swindell
Aug 2 04:23:40 trmb synchronet: term Node 1 Al
Aug 2 04:23:40 trmb synchronet: term Node 1 Al Output buffer size: 16384 Aug 2 04:23:41 trmb synchronet: term Node 1 Al !Receive timeout (0 seconds) Aug 2 04:23:51 trmb last message repeated 10 times
Aug 2 04:23:51 trmb synchronet: term Node 1 Al !recv_header TIMEOUT
Aug 2 04:23:52 trmb synchronet: term Node 1 Al !Receive timeout (0 seconds) Aug 2 04:24:02 trmb last message repeated 10 times
Aug 2 04:24:02 trmb synchronet: term Node 1 Al !recv_header TIMEOUT
Aug 2 04:24:03 trmb synchronet: term Node 1 Al !Receive timeout (0 seconds) Aug 2 04:24:13 trmb last message repeated 10 times
Aug 2 04:24:13 trmb synchronet: term Node 1 Al !recv_header TIMEOUT
Aug 2 04:24:14 trmb synchronet: term Node 1 Al !Receive timeout (0 seconds) Aug 2 04:24:24 trmb last message repeated 10 times
Aug 2 04:24:24 trmb synchronet: term Node 1 Al !recv_header TIMEOUT
Aug 2 04:24:25 trmb synchronet: term Node 1 Al !Receive timeout (0 seconds) Aug 2 04:24:35 trmb last message repeated 10 times
Aug 2 04:24:35 trmb synchronet: term Node 1 Al !recv_header TIMEOUT
Aug 2 04:24:36 trmb synchronet: term Node 1 Al !Receive timeout (0 seconds) Aug 2 04:24:37 trmb synchronet: term Node 1 Al !Receive timeout (0 seconds) Aug 2 04:24:38 trmb synchronet: term Node 1 Al !Receive timeout (0 seconds) Aug 2 04:24:46 trmb last message repeated 8 times
Aug 2 04:24:46 trmb synchronet: term Node 1 Al !recv_header TIMEOUT
Aug 2 04:24:47 trmb synchronet: term Node 1 Al !Receive timeout (0 seconds) Aug 2 04:24:49 trmb last message repeated 2 times
Aug 2 04:24:50 trmb synchronet: term Node 1 Al !recv_init: Received 0 instead of ZFILE or ZFIN
Aug 2 04:24:50 trmb synchronet: term Node 1 Al !Received 4 instead of ZDATA fr ame
Aug 2 04:24:52 trmb synchronet: term Node 1 Al Z 30734726 115200 bps 15367363 cps 0 errors 0 1024 /sbbs/data/file/0001.out/g3gwdm2.zip -1
Aug 2 04:24:52 trmb synchronet: term Node 1 Al Node 1 NetMail subject: /sbbs/d ata/file/0001.out/g3gwdm2.zip
Aug 2 04:24:50 trmb last message repeated 5 times
Aug 2 04:24:52 trmb synchronet: term Node 1 Al Al sent NetMail file attachment
to Alan Ianson (1:153/757.1)
So the log output isn't really helping at this point. Perhaps stop SBBSecho from running and see if that's what is deleting the file attachment?
Re: Netmail
By: Digital Man to Al on Thu Aug 02 2018 04:41 pm
So the log output isn't really helping at this point. Perhaps stop SBBSecho from running and see if that's what is deleting the file attachment?
I have disabled the fidoin and fidoout events and entered a new netmail with a file attach and the 0001.out directory was created in data/file and the file placed in there, but there doesn't seem to be a *.msg in the /sbbs/netmail directory.. ??
Re: Netmail
By: Al to Digital Man on Thu Aug 02 2018 09:08 pm
I have disabled the fidoin and fidoout events and entered a new netmail with a file attach and the 0001.out directory was created in data/file and the file placed in there, but there doesn't seem to be a *.msg in the /sbbs/netmail directory.. ??
I have turned the fidoin and fidoout events back on and the *.msg appears in /sbbs/netmail but now the 0001.out folder is gone!
So I see now: SBBSecho here couldn't delete file attachments because of a permissions issue, so I didn't see this problem - SBBSecho shouldn't be deleting the file attachments at all. So that's now fixed. Sorry about that,
Re: Netmail
By: Digital Man to Al on Thu Aug 02 2018 11:50 pm
So I see now: SBBSecho here couldn't delete file attachments because of a permissions issue, so I didn't see this problem - SBBSecho shouldn't be deleting the file attachments at all. So that's now fixed. Sorry about that,
No need to apologize and that for the update. It works fine now.. :)
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 28 |
Nodes: | 8 (0 / 8) |
Uptime: | 190:27:38 |
Calls: | 2,005 |
Calls today: | 2 |
Files: | 11,114 |
Messages: | 942,285 |