Can't edit nodebb-plugin-emailer-local settings
@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
@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
resetemail 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
Merged. I don't know why I didn't notice the notification for this. Thanks!