Are Docker install event alerts via SSMTP possible or is Event Server required?
Posted: Mon Oct 26, 2020 9:54 pm
Love ZM!.... and now with Docker!! - appreciative of the genius and effort put into creating this fantastic application!
My question for the good people of the forum:
I had ZM running for several years (straight install/Lubunu) with email notifications; all worked fantastic.
Upgraded to Lubuntu 20 recently and now trying ZM on Docker and love it.. but cannot get email notifications to work via ssmtp.
Read a bunch but couldn't find a straight answer so hoping someone can help answer a likely silly question directly:
For email notifications to work on Docker 'install', can I use ssmtp or does Docker require Event Server?
Context:
My manual tests from CLI (eg echo "Hello, World" | mail -s "My email check" user@gmail.com) work fine so ssmtp config is good.
Followed instructions to set up ssmtp (https://wiki.zoneminder.com/How_to_get_ ... Zoneminder).
But when I try to send email alert via ZM (eg filter/email details of all matches).. I get error in ZM log: "Unable to send email: error closing /usr/lib/sendmail: (exit 256)"... and no email alert .
tail -f /var/log/syslog shows my successful manual CLI commands but nothing shows up regarding failed attempts via ZM.
Thanks so much for any insights!!
My question for the good people of the forum:
I had ZM running for several years (straight install/Lubunu) with email notifications; all worked fantastic.
Upgraded to Lubuntu 20 recently and now trying ZM on Docker and love it.. but cannot get email notifications to work via ssmtp.
Read a bunch but couldn't find a straight answer so hoping someone can help answer a likely silly question directly:
For email notifications to work on Docker 'install', can I use ssmtp or does Docker require Event Server?
Context:
My manual tests from CLI (eg echo "Hello, World" | mail -s "My email check" user@gmail.com) work fine so ssmtp config is good.
Followed instructions to set up ssmtp (https://wiki.zoneminder.com/How_to_get_ ... Zoneminder).
But when I try to send email alert via ZM (eg filter/email details of all matches).. I get error in ZM log: "Unable to send email: error closing /usr/lib/sendmail: (exit 256)"... and no email alert .
tail -f /var/log/syslog shows my successful manual CLI commands but nothing shows up regarding failed attempts via ZM.
Thanks so much for any insights!!