I'm on 3.21e, and I have just gotten 2 user reports that they could not register. Once said that they kept trying to set their password, but it would not accept it, no matter how complex (letters numbers and symbols). I monitored this activity to confirm it was so. That's where the user got frustrated and disconnected.
User 2 (me, actually) wanted to validate the issue so I created a Test User account to go through the process. When it got to e-mail address (netmail address, actually), it correctly refused my own e-mail address as a duplicate, but when I used another account hosted by the same domain, it accepted it until it got to e-mail validation, where it said that the e-mail address was invalid. The only options at that point were to enter another address or hangup. I obviously chose the later.
I've turned off HQ passwords in the meantime to try and at least let some users through, but that's not a real solution IMO.
I'm on 3.21e, and I have just gotten 2 user reports that they could not register. Once said that they kept trying to set their password, but it would not accept it, no matter how complex (letters numbers and symbols). I monitored this activity to confirm it was so. That's where the user got frustrated and disconnected.
User 2 (me, actually) wanted to validate the issue so I created a Test User account to go through the process. When it got to e-mail address (netmail address, actually), it correctly refused my own e-mail address as a duplicate, but when I used another account hosted by the same domain, it accepted it until it got to e-mail validation, where it said that the e-mail address was invalid. The only options at that point were to enter another address or hangup. I obviously chose the later.
I've turned off HQ passwords in the meantime to try and at least let some users through, but that's not a real solution IMO.
So my 2 questions are now:
1. What could be causing hq_passwords to reject a sufficient e-mail address that is 8 chracters, has letters numbers and symbols?
2. Is there a way to allow e-mail validation without havning to enable "Users can send internet e-mail"? I'm using e-mail validation solely to ensure my users are real people with accounts I could contaact if needed.
What's the terminal server log say about this interaction? Do you have additions to the password.can file?
Do you have Internet email enabled in SCFG->Networks->Internet?
Did it make any difference?
I just committed a change to emailval.js that'll do that: https://gitlab.s ynchro.net/main/sbbs/-/commit/bc4f969f2a47c7bdff1d79180e4ed0 --
Re: New user e-mail/password issues
By: Brian Davidson to Digital Man on Mon Aug 03 2026 12:13 pm
Ok, I need to take this back. By turning that setting off, I again caused the validation to not provide an opportunity to send a validation e-mail.
The only options users have is to change their e-mail address or hangup.
Ok, I need to take this back. By turning that setting off, I again caused
the validation to not provide an opportunity to send a validation e-mail.
Turn which setting off?
What version of exec/emailval.js are you using?
If you're using the latest, you should see this in there: if (netaddr_type(user.netmail) == NET_INTERNET || system.check_netmail_addr(user.netmail))
break;
alert("Sorry, that is an unsupported netmail address");
Also make sure you don't have another copy of emailval.js in your mods directory (or anywhere else).
Re: New user e-mail/password issues
By: Digital Man to Brian Davidson on Mon Aug 03 2026 05:20 pm
Ok, I need to take this back. By turning that setting off, I again caused
the validation to not provide an opportunity to send a validation e-mail.
Turn which setting off?
Neworks -> Internet -> Allow users to send netmail. That setting should not affect email validation - validation codes should still be able to be sent, just like password resets.
What version of exec/emailval.js are you using?
If you're using the latest, you should see this in there: if (netaddr_type(user.netmail) == NET_INTERNET || system.check_netmail_addr(user.netmail))
break;
alert("Sorry, that is an unsupported netmail address");
Here's my snippet, it matches:
if (netaddr_type(user.netmail) == NET_INTERNET || system. check_netmail_addr(user.netmail))
break;
alert("Sorry, that is an unsupported netmail address");
Also make sure you don't have another copy of emailval.js in your mods directory (or anywhere else).
No other copies of hte script exist in exe or mods.
My build is from master/bc4f969f2a, which was the newest when I built yesterday.
"Invalid NetMail address: user@some.where"
?
The second one isn't a fatal error - the user can still validate.
Correction: The second message was also a fatal error (would disable the [S]end code option
I just made a commit whereby you can set ctrl/modopts/emailval.ini check_netmail_addr = false to disable both of those checks in the script.
| Sysop: | Tetrazocine |
|---|---|
| Location: | Melbourne, VIC, Australia |
| Users: | 12 |
| Nodes: | 8 (0 / 8) |
| Uptime: | 212:15:30 |
| Calls: | 220 |
| Files: | 21,513 |
| Messages: | 83,655 |