Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Tech
  3. SMTP server with self signed certificate

SMTP server with self signed certificate

Scheduled Pinned Locked Moved Tech
6 Posts 4 Posters 14 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    Guest
    wrote on last edited by
    #1

    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

    ? ? ? ? 4 Replies Last reply
    0
    • ? Guest

      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

      ? Offline
      ? Offline
      Guest
      wrote on last edited by
      #2

      found no solution to this. Ended up generating an externally generated certificate for the e-mail server.

      1 Reply Last reply
      0
      • ? Guest

        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

        ? Offline
        ? Offline
        Guest
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • ? Guest

          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

          ? Offline
          ? Offline
          Guest
          wrote on last edited by
          #4

          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.

          ? 1 Reply Last reply
          0
          • ? Guest

            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.

            ? Offline
            ? Offline
            Guest
            wrote on last edited by
            #5

            @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.

            1 Reply Last reply
            0
            • ? Guest

              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

              ? Offline
              ? Offline
              Guest
              wrote on last edited by
              #6

              Hi, 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

              62dc7918-6e24-4072-997d-252b30eb9d15-image.png

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups