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

    Is your email notification working?

    Scheduled Pinned Locked Moved General pfSense Questions
    24 Posts 7 Posters 6.7k 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.
    • J Offline
      JohnnyBeGood
      last edited by

      @hda:

      Dunno. Maybe in header info from the SSL ?
      I won't test… Try smtps again after test with 25 and/or 587 ?

      But, smtps 465 seems a depriciated method. Go for 587 if you must avoid 25.

      Changed to port 587 and now I'm getting:

      
      Feb 25 16:59:32 php-fpm[5995]: /system_advanced_notifications.php: Could not send the message to myusername@gmail.com -- Error: could not connect to the host "smtp.gmail.com": ?? 
      
      

      I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

      1 Reply Last reply Reply Quote 0
      • K Offline
        kejianshi
        last edited by

        Change back and try the solution in the link I sent previously.

        1 Reply Last reply Reply Quote 0
        • H Offline
          hda
          last edited by

          The better supported receiver method is just port 25 with or without STARTTLS

          1 Reply Last reply Reply Quote 0
          • K Offline
            kejianshi
            last edited by

            Sending on port 25 may probably be a ISP nightmare depending on who you ISP is.

            1 Reply Last reply Reply Quote 0
            • H Offline
              hda
              last edited by

              Oh, then the best method for the future is submission, 587  :D

              1 Reply Last reply Reply Quote 0
              • K Offline
                kejianshi
                last edited by

                perhaps, but mine is set up same as his with no problems.  Quite odd.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  deltix
                  last edited by

                  Usually when I install new piece of hardware that supports email notifications I create for that specific customer new gmail account for notifications use only. Many times I need to do this to get it working properly

                  https://support.google.com/accounts/answer/6010255?hl=en

                  It's more reliable to use port 587 then 465. Many devices still do not support SSL.

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    JohnnyBeGood
                    last edited by

                    kejianshi you are the man!

                    Its working now!

                    As suggested in that post, went to www.google.com/settings/security
                    and "Access for less secure apps" was turned off, turned it on and voila started working right away.
                    I searched google but never came across this setting.

                    Thanks again!

                    I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      kejianshi
                      last edited by

                      I did something right?  Must be my lucky day…

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        JohnnyBeGood
                        last edited by

                        @kejianshi:

                        I did something right?  Must be my lucky day…

                        You did a right thing by posting that link  ;)

                        I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          JohnnyBeGood
                          last edited by

                          @deltix:

                          Usually when I install new piece of hardware that supports email notifications I create for that specific customer new gmail account for notifications use only. Many times I need to do this to get it working properly

                          https://support.google.com/accounts/answer/6010255?hl=en

                          It's more reliable to use port 587 then 465. Many devices still do not support SSL.

                          Thanks!

                          I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            peter808
                            last edited by

                            The solution does not work if u have enabled "two-factor-authentification" (so we did) in your Google-Apps-account. The "apps-password" we have generated do not work, showing "Error: 535-5.7.8 Username and Password not accepted.".

                            We tried several different generated apps-passwords, no luck.

                            Any hints?

                            1 Reply Last reply Reply Quote 0
                            • K Offline
                              kejianshi
                              last edited by

                              Don't use two factor authentication?

                              1 Reply Last reply Reply Quote 0
                              • The Computer GuyT Offline
                                The Computer Guy
                                last edited by

                                @peter808:

                                The solution does not work if u have enabled "two-factor-authentification" (so we did) in your Google-Apps-account. The "apps-password" we have generated do not work, showing "Error: 535-5.7.8 Username and Password not accepted.".

                                We tried several different generated apps-passwords, no luck.

                                Any hints?

                                Have you tried setting up relay instances? There are limitations if you're on a dynamic IP, but they work well.

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

                                  @peter808:

                                  The solution does not work if u have enabled "two-factor-authentification" (so we did) in your Google-Apps-account. The "apps-password" we have generated do not work, showing "Error: 535-5.7.8 Username and Password not accepted.".

                                  We tried several different generated apps-passwords, no luck.

                                  Any hints?

                                  Hi
                                  I also have two  factor authentication enabled but unable to send email.
                                  I disabled it and enabled access to less secure apps now while m able to relay emails but all are landing in my Gmail address not in mailbox which I specified in  Notification E-Mail address. No email is being sent there. I tried multiple addresses.

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