src/sbbs3 atcodes.cpp 1.68 1.69 getmsg.cpp 1.52 1.53
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv11364
Modified Files:
atcodes.cpp getmsg.cpp
Log Message:
Change TO_NET and FROM_NET @-code logic and revert last change to show_msghdr()
- it actually *is* an expected condition that a to_net.addr or from_net.addr msg header field is populated with a valid address (string) even though the to_net.type or from_net.type value is NET_NONE.
The nntpservice.js and newslink.js modules rely on this behavior to display and export local NNTP-posters' email addresses in message headers, but still be
able to identify newslink-imported messages as *not* local (the from_net.type =
NET_INTERNET) and thus not export them back to the network.
This was not the original intention behind these header fields in SMB, but it was retrofitted to support this condition 10+ years ago and I forgot.
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net
I applied this commit and NNTP Reader is able to post messages. Doing
so now for additional testing.
I am still getting the follow error when a script is attempting to
create email. I'll include that code below the error.
!JavaScript /sbbs/mods/create_new_user.js line 269: Error: Error -110 adding SENDERNETADDR field to message header
I have been using the file: create_new_user.js by Michael J. Ryan of roughnecks for years. It's worked every well until recently.. it
stopped working sometime since the 3rd of Dec. as that is the last time
a new user message was sent to me. I compile from cvs at least once a week.. sometimes daily.
If this file is out of date and needs updated.. I would greatly
appreciate a fix for it.. I like the way this works...
This is the code/function that generates that error:
var hdr = {
from:system.name,
from_net_addr:"sysop"+system.inetaddr,
> This is the code/function that generates that error:
> var hdr = {
> from:system.name,
> from_net_addr:"sysop"+system.inetaddr,
Changing that "sysop" to "sysop@" should fix it. Without that, I don't know how
users would have been able to reply to the email if they wanted to. Looks like
a valid bug in the script which just wasn't caught by the older sbbs code. Let
me know how that works,
Yes! That fixed it and all I had to do was add one character!
Outstanding!!
The New User never really needed to reply to that message.. it just sent them their password and a brief note so they could login.. but even if someone tried to reply only 1 user out of 10 would bother to report the error.. I've learned that it's easier to herd cats than it is to get feedback from the average user.
Thanks!
Sysop: | Ragnarok |
---|---|
Location: | Dock Sud, Bs As, Argentina |
Users: | 136 |
Nodes: | 10 (0 / 10) |
Uptime: | 08:16:20 |
Calls: | 15,171 |
Calls today: | 4 |
Files: | 19,857 |
D/L today: |
9 files (848K bytes) |
Messages: | 1,691,493 |