Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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 (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. SSMTP officce 365 configuration

SSMTP officce 365 configuration

Scheduled Pinned Locked Moved Support
7 Posts 4 Posters 49.2k 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.
  • C
    C
    chillyw13
    wrote on last edited by
    #1

    Using Debian Jessie with SSMTP as my relay server.  Netxms 2.0.8 Web Management Console.  Testing the SMTP relay from command line my emails send just fine.  However I am not getting any emails from netxms.  Here are my settings:

    [email protected]
    SMTPFromName=Netxms Server
    SMTPRetryCount=1
    SMTPServer=127.0.0.1

    Is there something I have set wrong?

    1 Reply Last reply
    0
    • S
      S
      starkiller
      wrote on last edited by
      #2

      Usually you can just use the o365 relay server as long as the external IP the emails are originating from is on the allow list for your domain.

      1 Reply Last reply
      0
      • C
        C
        chillyw13
        wrote on last edited by
        #3

        So in other works you are saying I can use smtp.office365.com as my SMTPServer?  Do I also need to include the port?  e.g. smtp.office365.com:587

        1 Reply Last reply
        0
        • C
          C
          chillyw13
          wrote on last edited by
          #4

          Well, apparently there is more to this.  I have tried the following SMTPServer settings to no avail:

          localhost
          127.0.0.1
          smtp.office365.com
          smtp.office365.com:587
          mydomain-com.mail.protection.outlook.com
          mydomain-com.mail.protection.outlook.com:587

          Anyone?  Bueller?  Bueller?

          1 Reply Last reply
          0
          • J
            J
            Marco Incalcaterra
            wrote on last edited by
            #5

            @chillyw13 said in SSMTP officce 365 configuration:

            Well, apparently there is more to this.  I have tried the following SMTPServer settings to no avail:

            localhost
            127.0.0.1
            smtp.office365.com
            smtp.office365.com:587
            mydomain-com.mail.protection.outlook.com
            mydomain-com.mail.protection.outlook.com:587

            Anyone?  Bueller?  Bueller?

            If you specify localhost or 127.0.0.1 as address you should have a local SMTP server (installed on the same machine where NetXMS runs) to directly send the e-mails or to forward to the external server you want to use.
            If you need to specify the port you can use the parameter "SMTPPort" (edit server configuration and add it if doesn't exists). As per my memory you cannot specify username/password to authenticate user, so, the only way is to whitelist the IP of the NetXMS server and configure mail server to allow unauthenticated access from that IP or relay through another server.

            Useful post:
            https://www.netxms.org/forum/feature-requests/smtp-authentication/
            https://www.netxms.org/forum/configuration/custom-smtp-port-for-sending-emails/

            Regards,
            Marco

            1 Reply Last reply
            0
            • C
              C
              chillyw13
              wrote on last edited by
              #6

              I finally got it to work, however it is only sending me a couple of alerts for nodes down even though there are several due to machines being turned off at night (desktops).  Is there a configuration somewhere that I have to specify per node whether to send alerts or is there a global for this?

              1 Reply Last reply
              0
              • V
                V
                Victor Kirhenshtein
                wrote on last edited by
                #7

                All notifications controlled by your event processing policy. Make sure you have a rule for notifications on SYS_NODE_DOWN event without additional filtering on source node. If notification rule is correct, check that there were actually SYS_NODE_DOWN events for all nodes (you can tight click on node and choose "Event log" to see all events for that node).

                Best regards,
                Victor

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                Powered by NodeBB Contributors
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups