@MoJo Ah yeah it looks like you've run into this bug: https://github.com/NodeBB/NodeBB/issues/8515
You'll need to cherry-pick the referenced commit to fix it in your install.
Hi everyone,
I'm trying to get nodebb-plugin-emailer-local-bobo to work with our organization's SMTP server, which has a self signed certificate.
I'm sending a newsletter to test and this is what I get in the logs:
20/2 02:46 [28703] - warn: [emailer.smtp] Unable to send newsletter
email to uid 1!!
20/2 02:46 [28703] - error: [plugins] filter:email.send, DEPTH_ZERO_SELF_SIGNED_CERT
20/2 02:46 [28703] - info: [Newsletter] Finished email loop with error value: Error: DEPTH_ZERO_SELF_SIGNED_CERT
According to this:
https://github.com/nodemailer/nodemailer/issues/314
I should be able to set
tls: {rejectUnauthorized: false},
somewhere in a config... but I'm new to nodebb and I'm at a loss as to where to look for such stuff outside the admin interface.
Any pointers will be more than welcome!
Cheers and congratulations for nodebb, great work.
--
NicoEchániz
AlterMundi.net
found no solution to this. Ended up generating an externally generated certificate for the e-mail server.
I am in the same boat. I use a self signed certificate for outgoing mail and NodeBB is not allowing me to send any mails.
I have no good solution for this email problem but a solution of "self signed certificate" will be http://letsencrypt.org.
You can get a SSL certificate in quick and easy.
Here is related discusstion.
@qgp9 Well, I am in a situation here. I was testing things on a VPS and I created letsencrypt certificates multiple times. When things didn't work out as required I reinstalled the VPS , thereby losing the private keys. Now, I cannot issue any more certificates for my domain.