SMTP server with self signed certificate
-
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_CERTAccording to this:
https://github.com/nodemailer/nodemailer/issues/314I 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 -
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_CERTAccording to this:
https://github.com/nodemailer/nodemailer/issues/314I 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 -
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_CERTAccording to this:
https://github.com/nodemailer/nodemailer/issues/314I 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 -
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_CERTAccording to this:
https://github.com/nodemailer/nodemailer/issues/314I 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.netI 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.
https://community.letsencrypt.org/t/use-on-non-web-servers/425/9
From this discussion, the letsencrypt can be used for POP, IMAP, SMTP beyond HTTPS. -
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.
https://community.letsencrypt.org/t/use-on-non-web-servers/425/9
From this discussion, the letsencrypt can be used for POP, IMAP, SMTP beyond HTTPS.@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.
-
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_CERTAccording to this:
https://github.com/nodemailer/nodemailer/issues/314I 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.netHi, I can not setup my smtp email account in NodeBB instance. I checked email credentials in third party apps and it works fine. I suppose it is due to NodeMailer and I can not find place to turn it off tls : { rejectUnauthorized: false } as it said in stackoverflow article. My image is ghcr.io/nodebb/nodebb:latest
-
S support@community.nodebb.org shared this topic