@baris Nope, we're not. I'll check it out.
Can't edit nodebb-plugin-emailer-local settings
-
@SPHINX please give nodebb-plugin-emailer-nodemailer a try instead
-
@julian said:
nodebb-plugin-emailer-nodemailer
If I try: npm install nodebb-plugin-emailer-nodemailer
I get: npm ERR! 404 'nodebb-plugin-emailer-nodemailer' is not in the npm registry.
-
@SPHINX Ah, nevermind, seems that plugin doesn't exist anymore... can you try installing @psychobunny's fork via npm install again?
-
@julian Tried again, still get the same error for his fork:
npm install --verbose git://github.com/psychobunny/nodebb-plugin-emailer-local
...
npm verb lock git://github.com/psychobunny/nodebb-plugin-emailer-local /root/.npm/686ec736-unny-nodebb-plugin-emailer-local.lock
npm verb addRemoteGit [ 'git://github.com/psychobunny/nodebb-plugin-emailer-local',
npm verb addRemoteGit 'master' ] -
Hold on, might have found something on my end...
Yes, firewall blocking the git port. Fixing... -
Could you try using
git+https://github.com/psychobunny/nodebb-plugin-emailer-local
instead, perhaps? -
@julian Perfect. That will do it. Installed. Now testing...
-
Settings page now visible for emailer local.
Still waiting for an email to make it through to confirm things are working. -
No sign of any emails making it out of NodeBB.
I am using exim4 (locally obviously). Sending from a shell prompt using the 'mail' command works fine, so I have to assume it works.
Best way to debug NodeBB issues?
-
Right, so from the log:
warn: [emailer.smtp] Unable to send
reset
email to uid 2!! -
Debugging complete. Found the following error: 503 AUTH command used when not advertised
So to hack a fix, I had to comment out the 'auth' portion of the nodemailerTransport config object in index.js (lines 24-27).
Long route to get there, but emails are now working.
Thanks for your help. Hopefully things are smoother with the next stable release.
I should probably fork and do a nicer fix for others to use. Will add to my todo list. -
If anyone else needs the (nicer) fix, here it is:
npm install git+https://github.com/SPHINX--/nodebb-plugin-emailer-local
-
@SPHINX Thanks! I've opened up a pull request back to @psychobunny's repository.
https://github.com/psychobunny/nodebb-plugin-emailer-local/pull/1
-
Merged. I don't know why I didn't notice the notification for this. Thanks!