Notification not sent



  • 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



  • [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.
    


  • @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,



  • @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.



  • 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,


Log in to reply