Registration: some confirmation emails not sent?
-
Hello,
[NodeBB 0.9.3/master from today] Anyone here who also has the problem that some (only some) of the registration confirmation emails are not sent? In the mailserver logs I can see that NodeBB doesn't even try to send the mails. Other email addresses work fine. So about ~ 10% of all registrations can't be completed because the registration email is never sent.
GitHub issue: https://github.com/NodeBB/NodeBB/issues/4034
Can you maybe check whether you have ~ 10% pending registrations too, which can't be completed because the mails are not sent?
I have now disabled the requirement for email confimation, but I guess this is not a long-term solution.
-
Are they common providers like Gmail, Microsoft or Yahoo? (<- lol)
-
Hmm, I shall do some testing on my end, see if I can get anything. If its possible on your end try running
./nodebb dev
see if you can track a error from there regarding the emails. -
@Kowlin said:
If its possible on your end try running
./nodebb dev
see if you can track a error from there regarding the emails.It just shows:
8/1 16:10 [42934] - verbose: [emailer] Sending email to uid 1034 8/1 16:10 [42934] - verbose: [emailer] Sending email to uid 1030 …
when I click on Manage / Users / Send validation email. However, there's no incoming email on the local mail server.
-
Problem identified and fixed: it was the
direct
transport, which is not a good choice (should besendmail
orsmtp
instead). See https://github.com/NodeBB/NodeBB/issues/4034#issuecomment-170894390 -
@Pappmann https://github.com/NodeBB/NodeBB/blob/v0.9.x/src/emailer.js
For a quick hack, just change the second
'direct'
to'sendmail'
in line 17.For a real patch, change the name in the array, too (rename the first
direct
tosendmail
), and then change it in line 118, too.