Page 1 of 1

v1.34.11 - Email works in command line but not zm

Posted: Tue May 12, 2020 1:27 pm
by vskatusa
Hi, I followed the guide https://wiki.zoneminder.com/How_to_get_ ... Zoneminder to setup SSMTP.

Please note that the command line works great.

But when I FORCE ALARM in one of the camera's I do not get an email.

Here is my configuration screenshot of options->email
https://pasteboard.co/J827lEu.jpg

Would appreciate some help!

Re: v1.34.11 - Email works in command line but not zm

Posted: Tue May 12, 2020 2:09 pm
by iconnor
You need to setup a filter to do the actual emailing. It isn't automatic.

Re: v1.34.11 - Email works in command line but not zm

Posted: Tue May 12, 2020 2:19 pm
by vskatusa
Thank you.
Here is the screenshot of a filter I have setup. Is this all I need?
https://pasteboard.co/J82spNo.jpg

Please find the error message "unable to send email: error closing /usr/lib/sendmail (exit 256) zmfilter.pl (screenshot included)
https://pasteboard.co/J82wnQK.jpg

Re: v1.34.11 - Email works in command line but not zm

Posted: Tue May 12, 2020 6:54 pm
by vskatusa
Solved! execute permission on ssmtp.conf solved it