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

    Notification not sent

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 1.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.
    • T Offline
      tsmets
      last edited by

      I configured Notification with a "one time password / Application password" from Google, using googleMail SMTP server over TLS/SSL …

      The Logs contain trace that the mail have been sent (as indicated below)

      
      Sep 20 15:19:53 	php-fpm[92784]: /system_advanced_notifications.php: Message sent to Thomas.SMETS@******.eu OK
      Sep 20 15:19:42 	check_reload_status: Syncing firewall
      Sep 20 15:18:16 	php-fpm[78785]: /system_advanced_notifications.php: Could not send the message to Thomas.SMETS@******.eu -- Error: it was not possible to read line from the SMTP server: the server disconnected
      Sep 20 15:17:59 	check_reload_status: Syncing firewall
      Sep 20 15:08:55 	php-fpm[39424]: /system_advanced_notifications.php: Could not send the message to Thomas.SMETS@******.eu -- Error: it was not possible to read line from the SMTP server: data access time out
      Sep 20 15:07:47 	check_reload_status: Syncing firewall
      Sep 20 15:06:59 	php-fpm[96556]: /system_advanced_notifications.php: Message sent to Thomas.SMETS@******.eu OK
      

      but the mails never arrived …

      \T,

      ps : e-mail address has been anonymized for SPAM reason

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

        [quote]sent to Thomas.SMETS@******.eu OK
         but the mails never arrived ...
        [/quote]
        Normal.
        Your smtp server hung up:
        [quote]Error: it was not possible to read line from the SMTP server: the server disconnected[/quote]
        It didn't like receiver mails from your pfSense.
        
        See mail server logs for more details.
        

        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 0
        • T Offline
          tsmets
          last edited by

          @Gertjan
          I can understand that some of the mails did not leave based on some the trace shown but there are also some line that finished with "OK"

          ???
          Why didn't I receive something then ?

          \T,

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

            @tsmets:

            ….  but there are also some line that finished with "OK"
            ???
            Why didn't I receive something then ?

            The OK you mentioned is the result of some (pfSEnse) PHP scripting that managed to 'drop' the mail "in the circuit" on a lower level in pfSEnse.
            At that moment, pfSense considers the mail has been send.
            NEVER EVER event think that this means that the mail will be received ;)

            Many factors can make it happen that the mail won't make it.

            You should start by look at the log of the mail server (on your LAN ? somewhere on the Internet  ?) to see if the mail makes it up to there.

            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 0
            • T Offline
              tsmets
              last edited by

              My mail provider is Google.
              As I created an application password (16 characters), it reports some SMTP activity each time I push on send "TestMail". If I alter the password and resend a TEST mail … the System-log reports it all fine but the "Activity reported on the account" does not report any trace of the attempt.
              Fishy ...

              \T,

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