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

    SMTP Email notifications fail in 4 out of 27 pfSenses

    Scheduled Pinned Locked Moved General pfSense Questions
    19 Posts 6 Posters 1.6k Views 6 Watching
    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.
    • bmeeksB Offline
      bmeeks
      last edited by bmeeks

      1. Are those "sender email addresses" properly configured on the Office 365 side? 2. Are you using the same email on all 27 firewalls, or are they different among the firewalls?
      2. Are the 27 firewalls configured the same in terms of packages? If using something like pfBlocker or an IDS/IPS package, are the downloaded and active IP lists and rules exactly the same across the 27 firewalls?
      3. Make sure the time is correct on all the firewalls. A bad time/date on a firewall could cause issues with validating certs.

      And what is the exact error message you are getting back in return? If you can see the admin side of the Office365 account, have a look in there to see if the mail connection attempt is being rejected for some reason.

      pfrickrollP 1 Reply Last reply Reply Quote 0
      • S Offline
        serbus
        last edited by

        Hello!

        Check your "SMTP" server address...

        "smpt.office365.com" ?

        John

        Lex parsimoniae

        GertjanG 1 Reply Last reply Reply Quote 1
        • GertjanG Offline
          Gertjan @serbus
          last edited by

          Did I just heard that head slapping ?

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 3
          • bmeeksB Offline
            bmeeks
            last edited by

            You heard a slap against my forehead as well. I completely missed that typo when I reviewed the OP's screen capture the first time.

            johnpozJ 1 Reply Last reply Reply Quote 0
            • johnpozJ Offline
              johnpoz LAYER 8 Global Moderator @bmeeks
              last edited by

              doh.gif

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              • pfrickrollP Offline
                pfrickroll @bmeeks
                last edited by

                @bmeeks All firewalls have same configuration for SMTP but only 4 receive that particular error as shown in my screenshot. I have correct time on firewalls.

                I am kind of new to Office365, I looked around in admin center in message center, mail flow and alerts but didn't find anything unusual and no trace of emails from those 4 firewalls. Where do I have to look specifically?

                bmeeksB johnpozJ 2 Replies Last reply Reply Quote 0
                • bmeeksB Offline
                  bmeeks @pfrickroll
                  last edited by

                  @pfrickroll said in SMTP Email notifications fail in 4 out of 27 pfSenses:

                  @bmeeks All firewalls have same configuration for SMTP but only 4 receive that particular error as shown in my screenshot. I have correct time on firewalls.

                  I am kind of new to Office365, I looked around in admin center in message center, mail flow and alerts but didn't find anything unusual and no trace of emails from those 4 firewalls. Where do I have to look specifically?

                  Did you see the other replies in this thread? I failed to notice that you have misspelled the email server name. You typed "smpt" instead of "smtp" in the email host. Fix that and see if it then works.

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ Offline
                    johnpoz LAYER 8 Global Moderator @pfrickroll
                    last edited by

                    @pfrickroll said in SMTP Email notifications fail in 4 out of 27 pfSenses:

                    Where do I have to look specifically?

                    smtp.png

                    No your never going to connect there.. Because its not smpt is its SMTP..

                    You have the wrong address..

                    typo.png

                    Which is why its DOH!!

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    1 Reply Last reply Reply Quote 0
                    • bmeeksB Offline
                      bmeeks
                      last edited by bmeeks

                      Like @johnpoz is saying, the error is on your pfSense firewalls (likely all 4 of them that are not working). Notice in your screen shot you posted in your original message that you have the Email Server name spelled wrong. You have "smpt.office365.com" and it should instead read "smtp.office365.com". You have the "t" and "p" backwards in the name.

                      johnpozJ 1 Reply Last reply Reply Quote 1
                      • johnpozJ Offline
                        johnpoz LAYER 8 Global Moderator @bmeeks
                        last edited by johnpoz

                        I blame it on MS, they should clearly allow for both smtp and smpt ;) to account for their userbase ;) hehehehe

                        Are not fqdn like nukes - you should just have to be close is all ;)

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                        pfrickrollP 1 Reply Last reply Reply Quote 2
                        • pfrickrollP Offline
                          pfrickroll
                          last edited by

                          Oh my goodness, my eyes. Such a dumb mistake

                          johnpozJ bmeeksB 2 Replies Last reply Reply Quote 0
                          • johnpozJ Offline
                            johnpoz LAYER 8 Global Moderator @pfrickroll
                            last edited by

                            ie the whole DOH joke ;)

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.8, 24.11

                            1 Reply Last reply Reply Quote 0
                            • pfrickrollP Offline
                              pfrickroll @johnpoz
                              last edited by

                              @johnpoz I think forums needs emoji reactions :)

                              1 Reply Last reply Reply Quote 0
                              • bmeeksB Offline
                                bmeeks @pfrickroll
                                last edited by

                                @pfrickroll said in SMTP Email notifications fail in 4 out of 27 pfSenses:

                                Oh my goodness, my eyes. Such a dumb mistake

                                Don't feel too bad. I didn't notice the typo either when I replied initially.

                                pfrickrollP johnpozJ 2 Replies Last reply Reply Quote 0
                                • pfrickrollP Offline
                                  pfrickroll @bmeeks
                                  last edited by

                                  @bmeeks

                                  Serbus even wrote it out for me, i read it like "doh" i know. Tell me something else, i feed dumb

                                  1 Reply Last reply Reply Quote 0
                                  • johnpozJ Offline
                                    johnpoz LAYER 8 Global Moderator @bmeeks
                                    last edited by johnpoz

                                    We should submit a bug request to MS about it ;)

                                    they should prob register smpt.office356.com etc.. and all the other possible typo scenarios ;) hehehe

                                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                                    If you get confused: Listen to the Music Play
                                    Please don't Chat/PM me for help, unless mod related
                                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                                    S 1 Reply Last reply Reply Quote 1
                                    • S Offline
                                      SteveITS Rebel Alliance @johnpoz
                                      last edited by

                                      @johnpoz said in SMTP Email notifications fail in 4 out of 27 pfSenses:

                                      prob register smpt.office356.com

                                      https://www.bleepingcomputer.com/news/security/hijacking-traffic-to-microsoft-s-windowscom-with-bitflipping/

                                      "However, what if one of these bits got automatically flipped due to a solar flare, cosmic rays, or a hardware error? That is one of the 0's becomes a 1 and vice versa.
                                      ...
                                      as soon as Remy squatted the aforementioned domains and setup sinkholes to record any traffic, the researcher noticed an uptick in legitimate traffic coming his way.

                                      In addition to the traffic destined to windows.com, the researcher was also able to captured UDP traffic destined for Microsoft's time server, time.windows.com, and TCP traffic meant to reach Microsoft's services such as Windows Push Notification Services (WNS) and SkyDrive (former name of OneDrive)."

                                      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 reboot, or more depending on packages, and device or disk speed.
                                      Upvote 👍 helpful posts!

                                      johnpozJ 1 Reply Last reply Reply Quote 0
                                      • johnpozJ Offline
                                        johnpoz LAYER 8 Global Moderator @SteveITS
                                        last edited by

                                        @steveits

                                        Yeah had seen the bitflipping and ntp article - somewhat relatable sure to such typo domains ;)

                                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                                        If you get confused: Listen to the Music Play
                                        Please don't Chat/PM me for help, unless mod related
                                        SG-4860 24.11 | Lab VMs 2.8, 24.11

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