Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Correct SMTP Settings for O365 w/ pfSense

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 5 Posters 4.1k Views
    Loading More Posts
    • 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.
    • S
      StarsAndBars
      last edited by

      Anyone else using Office 365 for their (Exchange) email and have it configured for SMTP notifications from pfSense?

      I have tried the settings to authenticate, and I can't seem to get it to work.

      Any assistance would be greatly appreciated!

      Thanks,

      -Rob

      1 Reply Last reply Reply Quote 0
      • A
        arduino
        last edited by

        smtp.office365.com
        587
        Do not enable any SSL options

        User: yourname@domain.com
        Password: yourpassword

        Auth: Login

        1 Reply Last reply Reply Quote 1
        • S
          SteveITS Galactic Empire
          last edited by

          https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-office-3
          If you are only sending notifications to your own domain you can use option 2 and just use your MX with no credentials (i.e. it looks just like any other inbound email).

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote ๐Ÿ‘ helpful posts!

          1 Reply Last reply Reply Quote 0
          • rrochaR
            rrocha
            last edited by

            Use APP PASSWORD; Only send to corporate domain
            _mascarado.png

            A 1 Reply Last reply Reply Quote 2
            • A
              Adrianoebm @rrocha
              last edited by

              @rrocha 8b1182c8-c5fd-4259-a376-3a0ddb500d8c-image.png

              I got this error.

              S 1 Reply Last reply Reply Quote 0
              • S
                SteveITS Galactic Empire @Adrianoebm
                last edited by

                @adrianoebm See that link I posted above, https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-office-3. Microsoft has turned off SMTP AUTH (option 1 on the page) for new accounts and those with Security Defaults enabled.

                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                Upvote ๐Ÿ‘ helpful posts!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.