NUT Package, how to Email notifications on Pfsense 2.3 ?
-
This is a minor defect, unrelated to NUT. It won't affect the notices.
I've submitted a PR to correct.
-
This is a minor defect, unrelated to NUT. It won't affect the notices.
I've submitted a PR to correct.
Is there a workaround to this issue? I really need to send email for notification of power outages.
-
Until a permanent fix is in place, you can work around it temporarily by adding a require to notices.inc:
-
Until a permanent fix is in place, you can work around it temporarily by adding a require to notices.inc:
Thank you, this worked. Now a new problem surfaces that seems odd:
php-cgi: mail.php: Could not send the message to myemail@gmail.com – Error: establishing SSL connections requires the OpenSSL extension enabledseems that root has OpenSSL but not when running from the apps. Oh, and I also piped "php -i" in the script and oddly enough "SSL => Yes" and the other appropriate lines of info about SSL does not exist as when I run this on the console.
-
Thanks Denny, merged that PR as it won't hurt.
But in this case, won't fix it either I guess. Yeah if you need SSL, then the root cause that was causing it to complain about gettext will make it not have OpenSSL as well. At a quick review it wasn't immediately apparent why it wasn't reading extensions.ini in that case. No way to work around that one for SSL support, the root cause of it not picking up extensions.ini will need to be fixed to address that.
-
This is disapointing. I Really need to be able to send messages for events on my firewall. I may try a workaround by forwarding the logs to a linux system and trigger emails from new log contents. That ins't too difficult as long as I can get the log info from the NUT package (and possible other packages) directly.
-
same issue here (2.3.3-DEVELOPMENT built on Sat Aug 06 00:03:02 CDT 2016 / NUT 2.7.4_1)
nut_email.php: Could not send the message to joe@abcd.com -- Error: establishing SSL connections requires the OpenSSL extension enabled
-
FWIW, the TLS issue has been tracked down:
https://forum.pfsense.org/index.php?topic=115349.msg646466#msg646466
-
That is a fix I can live with. Now, I have looked throught the github repos but do not know which repo to obtain the build from to install. I have a factory pfSense box.
Or, has the package install been fixed and can I install the NUT from the package list?
-
Or, has the package install been fixed and can I install the NUT from the package list?
Yes, package manager install was fixed Monday morning. Information in this thread: