Lucas Rey
Contributor
- Joined
- Jul 25, 2011
- Messages
- 180
Hello community, 7 years ago, I posted a question on how to send email from shell: https://forums.freenas.org/index.php?threads/send-email-from-shell.1227/
The solution, after several messages, was using msmtp and this worked perfect till FreeNAS 9. Now I updated to FN 11.1 and msmtp is not able to execute anymore due to missing several libraries. I have some scripts who check the zpool, lagg interface and so on, and in case something goes wrong, just send an email. Now the question is simple, how to send an email from shell using FreeNAS 11.1?
Thank you.
The solution, after several messages, was using msmtp and this worked perfect till FreeNAS 9. Now I updated to FN 11.1 and msmtp is not able to execute anymore due to missing several libraries. I have some scripts who check the zpool, lagg interface and so on, and in case something goes wrong, just send an email. Now the question is simple, how to send an email from shell using FreeNAS 11.1?
Thank you.